Contact Form 7 emits a number of Javascript events that bubble up to the document object. In version 4.1 they can be found in contact-form-7/includes/js/scripts.js. If you’re using jQuery you can access those events like this: $(document).on(‘spam.wpcf7’, function () { console.log(‘submit.wpcf7 was triggered!’); }); $(document).on(‘invalid.wpcf7’, function () { console.log(‘invalid.wpcf7 was triggered!’); }); $(document).on(‘mailsent.wpcf7’, function ()… Continue Reading
Category: Uncategorized
Sync AMPPS with multiple machines
Here is a roadmap to establish AMPPS with Dropbox: Download and install the latest version of AMPPS. In the Programs folder will include the folder “var” and “www” are created. In the database files already come “var” folder and “www”, all individual files of your website. Create a folder under your Dropbox account “AMPPS” on… Continue Reading
WooCommerce add to cart button link change to product page
Use the below code to accomplish what ever you want. add_filter( ‘woocommerce_loop_add_to_cart_link’, ‘epik_add_product_link’ ); function epik_add_product_link( $link ) { global $product; $link = ‘ SHOP NOW’; return $link; }… Continue Reading
Reset “Use Secure in Front End or Admin” in Database – Magento
I ran into an issue this week where I switched on SSL on a development site and then realized the SSL cert was not installed correctly. This is a big issue in Magento because there is no way to get back to the admin to switch it back off. If this ever happens do the… Continue Reading