I'm using an index.php file under /pub/custom folder, which is used to create custom designs.
Is there any way to include current theme header and footer to this file?
https://example.com/custom/ should include the header and footer from
There are so many answers for Magento 1, but I couldn't find anything for Magento 2.
I'm using version 2.1.15. and Porto theme.
Any help would be appreciated! Thanks.