WordPress.org

Support

Support » Plugins and Hacks » query for specific post-template() on index.php?

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

  • 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?

  • The topic ‘query for specific post-template() on index.php?’ is closed to new replies.
Skip to toolbar