in my root.phtml, I can call for cms page content with :
<?php echo $layoutContent; ?>
but I wanted to use $cmsPage->getContent() instead :
<?php $objectManager = \Magento\Framework\App\ObjectManager::getInstance();$cmsPage = $objectManager->get('\Magento\Cms\Model\Page');echo $cmsPage->getContent(); ?>
I get this for result which is correct but not converting to html interpretation :
{{block class="Magento\Framework\View\Element\Template" template="Magento_Theme::cms/home.phtml"}}
Do you know if I could get it work ? ( toHtml() function return error )
Thanks