First, we create the .phtml file, say footer_menu.phtml, and place it under add/design/Young/goggles/Magento_Theme/templates/. Add the following code: Next, edit default.xml, which is under add/design/Young/goggles/Magento_Theme/layout/. Add the following code to a proper place. Run bin/magento c:f Besides the basic html code we can add in a .phtml file, we also can add php code, say: We… Continue reading How to Load Contents from A Custom Phtml File for Magento 2.4?
Category: PHP
What Is The Best Magento 2 Blog Extension?
What kind of Magento 2 blog extensions are the best for your Magento 2 based shop? Best Magento blog extensions should have the following functions: Seo friendly. Such a Magento blog will have a change to rank well in google.com. User friendly. People feel very happy to read the blog, theme designs nicely, and neatly.… Continue reading What Is The Best Magento 2 Blog Extension?