Archive | Snippets

RSS feed for this section

My Personal Collection Of Tips, Tricks and WordPress Best Practices

WooCommerce Updates for 2023-12-11

11 December

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 […]

WooCommerce Updates for 2023-12-06

06 December

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

15 July

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 […]

Enable Author Archives for Customers in WooCommerce

14 November

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

Fix bbPress Search in Canvas Theme

17 December

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

03 July

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