Page for dynamic display of individual courses such as breads
-
Hello.
I am trying to figure out how to call the recipes from a specific course. Say I have several bread recipes and they are all under the taxonomy of “breads.” I would like to display them in a page other than the archival display of courses.
Ultimately I want a page that shows all the recipes of breads. But I want to add content to the page to cushion these recipes.
However, I am getting a blank page (well blank on the side where data would display.)
Here is my code thus far.
<?php $args = array( 'taxonomy' => 'course', 'term' => 'breads', 'post_type' => 'rpr_recipe', 'posts_per_pag' => 10, 'ignore_sticky_posts' => 1 ); $query = new WP_Query( $args ); ?> <?php if ( have_posts() ) : ?> <?php /* Start the Loop */ ?> <?php while ( $query->have_posts() ) : $query->the_post(); ?> <?php wp_reset_query(); ?>
Maybe you see the problem at first glance any help would be great. Slowly learning WordPress and the thing called queries. Right now I feel like my brain is fried. Again, any help would be appreciated. I wasn’t sure if this is something that you would assist with or not. But it never hurts to ask.
Again, thanks for an awesome plugin.
- The topic ‘Page for dynamic display of individual courses such as breads’ is closed to new replies.