Navigation
This is archived content. Visit our new forum.
  • Author
    Posts
  • #683245
    Lely
    Moderator

    Hello Branton,

    Above code should do that. If the post or page is not yet modified, the modified date is the same as the creation date. Please refer to this:https://codex.wordpress.org/Function_Reference/the_modified_date

    Hope this helps.

    #683776
    blmg1
    Participant
    This reply has been marked as private.
    #684079
    Jade
    Moderator

    Hi there @blmg1,

    Kindly add a Raw Content element and use the [recent_post] shortcode instead of using the Recent Post element in Cornerstone.

    You can try this code:

    [recent_posts count="4"]

    Please make sure to clear your cache after you’ve done the changes.

    Hope this helps.

    #686486
    blmg1
    Participant

    How do I specify which categories I would like displayed using the shortcode?

    #687197
    Friech
    Moderator

    Hi There,

    recent posts shortcode has a category property for you to specify what category you want to show.

    e.g.
    [recent_posts count="4" category="somecategory"]

    You can learn more about recent posts shortcode here

    Hope it helps, Cheers!

  • <script> jQuery(function($){ $("#no-reply-180023 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>