jQuery not available to other scripts

You’ve got two copies of some inline script var $mcj = jQuery.noConflict(true); inside a commented section ‘mc_embed_signup’. The ‘true’ here is removeAll: removeAll Type: Boolean A Boolean indicating whether to remove all jQuery variables from the global scope (including jQuery itself). You should track down this script and try and understand what it’s trying to … Read more

“Cannot read property ‘replace’ of undefined” Javascript error when trying to add attribute terms from add product page [closed]

The problem was a minor bug in the Variation Swatches for WooCommerce plugin, the add term modal html wasn’t being included in the add product page as a result of wrong conditional statement in the class-admin.php file on line 266: if ( $pagenow != ‘post.php’ || ( isset( $post ) && get_post_type( $post->ID ) != … Read more

Add a predefined page to site

The best option for you likely is to create a page template. This will allow you to put your code in a php file (the template) and add footer and header information to that page. You then assign this file to a page within wordpress. That ties your new code into wordpress. You still have … Read more

404 Error Contact Form 7 on WordPress

this is quite a common issue with htaccess file blocking malformed un-shlashed url such as cf7 wp-json requests. Therefore check your .htaccess file in your root folder to see if this is the case with your server too, find the section in your .htaccess that is adding a “https://wordpress.stackexchange.com/” at the end of requests # … Read more

Detect When User Reads Full Article? [closed]

Haven’t seen a plugin that does this, since each theme would differ. But for a custom solution that would work with Google Analytics events see #9 here: https://searchenginewatch.com/sew/how-to/2287906/10-google-analytics-custom-events-that-track-the-untrackable OP also found this more specific article: http://cutroni.com/blog/2014/02/12/advanced-content-tracking-with-universal-analytics/ (These are in comments above, just posted to make it faster for those looking for something similar to find … Read more