WordPress.org

Ready to get started?Download WordPress

Forums

Which condition to call posts in blog? (2 posts)

  1. matius
    Member
    Posted 3 years ago #

    If is_single() is used for a single blog post, what should I use for posts as there is no 'is_post()'?

    I'm trying to insert elements via functions.php in my child theme.

    Thanks-

  2. MichaelH
    Member
    Posted 3 years ago #

    Look at some of the other Conditional Tags such as is_archive or is_category or is_page.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.