Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Hooked in theme functions
- function fcwp_display_single_product_map(){
- echo do_shortcode('[facetwp map="true"]');
- }
- add_action('woocommerce_after_single_product_summary', 'fcwp_display_single_product_map', 15);
- function fcwp_display_single_product(){
- echo do_shortcode('[facetwp facet="activity"]');
- }
- add_action('woocommerce_after_single_product_summary', 'fcwp_display_single_product', 15);
- function display_single_product_address(){
- echo get_geocode_address($post->ID);
- }
- add_action('woocommerce_single_product_summary', 'display_single_product_address', 40);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement