Home Forums WordPress Themes – Premium Celestial (Celestial Reloaded) Show Last modified date in posts

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #15330
    Trine Handskemager
    Participant

    How can I show the last modified date in my blog post, next to the original date?
    And maybe the category, I saw you did that in a blog post.

    #20199
    Sushil Adhikari
    Moderator

    Is this for the older Celestial theme or Celestial Reloaded?

    #20201
    Trine Handskemager
    Participant

    For Celestial. I think I have the newest version.

    #20202
    Sushil Adhikari
    Moderator

    With Celestial, you will get the published (created) date on the blog summary view, but also the full post view. Then as for your modified date, this shows below the post (providing you update the post). But if you want this in the post summary as well next to the published date, you will need to modify the content.php file (found in the folder “partials” with the code from the content-single.php file there:

    <?php _e( 'Last Modified: ', 'st' ); ?>

    You will probably have to edit the styles for it, but that can be done with doing custom CSS.

    #20203
    Trine Handskemager
    Participant

    I am a little confused now. I thought I had the Celestial theme, but if I open it (normally I just use a child theme) it says Celestial Reloaded. It is the paid theme.

    #20206
    Sushil Adhikari
    Moderator

    That changes things a bit….I just moved this topic to the Celestial Reloaded forum.
    On Celestial Reloaded, there is no “Modified” date on the demo site…where did you see this that you mentioned?
    You might be able to use the code I pasted above though and put that right after this code in the content.php file:

    #20221
    Trine Handskemager
    Participant

    Sorry about the confusion, I wasn’t aware of the third version of Celestial.
    The code worked just like I wanted it. Thank you!

    I saw that you showed the category here https://www.styledthemes.com/blog/273-how-you-purchase-single-themes-is-changing

    #15331
    Sushil Adhikari
    Moderator

    Good to hear the code worked.
    Also, not quite sure what you are pointing to on my article I posted?

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.