vmandesign
Forum Replies Created
-
Forum: Hacks
In reply to: WP_Query and paging problemIs there a way you can show how to update the code on the single.php page to make this happen?
Forum: Hacks
In reply to: WP_Query and paging problemActually, it seems that I can get one adjacent post each time. The next_post and previous_post links are working, they are showing the title of the posts, and I can see the post on either side of the current post.
EDIT:
One issue I can see will come up is the fact that I’m trying to be able to pull four additional posts each time I click on the next_posts_link. I realize that this isn’t going to happen with the next_post and previous_post links because they are only asking for one at a time.Forum: Hacks
In reply to: WP_Query and paging problemHey there,
So I used the code you suggested.
Now I get “not foundnot foundnot foundnot found” where the four posts should be on the most recent post.
If I go to the second most recent post. I can see the most recent post as laid out in our code, but the other three are “not found”.
Forum: Hacks
In reply to: WP_Query and paging problemThank you for responding, natereist.
I added the global post variable as suggested. Removed the global paged variable.
I also added your <?php echo ‘Paged: ‘.$paged.’
‘; ?> before the query. It returns a 0.It is acting the same.
The thread you listed for help was useless. Heck, the thread didn’t even have an actual resolution. The last posts on the thread are still asking for answers.
I followed the suggestion of creating a new file “table.php”, with the code given in the thread, in the events folder in my theme’s folder, and there is no change.
I need an actual solution, please.