WordPress REST API Authentication

In this tutorial, we're going to investigate authentication with the WordPress REST API. By default, the WordPress REST API has some open endpoints and some cookie authentication endpoints. The main r...

Create A Welcome Page For Your WordPress Plugin

Whenever you install WordPress or upgrade WordPress you get a nice welcome page that shows you some of the features that you've just installed. Some big WordPress plugins do the same thing when you i...

Modify WordPress REST Endpoint Response

When working with the WordPress REST API you can get all the information back you need for a specific post. This data will consist of all the standard information such as: Slug Title Content Excerpt...

Create Your Own WordPress Rest Endpoints

As the REST API is still relatively new there might be some endpoints that don't currently exist such as getting the post archives where you would normally use the function wp_get_archives. This funct...

Get Posts Between Certain Dates WordPress REST API

When building your WordPress theme using the REST API one of the pages you might want to correct is the Post archives page that displays all the posts for a certain month. Using the WP_Query object yo...

How To Disable Auto WordPress Responsive Images

As of 4.4 WordPress will automatically add the srcset attribute to the images in your content. The srcset attribute allows you to define different images to use at different viewport breakpoints. &lt...

WordPress Shortcode To Display Logged In Author Posts

In this tutorial we're going to build a WordPress shortcode that will allow us to only show the posts of the logged in user. This is useful if you have a website which allows authors to post their own...

Only Allow Access To REST To Logged In Users

The WordPress REST API is a very exciting feature of WordPress, it was introduced into the core in version 4.7 and is getting a lot of attention from the developers to move this feature forward. If yo...

WordPress REST API

WordPress is the most popular CMS used on the internet and has been for some time. Because of popularity and being open source software there are 100s/1000s of people looking to improve the functional...

Cleaning Up After Your Plugin

In this tutorial we're going to look into how you can clean up after your WordPress plugin when it's deactivated or uninstalled. This is an area of plugin development that is often overlooked or forgo...

Export All WordPress URLs

In this tutorial we're going to create a way you can export all of your WordPress URLs into a CSV file. This is very important task to do when migrating a website as you'll be able to go through each...

Whats New In WordPress 4.7

WordPress 4.7 is in beta 2 and there are some nice new features being added to the new version. Hopefully they will be fully released soon, but here's some of the features you can look forward to seei...

Add Font Awesome To WordPress Menu Items

Font awesome is a huge library of icons that uses fonts and CSS pseudo selectors to add these icons to your page. This technique means loading the icons is very fast and you have full control over th...

How To Use Page Templates In A Plugin

In this tutorial we're going to investigate how you can override a theme template files from your WordPress plugins. For this we're going to be using two filters: theme_page_templates template_inclu...

Change WordPress Default Email From Name

If you send emails from your WordPress site using the wp_mail() function you might of noticed that the email address and the email name is not being sent as you would expect it to. When an email is se...