How to Add Custom Code Snippets in WordPress
For this guide, we’ll create a custom code that prevents theme conflicts that cause Radio and…
Set current URL as the Canonical URL and ignore query strings
This snippet searches for a specific string in the current URL and if found, it set…
Hide the Submit Button on Calculator Forms
To use any of the Calculator forms but want to hide the submit button. Use this…
AIOSEO - Increase SEO Analyzer TimeOut
This snippet will increase the Timeout limit set for the SEO Analysis feature on a site.
Post Meta Debugger
Add a metabox that lists all the custom fields/meta values for a post/page for easy debugging.
Disable the Email Address Suggestion
Disables email address suggestion in the Email field.
Disable Pattern Directory
Prevent patterns from being shown in the Gutenberg editor block inserter.
Recreate the aioseo_cache table
This code snippet recreates the missing 'aioseo_cache' table. This code snippet should be enabled and executed…
Disable Automatic Trash Emptying
Prevent WordPress from automatically deleting trashed posts after 30 days.
Scan images from Elementor Galleries and counts them for the sitemap XML
This snippet will find new images inside the post content, which has Elementor Galleries. And it…
Disable autogenerated shipping details schema for WooCommerce
This code snippet will disable AIOSEO autogenerated shipping details schema for WooCommerce Products
Add missing mainEntity to ProfilePage Schema
This snippet adds missing mainEntity to ProfilePage Schema
Add Last Modified Column
Display the post last modified date in the admin.
Allow Date Range Selection in Date Picker
Adds the ability to select a date range inside the Date Picker field.
Move Admin Bar to the Bottom
Move the admin bar to the bottom of the screen in the frontend.