Here is a shortcode which could add in you magento 2 CMS pages to display your custom file functionality.

 

{{block class=”Vendor\ModuleName\Block\BlockName” template=”Vendor_ModuleName::yourcustomblockfile.phtml”}}

Please login or Register to submit your answer
Not the answer you are looking for? Browse other questions tagged or ask your own question.