PHTML file is located in Magento_Theme/templates/html/breadcrumbs.phtml.
I tried with the code
{{block class="Magento\Framework\View\Element\Template" template="Magento_Theme::html\breadcrumbs.phtml"}}
but it is giving error
Magento Stack Exchange is a question and answer site for users of the Magento e-Commerce platform. It only takes a minute to sign up.
Sign up to join this communityThere is a typo in your template path
it should be:
{{block class="Magento\Framework\View\Element\Template" template="Magento_Theme::html/breadcrumbs.phtml"}}
Note: Use forward slash /
Custom file path
app/design/frontend/{Package}/{theme}/Magento_Theme/templates/html/test.phtml
calling in xml layout file
<block class=""Magento\Framework\View\Element\Template"" name=""test_file"" template=""Magento_Theme::html/test.phtml""/>
Calling in blocks and cms pages
{{block class=""Magento\Framework\View\Element\Template"" name=""test_file"" template=""Magento_Theme::html/test.phtml""}}
Calling in any phtml file
<?php include ($block->getTemplateFile('Magento_Theme::html/test.phtml')) ?>
OR, as before
<?php echo $this->getLayout()->createBlock(""Magento\Framework\View\Element\Template"")->setTemplate(""Magento_Theme::html/test.phtml"")->toHtml();?>