WordPress.org

Support

Support » Themes and Templates » Mantra » Relative date – how to set in Mantra

Relative date – how to set in Mantra

  • 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

  • The topic ‘Relative date – how to set in Mantra’ is closed to new replies.
Skip to toolbar