WordPress.org

Ready to get started?Download WordPress

Forums

Smart WYSIWYG Blocks Of Content
Conditional display smart block? (1 post)

  1. smlombardi
    Member
    Posted 1 year ago #

    Is there a way to display a particular smartblock based on the page/post ID or slug via the page.php template of a page?

    Say I make a series of blocks, one for each product on my site. I want to make a template for product display that pulls in the correct smart block depending on which page is currently being displayed in the template.

    So the "power tools" page (either by its slug "power-tools" or its ID) will call the smartblock I have designated for power tools. Possible?

    http://wordpress.org/extend/plugins/smart-wysiwyg-blocks-of-content/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic