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”}}

Your Answer
Sign In
Enter email and password to comment or answer
Not the answer you are looking for? Browse other questions tagged or ask your own question.