WordPress.org

Ready to get started?Download WordPress

Forums

Mantra
Relative date - how to set in Mantra (1 post)

  1. eldenroot
    Member
    Posted 1 year ago #

    Hi,
    I would like to set my plugin for realtive day (show 10minutes ago, 2 days ago, etc.)

    but I cannot find the line in the theme where to add extra line. I need it to, becuase without this it is not working...

    Example - in these files I had to replace one line, but I cannot find it

    single.php, index.php, comments.php and page.php
    1
    <?php the_date(); ?>
    Replace it with:
    1
    <?php relative_post_the_date(); ?>

    So is possible to add this feature to the next version of Mantra, or a least help me how to make it working? Thank you

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic