ThemeShaper Forums » Thematic

Conditional Tags for blog page

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

    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:

    is_single()
    
    is_page()

    and for the front page i would use

    is_front_page()

    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

    is_page(blog)

    but no luck...

    J

    Posted 5 years ago #
  2. is_home() http://codex.wordpress.org/Conditional_Tags

    Posted 5 years ago #
  3. Jamie Mitchell
    Member

    Well there you go...

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

    thankyou Master

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

    Posted 5 years ago #
  5. snack
    Member

    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:
    http://forums.themeshaper.com/topic/how-to-parse-what-type-of-page-im-on?replies=1#post-4049

    Posted 4 years ago #

RSS feed for this topic

Reply

You must log in to post.