mikedistras
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Query posts and Pagination Links BrokenOh, no idea why there is double nav in there either, got rid of that anyway now…
Added the endwhile and endif statements to the other query’s on the page, and added wp_reset_query too.
Also done the first loop as you mentioned however its still doing the same as before… The nav links are displaying, however no content changes.
Current layout:
https://wordpress.pastebin.com/jkrkfsx2Forum: Fixing WordPress
In reply to: Query posts and Pagination Links BrokenIm trying to get any that will get the pagination to work just on that main ‘News’ Category…
I added
while ( have_posts() ) : the_post()
afterquery_posts($args);
and then the endwhile After the post styling, then the navigation straight after endwhile.Still doesnt work… Did i add them in the wrong order/wrong place?
Forum: Fixing WordPress
In reply to: Query posts and Pagination Links BrokenRev. Voodoo, Which pastebin link are you referring to? (Theres about 3 different ones above haha).
Could you please submit the edit on the pastebin too and ill test it out.
Forum: Fixing WordPress
In reply to: Query posts and Pagination Links BrokenThis is the code asmi gave me: https://wordpress.pastebin.com/XcPAtR9F
The code you just gave me didnt work either (https://wordpress.pastebin.com/5Rgs3udr)
Forum: Fixing WordPress
In reply to: Query posts and Pagination Links BrokenThis is with the code added from further up the page, that I think I entered wrong… https://wordpress.pastebin.com/XcPAtR9F
Forum: Fixing WordPress
In reply to: Query posts and Pagination Links BrokenPastebin Link : https://wordpress.pastebin.com/tBisk8P2
This is in the homepage template
Forum: Fixing WordPress
In reply to: Query posts and Pagination Links BrokenApologies for posting 3 times. Any toher help available? Or the above code being explained? cheers
Forum: Fixing WordPress
In reply to: Query posts and Pagination Links BrokenHeres link to current code: https://wordpress.pastebin.com/JZDiK1tX
Forum: Fixing WordPress
In reply to: Query posts and Pagination Links BrokenA little more info one where to place the code would be brilliant.
Do I need to add this to every place ive currently used the Query_Posts?
Or just on the posts I would like to Paginate?With the code above placed just on the main “News” part of the query it looks like this (and doesnt work still)
[Code moderated as per the Forum Rules. Please use the pastebin]