Adjust Currency Symbols | Display Eventbrite Events
The Display Eventbrite plugin has a table that converts currency code to symbols. Sometime a user…
WordPress Typography Enhancement: Preventing Widows in Conten
This code is a WordPress filter designed to prevent "widows" in typography within the content displayed…
create_folder_and_upload_file
Creating a folder directly inside the WordPress Media Library through code requires understanding that the WordPress…
Limit Uploaded Image Size
Set a max width and height for your image uploads to save space.
Defining SparkPost Mailer Constants
This snippet will prevent users from changing WP Mail SMTP settings in your WordPress admin area…
om.Dtr.init.js
document.addEventListener('om.Dtr.init', function(event) { console.log(event.detail.Dtr); console.log(event.detail.Campaign); // Registers a custom `name` smart tag. event.detail.Dtr.setCustomVariable('name', 'Thomas'); } );
Check URL for Braze UUID
Check URL for Braze UUID, if exists call braze.changeuser()
Local pickup custom percentage discount in WooCommerce checkout
Offering discounts for local pickup is a great way to attract customers who are looking for…
google search
google search console verification
Enable Pinch to Zoom on Mobile Devices
function remove_my_action() { remove_action('wp_head', 'et_add_viewport_meta'); } function dt_et_add_viewport_meta(){ echo ''; } add_action( 'init', 'remove_my_action'); add_action( 'wp_head',…
Replace WP Logo and the default 'logo' link
Use your custom logo along a replace the default 'logo' link on the login page, don't…