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.
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.
Often times we run into situations where we need to dynamically add a WordPress post title in either the subject line or email body generated by the form. In this tutorial we will teach you how to dynamically add a WordPress post title in the Contact Form 7 plugin.
While developing your WordPress site you may encounter a situation where you want to display a submenu containing a multi-level hierarchical structure . In this tutorial we will teach you how to display and style a WordPress parent specific hierarchial child page (subpage) menu system using PHP and CSS.
With Facebook reporting that Messenger has reached 1 billion monthly active users, integrating a Messenger button on your website to allow direct contact naturally makes sense. In this tutorial we are going to teach you how to embed a Facebook Messenger button onto your website and then customize it with CSS.