Change Validation Messages for WPML
When you need to provide multiple different language translations, these messages need to be conditionally different.…
Increment a Count on Each Form Submission
This snippet counts the total entries for a specific form and updates a hidden field with…
Add Donate Button
Template code to display a particular campaign's button.
Add A Default Campaign Custom Amount
Return a "default" amount if there isn't one isn't set in the session. Read all notes…
Limit Post Revisions
This snippet will limit the post revisions storage memory to 4. To get started, you’ll need…
Allow Users Without Editing Permissions to Edit Their Author SEO Details
This filter can be used to allow users that don’t have editing permissions to edit their…
Set max-video-preview to 0
This snippet sets max-video-preview robots meta tag to 0
Reduce Database Calls
You can edit your child theme and replace these calls with more specific information to stop…
Prevent Canonical URL tag output on Posts
This snippet can be used to prevent AIOSEO from outputting the Canonical URL tag on posts
Hide AlOSEO version number from the front end
This filter can be used to publicly hide the All in One SEO version number.
Allow adding more than 10 additional keyphrases
This snippet allows adding more than 10 additional keyphrases. Note: Replace 20 with the maximum number…
How to Automatically Redirect If User Is Already Logged In
/** * Automatic redirect from login form if a user is already logged in * *…
Change Business Info Email Icon
This filter can be used to change the business info email icon. Replace "/assets/images/email-icon.png" with the…
Creating a Smart Tag from an ACF Field
/** * Register the Smart Tag so it will be available to select in the form…
Add Accept Terms Field
Add a Terms and Conditions donation field, showing whether the donor accepted terms and conditions when…