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. <...
When developing on WordPress one of the first things you need to learn about is how to add Javascript and Stylesheets to your page correctly. If you're new to WordPress you can find out more informati...
Recently I wrote an article about what is coming in the next version of WordPress and one of those was the changes to do with the wp_title() function. There seems to be some confusion about what I was...
The registered users of your website are the most valuable visitors you can get on your website, these people are loyal visitors and you should reward them for that. One of the best ways of rewarding...
When you are developing themes in WordPress you will first see that the query returns 10 posts at a time, this is because there is an in-built pagination that will tell WordPress what chuck of posts t...
WordPress allows you to create custom page templates to use through out your site, using these page templates you can completely change the look and functionality of a certain page. Create Page Templ...
When doing WordPress theme development the first thing you will learn about is the template hierarchy, this is the order of templates WordPress will use to display the content. WordPress actually only...
When you display list posts in WordPress and want to display a snippet of the post content, there are two ways you can do this. You can either use the the_excerpt() function which will return the firs...
On private websites it can be handy to have password protected pages to stop everyone getting at some pieces of content. In WordPress creating a password protected page is very easy, there is a visibi...
One of the features that I've found content editors find really useful is the password protected pages in WordPress. This is a built in feature that you can use directly from the edit page. To set a p...
For theme developers it is important that your theme page displays the correct page title. There can be some confusion in theme developer when they are working on a static page that is being used to d...
Sometimes I've needed to build a new page outside of WordPress but still have the ability to access the WordPress database from this new page. This would normally use custom tables you've created. To...
When you create a new site in WordPress multisite it will automatically assign a theme to the new site. It does not use the theme that you have activate on the other sites or on the network setup but...
In WordPress you can easily password protect a page from the admin area. All you have to do is under the publish block edit visibility and select password protected. A textbox will appear and you can...
Child themes is functionality that allows you to inherit the templates and functions of another theme. Using the child theme to can inherit all the styling of the parent to make small changes to the d...