Support » Theme: Twenty Thirteen » Navigation within the same category

  • I want to add ‘Previous in category’ to the 2013 theme previous_post_link navigation found within the functions.php starting on line 256.
    Can anyone integrate into 2013?

    <?php previous_post_link('%link', 'Previous in category', TRUE); ?>

Viewing 10 replies - 1 through 10 (of 10 total)
  • Do not edit the Twenty Thirteen theme. It is the current default WordPress theme and having access to an original, unedited, copy of the theme is vital in many situations. First create a child theme for your changes.

    Thread Starter oelja

    (@oelja)

    Thanks for that. I am already creating a child theme but did not mention, any advice on the issue at hand?

    You will need to start creating your own custom version of the twentythirteen_paging_nav() in your child theme’s functions.php file.

    Thread Starter oelja

    (@oelja)

    Thanks, preserving the same navigation with the addition of previous_in_category in a child theme is my intent. I was hoping someone would have a suggestion on how to incorporate it within twentythirteen_paging_nav().

    Not interested in changing the look, only this functionality.

    That’s what the child theme’s version of this function would be doing – changing the functionality. That is the only way to do it.

    Thread Starter oelja

    (@oelja)

    Not look .. only functionality 🙁
    Reading me wrong, :/

    That’s what I said.

    Thread Starter oelja

    (@oelja)

    Any suggestions?

    Sorry? Suggestions for what?

    Thread Starter oelja

    (@oelja)

    Sorry wasn’t responding to you sir :0, but to others who may be in my position.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Navigation within the same category’ is closed to new replies.