WordPress.org

Ready to get started?Download WordPress

Forums

What is_page do I use for my Posts Page (2 posts)

  1. Swennet
    Member
    Posted 2 years ago #

    I have a static front page on my wordpress blog and a different 'blog' page set as the Posts Page.

    I'm also using the is_page reference to create breadcrumbs on my pages. However I can't figure out what is_page I have to use.

    My blog page is named Blog and I'm using my custom blog.php template for that page. However

    is_page('blog')

    doesn't seem to work.

    Please help!

  2. Jackson
    Member
    Posted 2 years ago #

    is_home()

Topic Closed

This topic has been closed to new replies.

About this Topic