How to redirect all Single Posts of a Custom Post Type in WordPress
While developing a website or blog in WordPress with Custom Post Type's there may come a time when you do not want to actually display the Single Post. In this
As a WordPress developer it is a painful (and all too familiar) feeling of angst, when I find a plugin that does almost exactly what I want but the author has left no way for me to modify the behavior…
How to Extend a WordPress Plugin – My Plugin Boilerplate
Most of you will have heard about WooCommerce extensions by now, and WooCommerce sure is great for extending because it has loads of hooks and filters to play with, but in truth you can extend any Wor…
How to Add Existing Taxonomies to WordPress Custom Post Types | WPShout
This article covers how to add existing taxonomies to a custom post type, and how to make that custom post type show up in those taxonomies' archive pages.
Capturing The HTTP Referrer URL On Form Submissions
If you’re trying to determine what page caused a form submission to occur, and need to get the referrer URL, here’s how to do it. Setup Create a hidden field on your form. Add a label to it such as Re…
You know that a fast site == happier users, improved ranking from Google, and increased conversions. Maybe you even think your WordPress site is as fast as it can be – you’ve looked at site performanc…
Learn how to programmatically find unused shortcodes in WordPress. You will see how to search for such shortcodes by using code and WordPress functions
When using number fields, you are able to easily perform calculations. In this article, we will show you how to set up a calculation field. Note: The Total fields cannot be used within calculations. W…
Gravity Forms – How to do advanced number field formula calculations
Gravity Forms provides the ability to perform basic calculations in ‘number’ fields, such as ‘field 1 x 2’ or ‘field 1 + field 2’.As of Gravity Forms 1.9.15 these formulas do not support any advanced …
How to calculate the sum of a field in Gravity Forms - GravityView
Using Math by GravityView, we can use the [gv_math] shortcode to add up the values of all the entries in the form. We need two things to find the total value of
Add tax to your Gravity Forms' submissions in 5 minutes or less. by David Smith Leave a Comment Overview GF eCommerce Field offers several powerful new field types. For this tutorial, we’ll be working…
4 Ways You Can Start Using the WordPress REST API Right Now
The REST API is finally integrated into WordPress’ core, yet so many developers seem to be at a loss for how to use it in their real world projects. We get it – interacting with APIs can be an intimid…
The decoupled or “headless” CMS is rising in popularity among developers because of its capabilities for innovation, flexibility, and future-proofing. Building WordPress-powered websites via the WordP…
One of the very first things people tend to learn when writing plugins is how to attach custom HTML to the bottom of their WordPress posts using the filter called "the_content". This is good, as it...
Learn to limit WordPress the_content words. The best way to limit the_content function words in WordPress. Step by step tutorial with example explain...
Overtime a wp_postmeta WordPress database table may become bloated and use redundant custom field meta_keys. The table may have thousands of rows worth of dead data such as old custom fields. You can …
Sometimes folks with many recurring events want to be able to organize their admin events list differently by hiding extra instances of recurring events. You can make this change with a simple code sn…
How to Write a WP_Query for Multiple Specific Post IDs
Recently, a client project I’m working on required something I don’t think I’ve done before: write a WP_Query to fetch a dynamically generated list of post IDs.
Preventing XSS Attacks in WordPress: Complete Guide to Validating, Sanitizing, and Escaping Data
When it comes to making your WordPress site secure as a developer, probably the most impactful thing you can do is make sure you always clean up data they
Recently, I was working on site speed for a client with one page that makes a large number of custom database queries through WordPress’s WP_Query API.
Adding faceted search to your WordPress site without a third party plugin is easier than you might think. Here is how to create a search form without too much trouble.