• Resolved Sam

    (@samaresh)


    Hi,

    On the single post page above the comment box I can ass the related post as next and previous. Can we restrict it with a category, now it is going from one post category to another.

    Kindly help.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello @samaresh,
    Thank you so much for using our theme SuperMag. As per your questions, related post are appeared there with the same category whereas previous and next post are appeared as the order of post published. If you want to navigate the previous and next post within the same category, you need to customize the theme. Please have a look in the codex to know about the post navigation function and customize it as your need.
    For dedicated support, please visit theme support forum here.
    Regards

    Thread Starter Sam

    (@samaresh)

    Hi,

    Thank You for your response !!

    I couldn’t anything from the link you have suggested, Can you please help me to understand the file location and the modification required for you theme !!

    Hello @samaresh,
    You need to customize the the_post_navigation() function of single.php file.
    If you have better knowledge about WordPress codes, you can customize the theme as your need. https://developer.wordpress.org/reference/functions/the_post_navigation/ If you are not able to do it, you can contact the theme developer team for more help.
    Regards

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Restrict Post Navigation Within The Category’ is closed to new replies.