?>
>
						<?php 
    do_action('woocommerce_archive_description');
    ?>
					</div><!-- .loop-description -->

				</div><!-- .loop-meta -->

			</div>
		</div>
	</div>

	<?php 
    // Let child themes add content if they want to
    hoot_display_loop_title_content('post');
    /**
     * If viewing a single product
     */
} elseif (is_product()) {
    add_filter('display_loop_meta', 'hoot_hide_loop_meta_woo_product');
    get_template_part('template-parts/loop-meta');
}
/**
 * Hide title area on single product page
 *
 * @since 1.8
 * @access public
 * @return void
 */
function hoot_hide_loop_meta_woo_product()
Example #2
0
                    ?>
										<div <?php 
                    hoot_attr('loop-description');
                    ?>
>
											<?php 
                    if (is_page()) {
                        hoot_meta_info_blocks(hoot_get_option('page_meta'));
                    } else {
                        hoot_meta_info_blocks(hoot_get_option('post_meta'));
                    }
                    ?>
										</div><!-- .loop-description -->
									<?php 
                }
                ?>

								</div><!-- .entry-header -->
							</div><!-- .loop-meta -->

						</div>
					</div>
				</div>

			<?php 
            }
            hoot_display_loop_title_content('post', array($pre_title_content, $pre_title_content_stretch, $pre_title_content_post));
        }
        rewind_posts();
    }
}