Support » Theme: Zenzero » How to reverse post navigation

  • Resolved bensontel2

    (@bensontel2)


    I want to reverse the navigation direction to align with the reverse post order so previous becomes next. I’m using Simple Custom Post Order Plugin but I tried a different reverse-order plugin and that, too, didn’t affect the navigation order. I’m telling a story so I want to start and the beginning and cycle through each episode.
    Is there a snippet I can use? I’m using a child of zenzero.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 16 through 18 (of 18 total)
  • Thread Starter bensontel2

    (@bensontel2)

    CSS Changes are updated immediately, though.

    Thread Starter bensontel2

    (@bensontel2)

    I had to edit the original template-tags.php in the theme because the one in the child theme had no effect. (why? Permissions are 0644.) I put this file in my child theme but when it didn’t work I put it in /inc but that made no difference.

    I needed to change the wording from Previous Post in the esc_html__( ).
    I also switched the angle icon from right to left in the additional CSS from the font-awsome.min.css folder.

    .fa-angle-left:before {
      content: "\f105";
    }
    .fa-angle-right:before {
      content: "\f104";
    }

    Thanks for your patience.

    • This reply was modified 3 years, 6 months ago by bensontel2.
    Thread Starter bensontel2

    (@bensontel2)

    I copied the zero-post_nav function from template-tags.php (which wasn’t updating in my child theme) to functions.php in my child theme and it worked.

Viewing 3 replies - 16 through 18 (of 18 total)
  • The topic ‘How to reverse post navigation’ is closed to new replies.