Open mihaelsh opened 7 years ago
In configuration of Magento 2 shows this info - Add code below to a template file $this->getLayout()->createBlock("Magestore\Bannerslider\Block\SliderItem")->setSliderId(your_slider_id)->toHtml(); Where need to insert it in?
@mihaelsh inside phtml file
echo $this->getLayout()->createBlock("Magestore\Bannerslider\Block\SliderItem")->setSliderId(189)->toHtml();
In configuration of Magento 2 shows this info - Add code below to a template file $this->getLayout()->createBlock("Magestore\Bannerslider\Block\SliderItem")->setSliderId(your_slider_id)->toHtml(); Where need to insert it in?