'; wmhook_postslist_top(); while ( have_posts() ) : the_post(); $content_type = get_post_format(); if ( 'nova_menu_item' === get_post_type() ) { $content_type = 'food-menu'; } get_template_part( 'content', $content_type ); endwhile; wmhook_postslist_bottom(); echo ''; wmhook_postslist_after(); } else { get_template_part( 'content', 'none' ); } wp_reset_query(); ?>