Hope someone can help me with this. I have a custom post type ('article') in my WordPress installation, and I'd like to display those posts alongside the default posts in the regular post feed.
This is my current loop:
<?php if ( have_posts() ) { while ( have_posts() ) { the_post(); global $more; $more = 0; //include the post template locate_template( array( 'includes/post-template.php' ), true, false ); } locate_template( array( 'includes/post-pagination.php' ), true, false ); }else { _e( 'No posts available', 'pexeto' ); } ?>
pre_get_posts