Define category ID using get_post_meta
<?php global $wp_query; $cata = get_post_meta( get_the_ID(), ‘cata’, false); query_posts ( array( ‘cat’=> $cata, ‘showposts’ =>’1000′ ) ); if ( have_posts() ) : while ( have_posts() ) : the_post(); ?> <!– BEER ITEM –> <div class=”menu-title”> <span><?php the_title(); ?></span> </div> <div class=”menu-desc-wrap”> <div class=”beer-discripton”> <span></span> <?php the_content(); ?> </div> <div class=”percent”><span> <?php echo get_post_meta( get_the_ID(), … Read more