Viewing 3 replies - 1 through 3 (of 3 total)
  • If the widget doesn’t include any option to exclude categories, try using the Widget Logic plugin.

    Thread Starter Adam

    (@jak007)

    thanks. i’m not sure if this plugin can resolve the problem.
    i’d like one of my categories to be completely removed from the query, because this category include slide posts.

    can i still do it using this plugin? what’s the code to include then?

    That plugin allows the use of Conditional Tags. To exclude a certain category you would use the following code:

    ! in_category(1) // where the number is the category id

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Exclude category from recent post widget’ is closed to new replies.