Code Snippets
Instructions on how to add code snippets can be found Here
Allow upload of AI files (Adobe Illustrator)
This snippet registers the AI file MIME type so that the site will allow .ai files to be uploaded to the WordPress Media Library. This should also allow Gravity Forms...
Allow upload of VCF files (aka vCards)
This snippet registers the VCF file MIME type so that the site will allow vcf files to be uploaded to the WordPress Media Library. This snippet should be added when...
Order Posts Alphabetically
Modifies the main query to sort posts alphabetically by title. Must be added to functions.php file of the Theme Customisations plugin.
Change number of related products output
Please note that it does not work for all themes because of the way they’re coded. An easier way to create and edit a related post section is by using the...
Hide other shipping methods when “Free Shipping” is available
Adding code Before adding snippets, clear your WooCommerce cache. Go to WooCommerce > System Status > Tools > WC Transients > Clear transients. Snippets for WC 3.0+ Hides everything but free_shipping if it’s available and is compatible...