Creation and update date of a page

Hello,

The format I want is creation (Fecha de creación:) and update date (actualizado el:)at the end of the page, not at the begining. I must add the code to every page.

The only solution I found is to add the values using columns, see the code underneath:

Nevertheless, in Mobile the content of the columns is splitted and the result really awful.


CODE GENERATED:

<!-- wp:group {"layout":{"type":"flex","flexWrap":"nowrap"}} -->

<div class="wp-block-group"><!-- wp:paragraph {"fontSize":"small"} -->

<p class="has-small-font-size"><strong>Fechas creación :</strong></p>

<!-- /wp:paragraph -->


<!-- wp:group {"fontSize":"small","layout":{"type":"flex","orientation":"vertical"}} -->

<div class="wp-block-group has-small-font-size"><!-- wp:columns -->

<div class="wp-block-columns"><!-- wp:column {"width":"100%"} -->

<div class="wp-block-column" style="flex-basis:100%"><!-- wp:post-date {"fontSize":"small"} /--></div>

<!-- /wp:column --></div>

<!-- /wp:columns --></div>

<!-- /wp:group -->


<!-- wp:paragraph {"fontSize":"small"} -->

<p class="has-small-font-size">; <strong>actualizado el</strong>:</p>

<!-- /wp:paragraph -->


<!-- wp:group {"layout":{"type":"flex","flexWrap":"nowrap"}} -->

<div class="wp-block-group"><!-- wp:post-date {"displayType":"modified","fontSize":"small"} /--></div>

<!-- /wp:group --></div>

<!-- /wp:group -->


https://justearte.com/vlb-memorias-v1/c01/

Is there is a way to get a best result, publishing creation and updated dates at the end of the page without colums, all in a row, as "Creation date: XX-XX-XX; last updated: XX-XX-XX"?

Comments

  • Hi,

    Why don't you use BeBuilder to create content for the post?

    With it, you can set the layout any way you want and easily adjust the mobile view.

    https://support.muffingroup.com/video-tutorials/responsive-editing-in-bebuilder/


    Best regards

  • It is indeed a good suggestion.

    I am using Betheme editor for main pages and covers but I must write more than one thousand pages and hundreds of portfolio entries for an online book in relative short time.

    Editing "normal pages" with Betheme, even if the result is wonderful, it took me much more time than normal edit.

    Right now, I need to find solutions to have a good result with less time.

    This is the reason because I must combine both types of edition.

  • It is understandable. However, this is a problem with the WP Editor in that it does not have responsive editing.

    I would like to help you with that with a custom CSS code, but this part of your post does not have any unique class or ID, so writing a CSS could affect other parts of your post or other posts.

    If you add a class to this part, I might be able to help you.

    Best regards

Sign In or Register to comment.
This website uses cookies

We use cookies to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners who may combine it with other information that you’ve provided to them or that they’ve collected from your use of their services.

Cookies are small text files that can be used by websites to make a user's experience more efficient.

The law states that we can store cookies on your device if they are strictly necessary for the operation of this site. For all other types of cookies we need your permission. This means that cookies which are categorized as necessary, are processed based on GDPR Art. 6 (1) (f). All other cookies, meaning those from the categories preferences and marketing, are processed based on GDPR Art. 6 (1) (a) GDPR.

This site uses different types of cookies. Some cookies are placed by third party services that appear on our pages.

You can at any time change or withdraw your consent from the Cookie Declaration on our website.

Learn more about who we are, how you can contact us and how we process personal data in our Privacy Policy.

Please state your consent ID and date when you contact us regarding your consent.