WordPress.org

Ready to get started?Download WordPress

Forums

query for specific post-template() on index.php? (1 post)

  1. sepp88
    Member
    Posted 3 years ago #

    hey guys,
    I'm using the custom-post-templates plugin which works just fine. The plugin provides an equivalent to is_page_template() -> is_post_template().

    This works fine when I'm on a posts-page. However imagine I'm listing multiple posts on my frontpage (just like a normal blog) and I want to query what post-template each post has.

    Is that possible?

Topic Closed

This topic has been closed to new replies.

About this Topic