I attempted everything based in the web, but i am getting errors or that isn't things i am trying to find...
I must create a PAGE in wordpress, to exhibit Just the posts from the category having a certain ID ( during my situation id=8 ) i tryed to edit the loop-xxxx.php .. web site file... everything however i get always an issue navigation system does not work. I am talking about... returning to older posts will not work make the output shows the final posts rather than older one.
The code I am using informed or perhaps in web site file is:
<?php query_posts('cat=8'); while (have_posts()) : the_post(); the_content(); endwhile; ?>
i attempted placing it prior to the
<?php while ( have_posts() ) : the_post(); ?>
or prior to the call of loop within the index.php
help me :
One solution is by using a custom Wordpress_Query. Within the custom page's TEMPLATE file, where
ID may be the id from the specific category:
<?php $tmp_query = new WP_Query('cat=ID'); while ( $tmp_query->have_posts() ) : $tmp_query->the_post(); the_content(); endwhile; wp_reset_postdata(); ?>