Close

Account

Documentation

Forum

Menu

LInk date to archive pages

  • Post count: 1
    bizreport
    November 14, 2017 at 8:36 am #25427

    How can we link the date (in articles/posts, main/category pages, etc) to date/month archive pages?

    The date-based archive pages exist, but they are not linked from anywhere. Currently, the date links to the article/post itself.

    Post count: 6417
    Adek
    November 15, 2017 at 12:58 am #25439

    Hi bizreport,

    In this case, to achieve that will need to do some changes in there. May i know which post element that you want to implement this thing? so we can give you the changes code.

    Thank you

    Post count: 1
    bizreport
    November 15, 2017 at 8:37 am #25462
    This reply has been marked as private.
    Post count: 6417
    Adek
    November 16, 2017 at 2:51 am #25482

    Hi Andrei,

    To achieve that, please try to follow this instruction below :

    1. Please use JNews Child Theme on your site, so when you’re going to update the theme to next version, the changes that you’ve been made won’t lost.

    2. Please put this code below on the functions.php (child theme) :

    3. Please make a new folder on child theme like this jnews-child/fragment/post/ then put this file on that folder :
    https://pastebin.com/7NhmWhp5 (meta-post-1.php)
    https://pastebin.com/mK02dJiL (meta-post-2.php)

    Let us know if you need further help in there.

    Thank you

You must be logged in to reply to this topic.