<strong>First Issue;</strong>
I have a Custom Post Type labeled ‘Product’ I have a Taxonomy labeled ‘Product Lines’ I have a ‘Product Lines’ category ID let’s say ‘6’
Now I need to query a custom post type based on an id of a taxonomy category.
<strong>Example:</strong>
<?php query_posts( array( 'post_type' => 'product', 'taxonomie id' => '6' ) ); ?>
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<?php the_title(); ?>
<?php endwhile; endif; ?>
<strong>Second Issue;</strong>
Then I need to replace the ‘id’ with an echo from a custom field…
<strong>Example: </strong>
Taxonomy ID: <?php echo get_post_meta($post->ID, 'product_line_id', true);?>
<em>Any assistance would much appreciated!</em>