The WordPress plugin repository contains many SEO WordPress plugins. One SEO plugin that’s receiving more attention recently is the Rank Math SEO plugin. It offers many features in just the free version, such as the ability to have external links open in new tabs or version control functionality for Rank Math plugin rollbacks or beta… Continue reading Rank Math SEO Hooks Tutorial – Modifying Open Graph Image
Category: Uncategorized
Hardening WordPress through Modifying Login Errors
It’s always good to present the least amount of information related to error messages so that bots don’t take advantage of the additional knowledge that those messages present. One way of hardening WordPress is through modifying the error messages related to the login form. We can always adjust the error message strings so that way bots… Continue reading Hardening WordPress through Modifying Login Errors
How to Programmatically Assign a Password to Posts within a Date Range
Let’s say for whatever reason, you need to require a password with posts on your site within a certain date range. In this example, we will examine posts that have been published before the current date. To help us achieve this password protection, we need to hook into the post_password_required filter: First off, let’s hook… Continue reading How to Programmatically Assign a Password to Posts within a Date Range
How to Use Decimal Quantities with WooCommerce Stock
I was volunteering on the WordPress support forms and someone asked how they could use decimal quantities with WooCommerce stock. This would take care of situations where you’re selling half of a sandwich, for example. Let’s start off with some simple code: this will allow you to start inserting values as decimal quantities from the back… Continue reading How to Use Decimal Quantities with WooCommerce Stock
Yoast SEO – Presenters Basic Tutorial
A client recently asked me to code for functionality that would allow links from within the same page to have different social media images displayed when those links were shared. Since the client had the Yoast SEO plug-in installed, I investigated the Yoast SEO documentation to see what could be done whether through the settings or… Continue reading Yoast SEO – Presenters Basic Tutorial
Change WordPress Search Widget Placeholder Text
I was volunteering on the WordPress support forms and someone asked how they could change the placeholder text for the built-in WordPress Search Widget. Unfortunately in WordPress versions prior to 5.8, there was no way to edit the placeholder text without plugins nor code. In WordPress 5.8, you’re able to edit the widgets now with… Continue reading Change WordPress Search Widget Placeholder Text