• Resolved LJ902

    (@lj902)


    Hi Scribu

    Wonder if you can help? I’m developing a new site that uses QMT and in essence it’s built in the same way as a previous site I made that uses the plugin. I have three taxonomies that the user can filter through – results are dished up using taxonomy.php.

    All of this works fine on the existing site but on my new site for some reason the widget just refuses to show up on the taxonomy page. The widget title displays but the dropdowns and submit/reset links do not. The widget displays just fine on the initial custom page template and on single posts It also serves up the correct results though of course the user cannot change their filter options once on the taxonomy archive as the widget isn’t showing properly.

    I’ve tried everything i can think of including:

    Switching off all other non-vital plugins (e.g. all except for custom post type UI)

    Switching to 2010 – again same problem with this theme which makes me think it’s not my coding (this time!)

    stripping out the conditional logic I had in taxonomy.php (this template was going to be used to display taxonomy archives from a different set of custom taxonomies),

    dropping the widget are directly into the taxonomy.php template to rule out and sidebar problems

    double checking all the custom reset stuff in functions.php (even removing it entirely at one point.

    Going to keep looking but if there’s anything in particular you can think of that might be causing this I’d be very grateful for any pointers

    Cheers!

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

    (@scribu)

    Try switching to lists mode and see if that helps.

    Thread Starter LJ902

    (@lj902)

    Thanks for suggestion Scribu – unfortunately it didn’t get me too far. In list mode the reset button appears when on a page using taxonomy.php but still nothing else. I’ve made sure that I’m choosing a taxonomy that has terms with several posts associated with them for testing (so basically it’s not a case of there being no posts for a particular term)

    The fact that I have the exact same problem on 2010 as I do in my own theme suggests that maybe its got something to do with my taxonomies or custom post types. They’re set up using custom post type UI. Seeing as I’ve got another site with the exact same setup and everything s working there has me a bit stumped.

    Don’t suppose you can think of anything else? Anyone else report similar problems? I did scour the first few pages of the forum but couldn’t see many examples of the same issue.

    Plugin Author scribu

    (@scribu)

    The issue was with custom post types. Should be fixed in version 1.5.1.

    Thread Starter LJ902

    (@lj902)

    Grand – thanks again Scribu, much appreciated! : )

    Thread Starter LJ902

    (@lj902)

    Hi Scribu

    I thought your recent 1.5.1 fix had resolved this problem but it seems there is still an issue with the widget disappearing. It’s certainly working better than it was – now when the user selects one or more taxonomy terms with matching posts, the posts are displayed along with the widget.

    However, I’m finding that if the user selects a combination of taxonomy terms and there isn’t a post to match them, I get my taxonomy display message for no posts (as expected) but the widget only displays the title – the dropdowns, submit button and reset link all disappear.

    I’m running 1.5.1 for the plugin and wordpress 3.2. I’ve switched to 2010 and disabled all non essential plugins (like custom post type UI) and I get the same problem so it’s not my theme. I’ve switched to lists and that works fine (though by the nature of the list view, you can’t filter down to no posts)

    Any idea if this is related to the similar issue above? Perhaps something to do with upgrading to wordpress 3.2?

    Many thanks

    Plugin Author scribu

    (@scribu)

    I’ve tried to reproduce the error you mentioned, with and without custom post types involved and I can’t reproduce it.

    Maybe the template that’s loaded on a 404 includes a different sidebar.

    Thread Starter LJ902

    (@lj902)

    Yeah – I thought that to start with but in my theme it’s definitely the taxonomy.php template that’s loaded when there are no posts and on 2010 it’s definitely the archive.php that’s loaded.

    In either case the widget title shows up which (i would think) suggests that the right sidebar is being loaded.

    I’ve noticed that on another clients live site where I’m using the plugin I’m getting the same problem. Don’t know if would help you identify what’s going on but here’s the URL. It’s a pretty simple set up – two custom taxonomies attached to a custom post type (resources).

    If you choose ‘ITF publications’ for ‘resource type’ and ‘business and commerce’ for ‘resource subject’ (there a re currently no posts that match both of these terms) you can see what I’m getting at. I don’t get a 404 – it displays the taxonomy page and the message that I set up in my else: statement in the loop. It also shows the widget name in the sidebar but no resources underneath.

    This is the same issue that I’m seeing on the site I’m developing on both my own theme and on 2010. Might see if I can replicate it on a clean install now but if you have any new insights given the above ramble then let me know! Thanks

    Plugin Author scribu

    (@scribu)

    Ah, I can reproduce it with 1.5.1, but not with the Development Version (1.6-alpha).

    Thread Starter LJ902

    (@lj902)

    Awesome – that’s now working just fine on my dev site. I see you’ve got checkboxes in 1.6 too – looking forward to taking them out for a spin!

    Top work as always Scribu – thanks again!

    Plugin Author scribu

    (@scribu)

    Good.

    NB: Checkboxes don’t work yet.

    Thread Starter LJ902

    (@lj902)

    That’s OK – I can exercise a little patience on that one!

    thirstcard

    (@thirstcard)

    @lj902,

    I can also replicate this with v 1.5.1, WP 3.3.1.

    As Scribu said, the problem does not happen with 1.6-alpha (the version I am running right now).

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Widget does not display on taxonomy.php’ is closed to new replies.