Magento 2 Adding a custom block template to CMS page

by Howliee   Last Updated September 18, 2018 10:09 AM

I'm struggling including my custom module/block template into a static CMS page.

Here's my block code:

<block class="Magento\Framework\View\Element\Template" name="custom_slider_block" template="Custom_Slider::slider.phtml" />

How would I implement this in a static CMS page?



Related Questions



Magento 2 - controller block not displaying template

Updated November 10, 2017 21:09 PM