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...