Prevent Copy Paste
This JavaScript snippet prevents right-click and copy events on the frontend
Append a Page to the Additional Pages Sitemap
This filter can be used to Append a Page to the Additional Pages Sitemap
Conditionally show the submit button
/** * Conditionally show the submit button * * @link https://wpforms.com/developers/how-to-conditionally-show-the-submit-button/ */ add_action( 'wp_head', function ()…
Change the HTML template for a specific crumb in the breadcrumbs trail
This snippet can be used to change the HTML if it’s the crumb of the ‘uncategorized’…
Add Translated Version Sitemap Entries for a Specific Post
This filter can be used to add Translated Version Sitemap Entries for a Specific Post. You…
Custom Logo Per Page
Add a way to choose a custom logo for each page.
Unminify Schema Output in Source Code
This filter can be used to unminify schema output in the source code.
Add A Default Campaign Custom Amount
Return a "default" amount if there isn't one isn't set in the session. Read all notes…
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…
Add Donate Button
Template code to display a particular campaign's button.
Remove Unused JS
/** * We will Dequeue the jQuery UI script as example. * * Hooked to the…
Hide AlOSEO version number from the front end
This filter can be used to publicly hide the All in One SEO version number.
Decrease the retention period to one week for the Action Scheduler
By default, Action Scheduler will automatically remove completed tasks after thirty days. However, this time period…
Open all external links in new tab
This makes the manual link tab association obsolete. All links to another domain will open in…
Add Translated Version Sitemap Entries for a Specific Term
This filter can be used to add Translated Version Sitemap Entries for a Specific Term. You…