• Hi,

    How can I show just 1 post in the parent category and all the other posts (excluding the one showing in the parent category) in the child category? I’m breaking my head trying to figure this out and need some help.

    Thanks

Viewing 3 replies - 31 through 33 (of 33 total)
  • Thread Starter amandach

    (@amandach)

    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?

    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.

    Thread Starter amandach

    (@amandach)

    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!

Viewing 3 replies - 31 through 33 (of 33 total)
  • The topic ‘show 1 post in parent category’ is closed to new replies.