show 1 post in parent category (34 posts)

  1. Jacob Chappell
    Posted 4 years ago #

    Alrighty, let's try this. Can you disable all of your plugins (temporarily) and then visit one of the parent category pages to see if it's working now?

    If so, one of your plugins is causing this. You can find out which one by enabling them one at a time and checking the category page again after each new plugin is enabled. Eventually, you'll find the plugin that's responsible for the break and we can go from there.

    If disabling the plugins doesn't fix it, then I'm afraid I don't really know anything else to do. :/

  2. amandach
    Posted 4 years ago #

    So I disabled all plugins and it's still not working. The only thing I can think of is that the php calling the categories in the sidebar -

    <?php wswwpx_fold_category_list ("hide_empty=0"); ?>

    is causing the issue?

  3. Jacob Chappell
    Posted 4 years ago #

    Well I'm actually surprised that isn't causing your page to error out. If the plugin is disabled then that function shouldn't be defined anymore. You could try commenting it out and just see if it will change anything, but at this point I just don't know.

    There has to be some variable that's missing here. Something to do with your theme perhaps. As a last resort, could you try switching to a different theme (like WordPress's default Twenty Eleven) and then creating a category template there? If you want to try that, you'll need to paste your category.php template for that theme so I can make the necessary modifications.

    At least then (if it works) we'll know the issue was with the theme's integration with the code and not necessarily the code itself.

  4. amandach
    Posted 4 years ago #

    I did get an error but I was already on the category URL so I just refreshed the page and it didn't work.

    I'll install another theme and copy my styles there. Thanks, Ill keep you posted!

Topic Closed

This topic has been closed to new replies.

About this Topic