What Is A WordPress Archive Page?

What Is A WordPress Archive Page

When you are building a WordPress Theme, you have the option of adding a file named archive.php to your theme. It is optional because if you don’t have it, then the index.php will handle the output of archive type posts. Now as a refresher, an archive page in WordPress is referring to a collection of posts grouped by category, author, date, tag, etc. In this tutorial, we will now add an archive.php page to our theme so that we can customize the look of various archive types on our site.…

How To Add Post Meta In WordPress

How To Add Post Meta In WordPress

In this article we will examine how to add post meta to a WordPress Post. So first off, what is meta? Well you can think of meta as information about information so to speak. You are likely familiar with meta tags in html markup. These are used to provide information about a website. In this tutorial, we are not so much looking at meta tags, but post meta.…

How To Use wp_list_pages() To Create Parent and Child Page Menus

Create Parent and Child Page Menus

In this tutorial let’s look at how we can handle working with links to and from parent and child pages in your themes. You might see these hierarchies referred to as top level pages and subpages. WordPress makes it easy to link pages on your site in such a way so that your visitors can easily understand the hierarchy and relationship between them. We’ll make use of the wp_list_pages() function to set up a list of child pages based on the particular parent page we have selected.…

How To Create Custom Templates For WordPress Pages

How to Control the Look of Pages in WordPress With Pagephp

Our adventures into this theme tutorial for WordPress is working out great so far. Of course our current theme is a very basic example of what you can do when creating a WordPress theme from scratch. As we know, it is the index.php file that is handling most of the heavy lifting with regard to html generation on our posts and pages at this time. Wouldn’t it be nice if we had a way to change up the look of our pages in WordPress so as to easily differentiate them from normal posts in our theme?…

How To Create A Custom Menu In WordPress

How To Create A Custom Menu In WordPress

Now that we know how to create a basic WordPress Theme from scratch, let’s take a look at how to create a custom navigation menu to our theme. This menu should have the ability to be controlled from the WordPress Dashboard. In other words, you should be able to go into the Dashboard and add or remove links to any pages, posts, or categories that you like.…