• OK, so I’m working on a complex site that has 4 custom post types and 5 custom taxonomies.

    I have installed this plugin, modified single.php, and verified that it works to keep the pre/next within a given category if that post is opened from the category list. It also works for tags.

    What I have found, however, is that it doesn’t work when trying to stay within a custom taxonomy: if I go from a taxonomy archive page (taxonomy.php) the prev and next links do not stay within that taxonomy. Further, it looks like the excluded-cat isn’t working either.

    I’m happy to work with you to fix this error, as it sounds like it should work. Perhaps the CT archive page ins’t recognized as such, and is therefore not triggering the cookie write?

    …Mike

    http://wordpress.org/extend/plugins/smarter-navigation/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author scribu

    (@scribu)

    I really couldn’t tell you what’s going on, without looking at your code.

    It works fine with custom taxonomies on my site.

    If it turns out that the error is in the plugin, pull requests welcome at https://github.com/scribu/wp-smarter-navigation

    Thread Starter theMikeD

    (@themiked)

    I’d love your help! Hopefully it’s something obvious. LMK of a good spot to send the site link to and what I’m seeing that isn’t working. It’s on a testing server atm. Or you can msg me at
    the dot miked at ymail dot com.

    Plugin Author scribu

    (@scribu)

    I guess I wasn’t clear in the last message; let me try again:

    “I really couldn’t tell you what’s going on, without looking at your code”… and I really don’t have time to dig through what sounds like a complex codebase. Sorry.

    Thread Starter theMikeD

    (@themiked)

    Fair enough. Can you tell me then how it knows that it’s on a custom taxonomy archive page, and should therefore use that in it’s calculations?

    Plugin Author scribu

    (@scribu)

    It doesn’t do any special checks for custom taxonomies. It just always saves the current query (unless it’s on a singular page):

    https://github.com/scribu/wp-smarter-navigation/blob/master/main.php#L24-26

    I got the same issue, i chose this plugin because i want the next and previous pagination according to the taxonomy but no gain.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Not working with custom taxonomies’ is closed to new replies.