WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. stuudio
    Member
    Posted 10 months ago #

    Lets say we have images (or articles) displayed as

    A----B----C----D...

    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
    Member
    Posted 10 months 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?
    How?

    Thank you.

  3. Andrew
    Forum Moderator
    Posted 10 months 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
    Member
    Posted 10 months ago #

  5. stuudio
    Member
    Posted 10 months 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
    Member
    Posted 10 months 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.

Reply

You must log in to post.

About this Theme

About this Topic