Creating A WordPress Theme From ScratchAquent Gymnasium
Cosa impari in questo corso?
- Chapter 1: Lesson Intro
In this chapter, you will learn why WordPress is the most popular content management system and explore its ecosystem of plugins and themes.
- Chapter 2: Setting Up A Local Development Environment
In this chapter, you will learn how to install MAMP for Mac in order to create a local development environment. (Note that although this lesson uses a Mac for the examples, a guide to help Windows users install XAMPP is referenced.)
- Chapter 3: How A WordPress Theme Works
In this chapter, you will learn the elemental components of a WordPress theme. Specifically, you will take a look at the required files for a theme (index.php and style.css) as well as template tags and conditional tags and how to best use the WordPress Codex for additional help.
- Chapter 4: The WordPress Loop
This chapter illustrates the role and importance of the WordPress Loop and walks through the steps of modifying it for tasks such as showing a single category on the home page, hiding a category, showing pages instead of posts, and more.
- Chapter 5: Converting A Static HTML Page Into A Dynamic WordPress Template
In this chapter, you will begin diving into the core mission of modifying a pre-existing HTML page and related CSS styles in order to integrate them into WordPress. Specifically you will be building a main content section as well as a header and footer.
- Chapter 6: The Hierarchical Structure Of A Theme
Taking full advantage of WordPress' dynamic features means understanding the hierarchy of the available template files.Specifically, you will learn how to create a home page template as well as a page and post templates among others.
- Chapter 7: Using Includes To Optimize Your Theme Development
Includes allow you to create a single file that can be used multiple times throughout a site. In this chapter, you will learn WordPress-specific functions that allow you to reuse template files such as a header, footer, and sidebar.
- Chapter 8: Adding To Your Theme
This final chapter walks through a number of techniques to improve the functionality and practicality of your theme. Topics covered include how to include a menu, how to include comments and search results, as well as the process of using WordPress enqueue scripts in order to prevent conflicts with future implementations of your theme.