Join Morten Rand-Hendriksen for an in-depth discussion in this video Challenge: Add a template for the Aside post type, part of WordPress: Building Child Themes.
- View Offline
- Time for another challenge.…I want you to build a new template…for the Aside post format.…This requires a bit of an explanation.…WordPress has a feature called Post Formats…that can be activated in Themes.…The idea of Post Formats is that the author can group…different types of posts such as image posts, gallery posts,…video posts, and so on into their respective formats…and change the display of these types of posts…on the site.…The first Post Format to be introduced was the Aside,…a short comment or update.…
I like to think of them as social media status updates…that go on your blog.…The first time we saw Asides in WordPress…was on Matt Mullenweg's website found at MA.TT.…And you can usually see Asides…if you just go to the front page.…Like right now, here we have a regular post,…I scroll down, here's another regular post,…and another regular post,…and then we get an Aside.…As you can see, it displays quite differently.…It doesn't have a title.…It doesn't have a lot of the other information,…instead it's just some text…
WordPress: Building Child Themes opens the world of child theme development to anyone, no matter what level of experience or expertise. It helps you build your child theme on top of an existing properly coded foundation, and create stylish new WordPress sites—without the advanced knowledge of a web developer. Morten Rand-Hendriksen explains how to get started picking a parent theme, updating the CSS, creating a new template for your child theme, and updating its functionality. By the end of this practical, project-based course, you should have a functioning child theme and the skills to quickly customize your next WordPress site.
- What is a child theme?
- Creating and activating a child theme
- Overriding or overwriting?
- Changing existing styles
- Adding new styles
- Creating templates for the child theme
- Adding new menus and widgets
- Replacing custom web fonts