Back and forward (>) are mixed up (6 posts)

  1. stuudio
    Posted 2 years ago #

    Lets say we have images (or articles) displayed as


    If you are viewing "B", where do you expect to end up, if you click ">>"?
    I expect to end up in "C" an not in "A"

    Can this be fixed? How?

    Thank you.

  2. stuudio
    Posted 2 years ago #

    looks like the mix-up happens in /wp-content/themes/spun/inc/template-tags.php, starting from "// navigation links for single posts" and it is really easy to fix (until next update)

    Can someone tell me, how to make this fix permanent?
    Can I use child theme for this?

    Thank you.

  3. Andrew Nevins
    Forum moderator
    Posted 2 years ago #

    Make a Child Theme: http://codex.wordpress.org/Child_Themes

    Within the Child Theme folder create a folder named, "inc".

    Copy the 'template-tags.php' file from Spun and paste it into your Child Theme "inc" folder.

    Then modify that 'template-tags.php' file (from within your Child Theme inc folder).

  4. stuudio
    Posted 2 years ago #

  5. stuudio
    Posted 2 years ago #

    BTW, there is still something strange happening with images if you make a gallery and then change the image order in the gallery.
    "Previous" and "next" are using the gallery original order and not the order as images are displayed on the page.

    Uploaded images as:
    A, C, B
    changed the order to A, B, C
    if viewing A, ">>" sends me to C and not to "B" as expected. <- edited, to make it clear

  6. crooke
    Posted 2 years ago #

    I'm having this same problem. I am quite new to all of this, so while I've made a child theme and have a new template-tags.php file in it, I can't figure out how to alter the php in a way that fixes it.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic