Skip to content

Instantly share code, notes, and snippets.

View chriswagoner's full-sized avatar

Chris Wagoner chriswagoner

  • Chicago
View GitHub Profile
@chriswagoner
chriswagoner / beaver-themer-wc-notices.php
Last active February 29, 2020 05:18 — forked from carlosonweb/beaver-themer-wc-notices.php
Move the WooCommerce Notices on the Beaver Themer Singular Product Layout to Anywhere on the layout via a Custom Shortcode
/**
* First, remove WooCommerce Notices box from its default location on the page (somewhere at the top).
*/
remove_filter( 'fl_theme_builder_before_render_content', 'FLThemeBuilderWooCommerceSingular::before_render_content' );
/* You can now insert the store messages using the default WooCommerce shortcode -> [shop_messages] */
/**
* OPTIONAL NEW SHORTCODE
* Create this shortcode : [fl_woocommerce_notices]