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?
- The topic ‘Conditional display smart block?’ is closed to new replies.