This exercise will show you how to write custom loops in WordPress. Some Sample Content For this exercise, I have created a Duplicator archive of a small site. Please download the duplicator package (updated Feb 2022). Updated duplicator package (Feb 2023, PHP 8.0.8) For the download, use Chrome rather than Safari: Safari automatically unpacks ZIP […]
Category: WordPress Templates
MAMP Bug: zlib Compression
There is an annoying bug that sometimes occurs in the Windows version of MAMP. Specifically, a message like this shows up at the bottom of your pages, Notice: ob_end_flush(): failed to send buffer of zlib output compression (1) .. You can fix the bug by following these steps: find the version of PHP you’re using […]
WordPress Conditional Tags
This exercise can be done using any WordPress site at all. Use the site you created for last week’s series of follow-along videos: WordPress theming bootcamp. To begin, please download this starter theme. Put it inside wp-content/themes. Then open it up as a project with Visual Studio Code (or whatever editor you use), and make […]
WordPress Theming Bootcamp 1
For this exercise, I want you to follow along with an extended video series on how to write WordPress themes. This series will take you through a lot, so don’t start one day before it’s due or you won’t finish it. First, please download these files (updated Feb 08, 2022). This is a Duplicator archive […]
The goal of this exercise is to hone your ability to use WordPress conditional tags. They are easy to learn, but they give you great power to make concise themes. For information on conditional tags, here are two resources: Starter Files Please download the new screenshots package and the starter files (choose which php version […]
first, download the new and improved starter files. second, download this “starter” theme. third, download the screenshots Your task here will be to make only the front page of the site. On some posts, there will need to be working links to single posts and category archives, but you do not need to style the […]
There is no excerpt because this is a protected post.
For a Block Theme: This will enqueue your styles.css file, making the styles that you write there available to WordPress. It is recommended to put as much of your styling into theme.json as possible. However, there is still things that cannot be done in theme.json yet, and the Custom CSS area of theme.json is recommended […]
There is no excerpt because this is a protected post.
In this exercise, you will build two significant parts of a WordPress theme: the home page and the single post view. You may use your notes or the Internet. If this is a test, talking to anyone will result in a zero grade. Initial Setup First, please download the following: the duplicator package a starter […]