Category Archives: Wordpress

Hide Labels in Gravity Forms for WordPress

This adds a “Hidden” option for hiding labels. Added this to my functions file add_filter( 'gform_enable_field_label_visibility_settings', '__return_true' ); To read more about this, please follow the source link below

WordPress print all enqueued scripts and handlers

global $wp_scripts; print ‘<!– ‘; var_dump($wp_scripts); print ‘–>’;   Source :¬†https://wordpress.org/ideas/topic/function-to-display-an-array-of-all-enqueued-scriptsstyles

WooCommerce – Placeholders from labels (bookmark)

Link – http://tarikhamilton.com/blog/2016/03/24/create-placeholders-for-woocommerce-fields-from-the-labels-dry/

Woocommerce Update broke functionality of Cart

Trying to find the reason for the cart not working, I ended up looking through the logs to find out that $woocommerce->show_messages() was causing a fatal error. Googled a little bit and found the following change $woocommerce->show_messages(); to wc_print_notices(); Made the changes and it worked. This problem might affect people who have custom templates with woocommerce support and woocommerce might crash on update.