Quantcast
Channel: WordPress.org Forums » All Posts
Viewing all articles
Browse latest Browse all 112476

Sam-30 on "Conditional tags"

$
0
0

I use a plugin to show widgets on a page or post I want and don't want.
(widget logic)

I have done some reseach about conditional tags, and I now a little now.
But got 2 questions.

The following tag:
is_single ( array (43842,43846, 43849) ) && in_category( '388' )
This tag shows a widget in 3 posts of 1 categorie.

- What do I have to change when I don't want to show te widget in that 3 posts, so it shows anywhere accept those 3 posts?

- And what if I have also 2 other posts in a other categorie?

Cheers,
Sam


Viewing all articles
Browse latest Browse all 112476

Trending Articles