Title: Conditional based on template?
Last modified: November 29, 2019

---

# Conditional based on template?

 *  Resolved [Luke Carbis](https://wordpress.org/support/users/lukecarbis/)
 * (@lukecarbis)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/conditional-based-on-template/)
 * It would be great if a block could be conditional based on whether it’s being
   showed on an archive page (e.g. all posts, search, category listing, etc.) or
   single view.
 * This would let me, say, hide an embed from appearing on the blog page, but be
   visible when you click through the read the full article.

Viewing 1 replies (of 1 total)

 *  Plugin Author [Morgan Hvidt](https://wordpress.org/support/users/morganhvidt/)
 * (@morganhvidt)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/conditional-based-on-template/#post-12187368)
 * Hi Luke!
 * I agree, that would pretty cool. Make sure to look into it for a future update
   😄

Viewing 1 replies (of 1 total)

The topic ‘Conditional based on template?’ is closed to new replies.

 * ![](https://ps.w.org/conditional-blocks/assets/icon.svg?rev=3115006)
 * [Conditional Blocks - Advanced Content Visibility Control for WordPress](https://wordpress.org/plugins/conditional-blocks/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/conditional-blocks/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/conditional-blocks/)
 * [Active Topics](https://wordpress.org/support/plugin/conditional-blocks/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/conditional-blocks/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/conditional-blocks/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Morgan Hvidt](https://wordpress.org/support/users/morganhvidt/)
 * Last activity: [6 years, 6 months ago](https://wordpress.org/support/topic/conditional-based-on-template/#post-12187368)
 * Status: resolved