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…

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.…

WordPress Theme Development Tutorial Step By Step

WordPress Theme Development Tutorial Step By Step

This is going to be a fun tutorial where we inspect how to create your own WordPress Theme from scratch. In fact, we’ll begin with absolutely zero files and zero lines of code. The only way to understand how WordPress Themes work, is to really jump in at a low level and do every single thing yourself. Yes, it is tempting to avoid this because you can make WordPress do everything for you without any understanding of the code that powers it.…

How To Install WordPress on Laravel Homestead

How To Install WordPress on Laravel Homestead

The homestead virtual machine box for vagrant is a great way to set up your local testing and sandbox development environments. The cool thing about homestead is that not only can you use it for all of your Laravel specific development, but you can also make use of it for other projects like Slim, Symfony, Drupal, or WordPress. In this tutorial, we will set up WordPress on an existing homestead installation using composer.…