Skip to content

Welcome!

    Key Takeaways: To make the book easier to browse, each chapter starts with key takeaways that summarize the chapter’s most important points. WordPress is the world’s largest content management system (CMS): software designed to make… Welcome!

    What WordPress Themes Are For

      Key Takeaways: Every WordPress site has an active theme: a standalone piece of software designed to integrate with WordPress’s core software in numerous defined ways. A WordPress theme’s job is to control the site’s presentation:… What WordPress Themes Are For

      Anatomy of a WordPress Theme

        Key Takeaways: A WordPress theme is made of a set of consistent parts. The crucial parts of a theme include style.css, functions.php, and several kinds of PHP template file (such as header.php, footer.php, and index.php).… Anatomy of a WordPress Theme

        5. WordPress "Tag" Functions

          WordPress has hundreds of functions, which do everything from query the database to automatically capitalize the “p” in “WordPress.” However, useful patterns do emerge, and two of these patterns are in WordPress’s families of “tag”… 5. WordPress "Tag" Functions

          WordPress’s Conditional Tags

            Key Takeaways about WordPress Conditional Tags: WordPress’s conditional tags are prewritten WordPress functions that test several dozen distinct criteria, mostly about the nature of the post or posts that have been retrieved for processing. Each… WordPress’s Conditional Tags

            6. WordPress Building Patterns

              This section introduces several intermediate development practices in WordPress, each of which can level up your theme or plugin development by adding custom functionality that would otherwise be difficult to access. Understanding and Creating WordPress… 6. WordPress Building Patterns

              8. WordPress APIs

                WordPress has numerous APIs (application programming interfaces): intentionally designed “ways you do” specific things in the software. Without mentioning the term much, previous sections have been all about WordPress’s APIs; the hooks system is an… 8. WordPress APIs

                Getting to Know WP_Query

                  Key Takeaways: WP_Query is a powerful tool that allows you to fetch custom “bundles” of posts from the WordPress database—based on criteria you specify—using relatively simple PHP syntax rather than complex MySQL queries. As WP_Query… Getting to Know WP_Query

                  Further Reading

                    The WordPress Options, Settings, and Customizer APIs How to Make a WordPress Admin Options Page (Without Using the Settings API): https://wpshout.com/make-wordpress-admin-options-page-without-using-settings-api/ Making an Admin Options Page with the WordPress Settings API: https://wpshout.com/making-an-admin-options-page-with-the-wordpress-settings-api/ Making Themes More… Further Reading