• Resolved l3monade

    (@l3monade)


    Hi all,

    I need some help with some conditional tags

    Basically I’m working on a site that needs a whole bunch of content (images,text..etc) on only the frontpage. This is fine… I can use the is_front_page tag and it works great. On another single page I need another whole set of content which is also easy to do using the is_page tag.

    For all the other pages and categories I want one last set of content. Is there any way to do this without setting separate conditional tags for each category and page? I have about 25 categories and 10 pages. And the content I want to include is about 20 divs so it’s a lot of code to write.

    is there something like is_not_fontpage and is_not_page()? haha

    Any help would be great!

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘multiple is_categoy and is_page ?’ is closed to new replies.