Similar Posts
WordPress Disable Password Change Nofitication
There are a few older functions that you would implement via your own custom plugin, but I found that none of them work. This one didn’t work: if ( !function_exists( ‘wp_password_change_notification’ ) ) { function wp_password_change_notification() {} } This one didn’t work: if ( !function_exists(‘wp_new_user_notification’) ) { function wp_new_user_notification( ) {} } This one didn’t…
Remove Images from WooCommerce pages
single Product Pages Here’s a handy tutorial on removing product images from the single WooCommerce product page. The basic idea is that we’ll want to remove the action that adds WooCommerce images. We can do so by adding this snippet into our child functions.php or the Code Snippets plugin: 1 2 // Remove image from…
WordPress add class to menu anchor
WordPress has tools to add a class to an LI element of a menu item. It also has tools to add a rel value to the anchor of a menu item But it does not have tools to add a class to the anchor element of a menu item. Let say I add a phone…
http to https in htaccess
## Begin – Force https # # If you need to redirect some pages, or set a canonical http to # https redirect (or vice versa), place that code here. Ensure those # redirects use the correct RewriteRule syntax and the [R=301,L] flags. #Force www and https: RewriteEngine on RewriteCond %{HTTPS} off RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI}…
Gravity Forms Google Analytics tracking in Tag Manager
Step 1: Create a formID datalayer variable Step 2: Create custom HTML tag, to push Gravity Forms into the datalayer: Step 3: Create Trigger for Gravity Forms: Step 4: Create Form Event Tag:
Regex Builder
http://regexr.com/ regex cheatsheet: http://www.ppchero.com/analytics-regular-expression-characters/