custom post types – Display All Courses in Course Archive Page
I am Developing Course Management Website, I have main post type Course, under Course i have Different Taxonomies like Institution, Location, Course Type and etc.., The Problem is if one Course Selected to particular Institution that Post Displaying but i need to display that particular Course Again with Different Institution if i Select different institution How Would i do that? This is my Course archive page code
‘-1’,
‘post_type’ => ‘course’,
‘orderby’=> ‘menu_order’,
);
?>
have_posts() ) {
while ($mycourse_query->have_posts()) : $mycourse_query->the_post();
$Maincoursetypes = get_the_terms( $post->ID, ‘course-type’ );
$Maincourselocations = get_the_terms( $post->ID, ‘location’ );
$Maincourseinstitutions = get_the_terms( $post->ID, ‘institution’ );
?>
” aria-label=”Blog Image”>
/assets/images/blog-placeholder.jpg”
alt=”” />
Fashion Design & Technology
” alt=””>
“;}?>
name;?>
Location not Specified”;}
?>
” class=”btn btn-primary fv-btn”>
View Courses
Leave an answer