Support » Plugin: Ultimate Category Excluder » [Plugin: Ultimate Category Excluder] Multiple category posts and cat exclusion

  • I really like your Ultimate Category Exclusion plugin. It does what i’ve tried to do manually editing functions.php and index.php files and such, but its clean and effective.

    However, i ran into a problem that is described here in this forum post http://wordpress.org/support/topic/exclude-category-from-the-loop by this guy Austin. Actually its just something he mentions:

    “Okay, I see what you’re saying. The problem is that something like query_posts(“cat=-3″); excludes a post of category 3 only if that post is under just category 3. If you’ve assigned it other categories, then it’s not excluded.”

    Exactly what he doesn’t want is what i want. That means: I dont want posts that are exclusively in category 1 to show in the index loop, however, if this post is in categories 1 and 2, i do want it to show.

    Do you have any way to implement that on your plugin, or do you have a suggestion of how I could fix my problem?

    Thanks a lot.

    http://wordpress.org/extend/plugins/ultimate-category-excluder/

Viewing 3 replies - 1 through 3 (of 3 total)
  • hakonorri

    (@hakonorri)

    I would like to see the same feature as #macrosmyara. Any suggestions?

    Macrosmyara have you found anything?

    Pereira

    (@marcosmyara)

    hakonorri, that was a long time ago. From what i remember, i just did’nt use the plugin anymore, and I made the exclusion manually using:

    <?php $paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
         query_posts("cat=1,4,5&paged=$paged"); ?>
    hakonorri

    (@hakonorri)

    looks promising but my php skills are not that good. where do you put the code? in index.php?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: Ultimate Category Excluder] Multiple category posts and cat exclusion’ is closed to new replies.