Creating a Child Theme in WordPress

If you want to modify a WordPress theme, you should create what’s called a child theme. A child theme allows you to make updates that would not be overwritten by updates to the theme. Theme updates occur on a regular basis, usually in response to updates to WordPress. If the modifications were made to the Read More >

The add_action WordPress function

The add_action function is arguably the most used function in WordPress. Simply put, it allows you to run a function when a particular hook occurs. In this article, we will introduce you to the add_action function and teach you how to use it in your first WordPress plugin. For example, if you wanted to add Read More >

The has_action() WordPress function

When writing a WordPress plugin or theme, you may need to check if an action hook exists before running additional code. In this article, we will show you the has_action WordPress function as well as how to use it. Usage <?php has_action( $tag, $function_to_check ) ?> Parameters The has_action function includes 2 parameters, on of Read More >

Prevent WordPress brute force attacks with BruteProtect

When running a website, especially with the increase in brute force attacks against WordPress sites, it is important to protect yourself. Thankfully, BruteProtect will allow you to easily and automatically block attacks. As BruteProtect stores known attack sources in its database, many attacks are stopped before they even begin. In this article, we will show Read More >

Cleaning up Old Comment Meta Data in WordPress

After a while, old comment meta data can sometimes pile up in your database in which it can take up space as well as negatively impact your site performance. In this article, we will show you how to easily clean up the wp_commentmeta tables in your database to remove old comment meta data that no Read More >

Showing your Facebook page photos in WordPress

If you have a website for your business, chances are that you have a Facebook page as well. In this article, we will show you how to use the Facebook Photo Slider plugin to easily display your Facebook page’s images within your WordPress site with an attractive and efficient slider. Note: This plugin only works Read More >

Upgrade to VPS NVMe SSD Hosting

As a linux VPS host, InMotion Hosting now provides a way for you to update your VPS hosting account to NVMe SSD (see why you should switch to NVMe hosting). The upgrade to your account is easily done using your Account Management Panel (AMP). There would be little to no downtime involved in the migration process. Read More >

Installing Logaholic via Softaculous

Logaholic is a program that allows you to track statistics for your website. These stats allow you to see things such as how many hits your site gets on a daily, weekly, or monthly basis. You can use these stats to compare and see trends to help your site become more efficient. This article guides Read More >

Configuring Text Message Notifications in WordPress

Knowing when various things happen within your WordPress site is always critical and sometimes hard to keep up with, especially if you have multiple individuals all making changes. Having a notification system in place that alerts you anywhere you are via text message of changes that are made can make your life a lot easier. Read More >

The wp_delete_post() WordPress function

At times, you may need to delete a post using a WordPress plugin. For example, if you had a calendar system that created posts for events, and the event was canceled or happened in the past, the ability to automatically delete posts can be quite useful. In this article, we will show you how to Read More >

The has_post_thumbnail() WordPress function

Within your WordPress themes or plugins, you may need to determine if a post has a featured image attached to it. Using the has_post_thumbnail() function, you will be able to easily identify if a post has a featured image or not. In this article, we will show you how to use the has_post_thumbnail() WordPress function. Read More >

The get_the_ID() WordPress function

If you need to obtain the post ID from your posts, you can easily use the get_the_ID() WordPress function. In this article, we will introduce you to the get_the_ID() function. This function can only be used inside the WordPress loop. Basic usage <?php get_the_ID(); ?> This function does not have any parameters that can be Read More >

WordPress WP_Post objects

When using WordPress functions such as get_post(), the information will be stored within WP_Post objects. In this article, we will show you what is stored within those WP_Post objects, as well as how to access them. If you would like more information on creating WordPress plugins, see our tutorial series on creating your first WordPress Read More >

Using The WordPress Loop

When developing WordPress themes, it’s important to know about the loop. The WordPress Loop is a function that grabs posts from your database, and allows you to display multiple posts on a page, such as the index page of a blog. There are many advanced variations of the loop, but in this article we’ll focus Read More >

The get_boundary_post() WordPress function

In the event that you need to get either the last or first post based on published date within your WordPress plugin or theme, you can use the get_boundary_post() function. In this article, we will show you how to use the get_boundary_post() function. If you would like more information on creating WordPress plugins, see our Read More >

The get_permalink() WordPress function

Within your WordPress theme or plugin, you may need to obtain the post permalink. In this article, we will introduce you to the get_permalink() function which you may use to obtain the permalink of either your current post or another desired post. If you would like more information on creating WordPress plugins, see our tutorial Read More >

WordPress plugin file header

When creating a WordPress plugin, you use the File Header to store info about your plugin such as the plugin name and description. These file headers are necessary for WordPress to understand that the PHP script you create is a plugin it can use. Required File Headers for plugins For WordPress to understand your plugin, Read More >

The get_post_status() WordPress function

Within your WordPress plugin or theme, you may need to determine if a post is published, a draft, or some other status. Using the get_post_status() WordPress function will allow you to do exactly that. In this article, we will show you how to use the get_post_status() WordPress function. If you would like more information on Read More >