theronin
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Admin widget drag and drop not workingI had the same problem where all other javascript in the WP admin area was working but the drag and drop for the page menu’s wasn’t. I installed the Google Libraries plugin and amazingly that seemed to fix the problem. Not exactly sure why because all javascript was loading correctly and I had every plugin disabled but at least it’s working again.
Forum: Plugins
In reply to: Pagination, Previous Page and Current Page are the same!Problem fixed: https://www.ads-software.com/support/topic/387650?replies=5
Forum: Fixing WordPress
In reply to: Pagination within page templates?Bingo! You hit the nail right on the head with that link. That was the exact problem I’ve been having and the proposed solution works perfectly for me. Thanks for pointing that out, and yes, I agree with you and Stylized Web that the WordPress Codex really aren’t very clear about the topic. I didn’t realise that query_posts overrides nearly everything in the standard posts objects query, including the page offset.
Thanks again, and I’ll keep it in mind for next time.
Forum: Fixing WordPress
In reply to: Pagination within page templates?Thanks for setting me straight on the use of wp_link_pages and thanks for pointing out post_nav_link too. This looks like what I need and having placed it outside the loop for the page in question I can now see the link to “Next Page ?”. However, when I click on the link it refreshes the page but the same articles are shown rather than the previous 5 (I have 5 per page set).
With regards to the ‘paged’ parameter of ‘query_posts’ I’m not sure if this will help at all. Because each page of my News section contains 5 Posts and these posts will grow over time I don’t want to define the total number of pages otherwise I’d have to go into the code and change it after every 5 new posts. I need this to be dynamic.
Any ideas why the post_nav_link isn’t working?
Forum: Plugins
In reply to: Pagination, Previous Page and Current Page are the same!Did you ever find a solution to this? I have the same problem.
Forum: Fixing WordPress
In reply to: PHP inside PHP echoOk, I see, just general PHP string concatenation.
Thanks again.
Forum: Fixing WordPress
In reply to: PHP inside PHP echoAhh, much simpler than I thought. I knew there would probably be a better way of doing it!
By the way what is the dot (.) notation for before and after the template tag?
Thanks for your help.