How to query post into a complex slider
I figured it out <?php $args = array( ‘post_type’ => array(‘post’, ‘music-videos’), ‘posts_per_page’ => 5, ‘orderby’ => ‘menu_order post_date’, ); $loop = new WP_Query( $args ); ?> <div id=”example1″ class=”slider-pro”> <div class=”sp-slides”> <div class=”sp-thumbnails” > <?php while ( $loop->have_posts() ) : $loop->the_post(); ?> <div class=”sp-slide”> <div class=”sp-image”> <a href=”https://wordpress.stackexchange.com/questions/181352/<?php the_permalink() ?>” title=”<?php the_title_attribute(); ?>”> <?php … Read more