WordPress has made huge improvements to the Media Library over time but one thing that has been lacking is the ability to add custom classes to image links as an option. In this tutorial we will teach you how to dynamically add a custom class to image links in WordPress by utilizing PHP functions.
In order to register support for certain theme features in WordPress the add_theme_support function needs to be utilized. In this tutorial we will teach you how to add features in WordPress using the Add Theme Support function.
The WordPress search function by default will display all published pages and posts in the search results. In this tutorial we will teach you how to search only posts or pages in WordPress by utilizing PHP functions.
There are many different situations that can arise where it makes sense to install WordPress into a subdirectory. In this tutorial we will teach you how to serve your WordPress subdirectory installation from the website root without having to move any files.
Almost every website contains some type of copyright notice typically found in the footer and the best practice is to always keep the year current. In this tutorial we will teach you how to add a dynamic copyright to your footer in WordPress.
At Daddy Design we are always constantly working on improving our website ranking in Google and Alexa. One way to succeed is to ensure that your website has a quick page load response time with high rankings in Pingdom, Google PageSpeed and GTmetrix.
WordPress will typically redirect broken links and missing pages/posts to a 404 error page, sometimes it’s better to redirect them to your Wordpress home page instead. In this tutorial we will teach you how to use PHP to redirect all 404 errors to the home page in WordPress.
When the situation arises where you don’t end up utilizing the actual WordPress content editor, we feel that is best practice to hide it in order to avoid any potential confusion. In this tutorial we will teach you how to hide the content editor on specific pages via a WordPress function.
When used properly the two core built-in image functions will help avoid the need for third-party plugins when adding custom image sizes. In this tutorial we will teach you how to add and use custom image sizes in WordPress using built-in functions.
Luckily there is an easy solution to hide the ACF plugin settings from users who are not designated as admins. In this tutorial we will teach you how to hide the Advanced Custom Fields (ACF) plugin settings unless the user is an admin via a WordPress function.
The WordPress post count can be used to achieve many different types of layouts or additions to the WordPress loop. In this tutorial we will teach you how to add a featured class to the first post in the WordPress loop using the post count.
Displaying proper page titles is very important, unfortunately WordPress doesn’t make displaying a proper page title for the ‘Posts’ aka ‘Blog’ page all that easy. In this tutorial we will teach you a simple method for displaying the title on your WordPress posts page.