Can someone please help.
I’ve tried the above solution and it will not work for me.
within my functions.php file:
function my_query_for_homepage( $query ) {
if( $query->is_main_query() && $query->is_home() ) {
$query->set( ‘post_type’, array( ‘CUSTOM POST TYPE HERE’ ) );
}
}
add_action( ‘pre_get_posts’, ‘my_query_for_homepage’ );
I’ve also tried items from this page:
http://wordpress.org/support/topic/after-wp-34-upgrade-the-pagination-setup-not-working-anymore
The moment a browser tried to go to the second page, I get a 404 error.
http://orthoworxindiana.com/enewsletter-articles/2011/10/
Thanks for your help.