Hello friends. Here are a few WooCommerce plugin updates that are now available for download: WooCommerce Bookings Plugin Version 2.0.7, Released on 2023-12-04 WooCommerce Smart Coupons Version 8.11.0, Released on 2023-12-08 WooCommerce Taxamo Version 1.4.2, Released on 2023-12-11 WooCommerce Memberships Version 1.25.2, Released on 2023-12-06 WooCommerce Mix and Match Products Version 2.5.2, Released on 2023-12-09 […]
Archive | Snippets
RSS feed for this sectionMy Personal Collection Of Tips, Tricks and WordPress Best Practices
WooCommerce Updates for 2023-12-06
Hello friends. Here are a few WooCommerce plugin updates that are now available for download: WooCommerce Instagram Version 4.6.1, Released on 2023-12-05 WooCommerce Product Feeds Version 10.11.3, Released on 2023-12-06 WooCommerce Wishlists Version 2.3.0, Released on 2023-12-05 WooCommerce Anti Fraud Version 5.7.3, Released on 2023-12-04 WooCommerce MSRP Pricing Version 3.4.23, Released on 2023-12-06 WooCommerce Amazon […]
WooCommerce Updates for 2023-07-15
Hello friends. Here are a few WooCommerce plugin updates that are now available for download: WooCommerce Bookings Plugin Version 2.0.0, Released on 2023-07-13 WooCommerce Points and Rewards Version 1.7.38, Released on 2023-07-12 WooCommerce Redsys Gateway Version 21.2.1, Released on 2023-07-12 WooCommerce Product CSV Import Suite Version 1.10.60, Released on 2023-07-05 WooCommerce Instagram Version 4.4.0, Released […]
Remove Connect your store to WooCommerce.com Notice
If you’re running WooCommerce and you don’t want to connect your store to WooCommerce.com, add the following to your functions.php // Remove Connect your store to WooCommerce.com Notice add_filter( ‘woocommerce_helper_suppress_admin_notices’, ‘__return_true’ ); Twitter Facebook Google+ LinkedIn
Enable Author Archives for Customers in WooCommerce
Add the following to snippet your theme’s functions.php file: /** * Revert WooCommerce “Disable author archives for customers.” ‘feature’ */ function remove_wc_disable_author_archives_for_customers() { remove_action( ‘template_redirect’, ‘wc_disable_author_archives_for_customers’, 10 ); } add_action( ‘after_setup_theme’, ‘remove_wc_disable_author_archives_for_customers’); Twitter Facebook Google+ LinkedIn
How to change the placeholder image for WooCommerce
Simple: // Add a custom placeholder image location add_filter( ‘woocommerce_placeholder_img_src’, ‘custom_placeholder_img_src’); function custom_placeholder_img_src () { return ‘/assets/placeholder.png’; } Twitter Facebook Google+ LinkedIn
Fix bbPress Search in Canvas Theme
If you’re having trouble with bbPress searching in the Canvas theme you can try the following technique to get it resolved. Download the file bbpress.php from https://gist.github.com/mattyza/1b01583441b11c8d04d0 Place the following code in your functions.php file: //https://gist.github.com/mattyza/f210cadb7f70188d513d add_filter( ‘template_include’, ‘woo_custom_maybe_load_bbpress_tpl’, 99 ); function woo_custom_maybe_load_bbpress_tpl ( $tpl ) { if ( function_exists( ‘is_bbpress’ ) && is_bbpress() ) […]
Add Twitter Bootstrap Icons to Widget Titles in WordPress
Best option I’ve found is via a shortcode. Open your functions.php in your favorite text editor and first enable shortcodes for widget titles: add_filter(‘widget_title’, ‘do_shortcode’); Then, add your shortcode with the icon: add_shortcode(‘iconthlist’, ‘sozot_iconthlist’); function sozot_iconthlist() { return ‘<i class=”icon-th-list”></i>’; } Twitter Facebook Google+ LinkedIn
Set up a service dashboard using 30suns.com
Note: Unfortunately, looks like this service is no longer available. In a recent client project I was asked to set up a status dashboard that the client’s customers could access to track service outages. It would have been easy enough to implement this as a simple page in WordPress but I figured I’d do a […]
Remove Inline CSS from Query Multiple Taxonomies
Add to functions.php: / Don’t show the inline css for wp-query-multiple-taxonomies remove_action(‘wp_head’, array(‘QMT_Hooks’, ‘wp_head’)); Twitter Facebook Google+ LinkedIn