Home › Forums › Iconic One Pro Support › Custom Page Template for Custom Content Type displaying weird results › Reply To: Custom Page Template for Custom Content Type displaying weird results
With additional testing, I have noticed that the news articles display correctly in this view (I am sharing tags and categories between “post”, and “news” content types, so this works) http://petersblog.us/tag/microsoft/
I think that rules out how my custom content type is setup. I am guessing it has to do with how my query is setup (I pulled this originally from wordpress codex):
<?php $args = array( ‘post_type’ => ‘news’, ‘posts_per_page’ => 10 ); ?>
<?php $loop = new WP_Query( $args ); ?><?php while ( $loop->have_posts() ) : $loop->the_post(); ?>
I tried removing the “‘posts_per_page’ => 10 ” statement. It had no effect on formatting. I don’t have more than 10 articles published yet either.