In the study Sanri analysis of an example, this section we will imitate him to do a simple bar, the focus is to call the WordPress encapsulated functions and classes, CSS and HTML can be slightly better adjusted.
Make a copy of the WP Belt example and re-name it.
Empties the file contents of index.php and Style.css. Modify the STYLE.CSS header as follows:
/* theme Name:simplicitytheme uri:https:/ /mxyb.net/author:ljwauthor URI:HTTPS://MXYB.NET/DESCRIPTION:TESTVERSION:1.5LICENSE:GNU general public License v2 or L Aterlicense Uri:http://www.gnu.org/licenses/gpl-2.0.htmltags:black, Brown, Orange, tan, white, yellow, light, One-column, Two-columns, Right-sidebar, Fluid-layout, Responsive-layout, Custom-header, Custom-menu, Editor-style, Featured-images, microformats, Post-formats, Rtl-language-support, Sticky-post, Translation-ready, Accessibility-readytext domain:twentythirteenthis theme, like WordPress, is licensed under the GPL. Use the it to make something cool, having fun, and share the what you've learned with others. */
while (Have_posts ()): the_post (); ? > endwhile;?></body>
The above is the code of index.php, so a simple theme without a style is just fine.
If we are familiar with CSS and HTML, we can design the layout from the beginning. I'm not very good at this.
WordPress Learning Four: a simple custom theme