Search results for: admin
Facebook storage tracking
Pixel for tracking self storage traffic
Exclude All Posts of a Category from News Sitemap
This snippet can be used to exclude All Posts of a Category from News Sitemap. Note:…
Download count shortcode
Add download count shortcode with ID and Offset attributes
htmk to monsterlink
jQuery(document).ready(function($) { $('a[href="#"]').addClass("manual-optin-trigger"); $('a[href="#"]').attr("data-optin-slug", "pm6fnflhiocj7cge"); });
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…
WP Simple Pay: Remove Decimals
Removes trailing decimals on price outputs. Note: Does not affect Stripe Checkout.
Disable the Last Updated Date in Index/Root XML Sitemap
This filter can be used to disable the Last Updated date that All in One SEO…
Trigger a Scheduled Export via a WordPress Action
function custom_trigger_scheduled_export_url() { $secret_key = ( isset( $_GET['secret_key'] ) ? sanitize_text_field( $_GET['secret_key'] ) : false );…
Change Method Label
add_filter( 'woocommerce_cart_shipping_method_full_label', 'wcv_override_vendor_shipping_label', 10, 2 ); function wcv_override_vendor_shipping_label( $label, $method ){ $label = 'Flat-rate'; // cost;…
Enable automatic updates for WordPress core, plugins, and themes
// Enable automatic updates for WordPress core, plugins, and themes add_filter('automatic_updater_disabled', '__return_false'); add_filter('auto_update_core', '__return_true'); add_filter('auto_update_plugin', '__return_true');…
How to Create a Form With Floating Labels
/** * Remove the field label from the top of the field * * @link https://wpforms.com/developers/how-to-create-a-form-with-floating-labels/…
Generate a virtual coupon when order is completed.
This snippet will generate a new virtual coupon for a coupon that you've enabled virtual coupon…
om-angularjs.js
// Using AngularJS. var myApp = angular.module('myApp', []); myApp.run(function($rootScope) { $rootScope.$on("$locationChangeStart", function(event, next, current) { if…
Allow Contributors to Upload Images
Allow users with the Contributor role to upload files in the admin.
Hide file-specific download options
This plugin hides file-specific download options so that All Access customers can only view/download the first…