'.get_the_title().''; remove_action('woocommerce_single_product_summary','woocommerce_template_single_title', 5); } add_action('flatsome_product_title','flatsome_product_page_title', 10); /* Add Next/Prev Nav to Product Image */ if(!function_exists('flatsome_product_title_next_prev')) { function flatsome_product_title_next_prev(){ if(get_theme_mod('product_next_prev_nav',1)){ flatsome_product_next_prev_nav(); } } } add_action('flatsome_product_title_tools','flatsome_product_title_next_prev', 20); if(!function_exists('flatsome_product_mobile_next_prev_nav')) { function flatsome_product_mobile_next_prev_nav(){ if(!get_theme_mod('product_header') && get_theme_mod('product_next_prev_nav',1)){ flatsome_product_next_prev_nav('show-for-medium'); } } } add_action('woocommerce_single_product_summary','flatsome_product_mobile_next_prev_nav', 7); /* Add Next/Prev Nav to Product Sidebar */ if(!function_exists('flatsome_product_nav_sidebar')) { function flatsome_product_nav_sidebar(){ if(get_theme_mod('product_next_prev_nav',1) && !get_theme_mod('product_header') && get_theme_mod('product_layout') !== 'left-sidebar-full' && get_theme_mod('product_layout') !== 'left-sidebar'){ echo '
'; flatsome_product_next_prev_nav('nav-right text-right'); echo '
'; } } } add_action('flatsome_before_product_sidebar','flatsome_product_nav_sidebar', 0); if(!function_exists('flatsome_product_next_prev_nav')) { function flatsome_product_next_prev_nav($class = ''){ echo ''; } } if(!function_exists('flatsome_next_post_link_product')) { function flatsome_next_post_link_product() { global $post; $next_post = get_next_post(true,'','product_cat'); if ( is_a( $next_post , 'WP_Post' ) ) { ?>