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

  1. smlombardi
    Posted 3 years 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?


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Smart WYSIWYG Blocks Of Content
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic