August 2017
Beginner
412 pages
10h 30m
English
Usually, WordPress themes are composed of a number of template files. This allows the different parts of the site (such as the frontend, blog archive, pages, single posts, and search results) to have different purposes. Breaking the index.php file into template files allows us to not only share some common parts of the design, but also to have different code in different parts. As I mentioned earlier, we'll soon be breaking up the four main pieces of the design (header, sidebar, main column, and footer) so that WordPress can make good use of them. That's because while the header and footer are probably shared by all pages, the content in the main column will be different. Also, you may want the ...
Read now
Unlock full access