Friday , 17 November 2017
Home / Tag Archives: programming (page 4)

Tag Archives: programming

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-5a0f508fac2da262261866/] 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 Header – WordPress Theme Tutorial

WordPress Template Header

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 Tutorial

WordPress Theme Header

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 – WordPress Theme Tutorial

Design and Functionality

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 »

WordPress Metadata – WordPress Plugin Tutorial

WordPress Metadata

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 Plugin Tutorial

WordPress Taxonomies

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 »

WordPress Custom Post Types – WordPress Plugin Tutorial

WordPress Custom Post Types

One of the amazing features that comes with WordPress is the ability to create WordPress custom post types. What are  WordPress custom post types? A post type is a type of content. For example, a post is a post type. More information about post types can be found here. There will be times where you may want a custom post …

Read More »

WordPress Cron Jobs – WordPress Plugin Tutorial

WordPress Cron Jobs

There will be times where you’ll want to continually perform certain tasks automatically. This can be anything from checking up on the server or sending out e-mails. Having these tasks run behind the scenes without anyone doing anything is known as cron jobs. Usually cron jobs are set up by the user on their web server, but now WordPress actually …

Read More »

WordPress Transients API – WordPress Plugin Tutorial

WordPress Transients API

Today, we’ll be discussing how to use the WordPress transients API. Most bloggers don’t use WordPress out of the box. They’re usually using plugins ranging from completely custom to ones they found in the WordPress plugin directory. If you’re a blogger, you’re usually adding fresh new content daily. With that being said, you as the developer, must find a way to …

Read More »
ULTIMATE WORDPRESS DEVELOPMENT COURSE
Want to learn how to create your own custom WordPress plugins and themes? Check out my course!
Get 93% off my course. You'll also learn how to integrate WooCommerce and BuddyPress into your projects. This is a limited time offer
Yes, I would like to get 93% off your course!
No Thanks!
close-link