Tagged: nav, pagination
- This topic has 4 replies, 2 voices, and was last updated 11 years, 11 months ago by Sakin.
-
AuthorPosts
-
November 17, 2012 at 4:30 am #1949hrcwebmasterMember
Hi there,
I’ve created a page for my posts page (“Newsroom”). I used the below code to pull the correct posts into this page:
7,
'orderby' =>'post_date',
'order' => 'DESC',
);
$my_query = new WP_Query($args);if( $my_query->have_posts() ) {
while ($my_query->have_posts()) : $my_query->the_post(); ?>
<a href="" rel="bookmark" title="Permanent Link to ">
I think it’s preventing the “previous” and “next” nav to show, which I believe are brought in with
I also
How can I make my posts page display the previous/next pages?
November 17, 2012 at 4:53 am #1950hrcwebmasterMemberNot sure what happened above, but it didn’t post everything correctly.
The code I have pulling in the correct posts into my Newsroom is:
7,
'orderby' =>'post_date',
'order' => 'DESC',
);
$my_query = new WP_Query($args);if( $my_query->have_posts() ) {
while ($my_query->have_posts()) : $my_query->the_post(); ?>
<a href="" rel="bookmark" title="Permanent Link to ">
But it’s not displaying the “previous” and “next” page of posts, even though this code is in there that I believe should be pulling that navigation:
November 21, 2012 at 11:18 pm #2008SakinKeymaster@hrcwebmaster: I am not getting what you mean. But first can you send me your site URL and the page link. Then you can paste the code in http://pastebin.com/ and send me the url of code.
November 22, 2012 at 2:18 am #2013hrcwebmasterMemberThe URL of the page is http://hrc.wastateleg.org/news/. I’m also trying to use it on http://hrc.wastateleg.org/gary-alexander/newsroom/.
I posted this same question on WordPress forums, got some suggestions, but no luck. The entire PHP file code is pasted there: http://wordpress.org/support/topic/problem-with-previousnext-links-for-my-page-of-posts-catchbox?replies=9.
Thank you for any help you can provide! I appreciate volunteers to help me, trying to get this site live in the next week or so!
November 22, 2012 at 9:03 am #2015SakinKeymaster -
AuthorPosts
- The topic ‘Previous/Next Pages Nav’ is closed to new replies.