In this article we return to share with you some development tips, my personal points of view that have allowed me to speed up my work with WordPress , and with the web in general. If you are curious and want to know more details you can register to have access to our courses or subscribe to the newsletter .
you to Don't Modify the index.php Loop!!! , although the title may seem a bit threatening, my aim was to show you how it is possible to use two features of this platform that modify its behavior, namely:
the use of certain file names that follow the WordPress hierarchy with which we can insert a different HTML list of palestine consumer email structure into our CMS pages;
and the use of Conditional Tags that allow you to recognize the displayed page and execute arbitrary code.
In addition to giving you the reasons why I think changing the Loop to a index.phpis a bad idea, I tried to provide you with two simple and quick solutions that can help you develop your new themes.
In future articles we will also take a closer look at these features and discover how it is possible to populate a newly installed WordPress theme (just like WooCommerce does with its store pages), but what I want to do with this is suggest you a good practice for the development of your WordPress themes.
A practice that will allow you to make fewer mistakes and be faster; all you have to do is use a starter theme .