ThemeShaper Forums » Thematic

Conditional Tags for blog page

(5 posts)
  • Started 11 years ago by Jamie Mitchell
  • Latest reply from snack
  • This topic is resolved
  1. Jamie Mitchell

    hey all...

    Does anyone know what conditional tag to use to represent the blog page in wordpress when i have it set as an internal page and the front page as static.

    just as an example the conditional tag for a single and a page is:


    and for the front page i would use


    but what about the blog page (which uses the index.php)?

    in the thematic body class for the blog it reads

    wordpress y2009 m03 d21 h12 blog loggedin windows firefox ff3

    so i tried


    but no luck...


    Posted 11 years ago #
  2. is_home()

    Posted 11 years ago #
  3. Jamie Mitchell

    Well there you go...

    i just assumed the is_home would go to to the front page too...

    thankyou Master

    Posted 11 years ago #
  4. No problem. :) is_home() and is_front_page() are confusing.

    Posted 11 years ago #
  5. snack

    i'm trying to do something similar. and i just replied here to talk about it. but then i realized this thread is 'resolved'. i moved my question here:

    Posted 11 years ago #

RSS feed for this topic


You must log in to post.