Tuesday , 14 August 2018
Error 404 Page Template

Error 404 Page Template – WordPress Theme Tutorial

Creating your own custom error messages in WordPress is easy. We’ll be creating a template for our 404 page. Create a new file called 404.php and add this bit of code. [crayon-5b72e3295023c788962212/] Try visiting a random page in your blog and you should see this message appear. Very simple right? WordPress will automatically look for this page when someone visits …

Read More »
Single Post and Page Templates

Single Post and Page Templates – WordPress Theme Tutorial

WordPress is pretty smart when it comes to knowing what pages to use. The only template file you need is index.php. While it works great for our home page, it doesn’t work so well for displaying categories, archives, pages, and single posts. You can actually create a template for those pages. Before WordPress decides on what page template to use, …

Read More »
The Loop

The Loop – WordPress Theme Tutorial

In this tutorial, we’ll be discussing how to use the WordPress loop. The loop is PHP code by WordPress that displays posts for us. It’s quite simple to use and it gives us tons of information about a post. It allows us to display and format posts in any way we want. Let’s open up our functions.php file and add …

Read More »
Creating Widget Areas

Creating Widget Areas – WordPress Theme Tutorial

Let’s start creating widget areas in our WordPress theme. We will have a total of 5 widget areas. One will be our sidebar and the other 4 will be put in the footer. Creating a widget area is very simple. Registering A Widget Area Open up your functions.php file and add this bit of code. [crayon-5b72e32952220123305022/] The register_sidebar() function is …

Read More »
WordPress Theme Menu Support

WordPress Theme Menu Support

Having a dynamic theme is important. It allows the user to customize  your theme to their liking. In this tutorial, we’re going to learn how to add WordPress theme menu support. This will allow our users to change the items in the menu with their own titles and links. Adding WordPress Theme Menu Support Before we start displaying the menus, …

Read More »
How to add JavaScript in your WordPress Themes

How to add JavaScript in your WordPress Themes

We have some javascript in our theme. So, let’s learn how to add JavaScript in your WordPress themes. It’s very similar to adding style sheets to your theme. Adding JavaScript Open up your footer.php file and add this line of code right before the closing </body> tag. [crayon-5b72e329534bf495853483/] Just like our wp_head() function, this gives developers access to add their …

Read More »
How to add CSS in your WordPress Themes

How to add CSS in your WordPress Themes

While the content is displaying, it isn’t stylized. So, let’s fix this with some simple functions. First off, we’ll need to create a new file called functions.php. Functions.php WordPress allows you to modify the way it runs by using the functions.php file. If this file exists in your theme and your theme is currently activated, then WordPress will load this …

Read More »
WordPress Template Footer

WordPress Template Footer – WordPress Theme Tutorial

We’re now going to discuss how to create a WordPress template footer. The process is very similar to headers. Creating The WordPress Template Footer Create a new file called footer.php. Cut and paste the following code from the index.php file to the footer.php file. [crayon-5b72e3295434b585252708/]   Just like the header file, we want to use only the part of the page …

Read More »
WordPress Template Header

WordPress Template Header – WordPress Theme Tutorial

Right now, we’ve got a blank template.  Let’s copy our code from the index.html file and paste it all into the index.php file. If you refresh your site, then you should see the site. You’ll notice that it’s broken and that’s OK. We’ll fix it in a bit. If you’ve ever created a website before, then you know it’s more efficient to separate …

Read More »
WordPress Theme Header

WordPress Theme Header – WordPress Theme Tutorial

Today, we’ll be discussing how to create the WordPress theme header for your theme and why it’s important to have this file. As I stated earlier, we’ll be using a HTML template called Cool Blue. This template was created by StyleShout. I have modified the template a bit to better suit this tutorial. You can download the modified version here. …

Read More »
Design and Functionality

Design and Functionality – WordPress Theme Tutorial

There’s one thing I would like to discuss before we start creating our themes. I would like to discuss the balance between design and functionality. I’m starting to see a lot of theme developers add certain functionality to their themes where it almost becomes a plugin itself. A WordPress theme is meant to be a presentation of the content and …

Read More »
How to Create a WordPress Theme

How to Create A WordPress Theme

If you’ve ever been interested in creating your own WordPress themes, but didn’t know where to start, then you’ve come to the right place. Content allows you to communicate with your audience and plugins allow you to extend WordPress’s functionality, but there’s 1 extra item to throw into this recipe. Themes. This tutorial series is for anyone who wants to …

Read More »

Conclusion – WordPress Plugin Tutorial

Congratulations! You finally finished this series. You now have a grasp on the fundamentals of creating WordPress plugins. So, where do you go from here? You can now start creating your own WordPress plugins. Of course, there are a couple of extra things you could learn. You can find all the information you’l need from the WordPress Codex. http://codex.wordpress.org/ If …

Read More »
WordPress Metadata

WordPress Metadata – WordPress Plugin Tutorial

Let’s finish up our plugin by extending it with metadata. So far, we’re able specify a post type and add taxonomy to it, but what about adding some custom fields? This can easily be accomplished with metadata. It’s very simple to work with WordPress metadata. We’ll be creating meta boxes again, so if you forgot how to create meta boxes, …

Read More »
WordPress Taxonomies

WordPress Taxonomies – WordPress Plugin Tutorial

Organization is important in WordPress. WordPress taxonomies allow us to organize our content. For example, our recipe plugin allows us to create recipes, but no way to search for certain recipes by origin. With WordPress taxonomies, we can easily do this.  The process is very similar to creating WordPress custom post types. If you would like more information about WordPress …

Read More »
ULTIMATE NODE JS WITH SQL COURSE
Want to learn how to create web applications with Node.js and SQL? Check out my course!
Get 93% off my course. You'll also learn how to build real world applications using Node and SQL. This is a limited time offer
Yes, I would like to get 93% off your course!
No Thanks!
close-link