function product_page_content($content) { if (is_main_query() && in_the_loop() && is_ic_product_page() && get_integration_type() == 'simple') { ob_start(); content_product_adder(); $content = ob_get_contents(); ob_end_clean(); } return $content; }
function product_page_content($content) { if ('al_product' == get_quasi_post_type() && get_integration_type() == 'simple') { if (is_single()) { ob_start(); content_product_adder(); $content = ob_get_contents(); ob_end_clean(); } } return $content; }
* @subpackage Twenty_Fourteen * @since Twenty Fourteen 1.0 */ get_header(); ?> <div id="main-content" class="main-content"> <?php if (is_front_page() && twentyfourteen_has_featured_posts()) { // Include the featured content template. get_template_part('featured-content'); } ?> <div id="primary" class="content-area"> <div id="content" class="site-content" role="main"> <style>#breadcrumbs {max-width: 474px; margin: 0 auto 30px; position: relative; top: -30px; } .al_archive .product-name {font-size: 14px;} .al_archive .product-price {font-size: 16px}</style> <?php content_product_adder(); ?> </div><!-- #content --> </div><!-- #primary --> <?php get_sidebar('content'); ?> </div><!-- #main-content --> <?php get_sidebar(); get_footer();
function product_page_content($content) { if (is_ic_catalog_page() && get_integration_type() == 'simple') { if (is_single()) { ob_start(); content_product_adder(); $content = ob_get_contents(); ob_end_clean(); } } return $content; }