My custom posts page is at:
https://techtips.org.uk/posts/
If I click the previous posts link I am taken to
https://techtips.org.uk/posts/page/2/ and this page does not exist.
For the links I am using this code:
<div class="navigation">
<div id="previous-entries"><?php next_posts_link(''); ?></div>
<div id="next-entries"><?php previous_posts_link(''); ?></div>
</div>
]]>For some time now, on my WP https://www.spiritualmanna.info, when one does a search or simply wants to look at previous or next entries, there is a doubling up of the folder structure (it should be /faith/manna/?…, but it comes up as /faith/manna/faith/manna/?…). If one manually removes the duplication, the function works.
I’m assuming that the difficulty is some kind of duplication or something in the definition of next_posts_link and previous_posts_link , but I have no idea where to find such definitions and what change would need to be made.
I have upgraded WP many times and the problem remains.
Help?
ELDV
]]>Thank you!
Jorge.
]]>The code on my index.php template looks like this:
<div class=”alignleft”>
<?php next_posts_link(‘« Previous Entries’) ?>
</div>
<div class=”alignright”>
<?php previous_posts_link(‘Next Entries »’) ?>
</div>
But the rendered page code in the browser looks like this – like the php code has been ignored, and no links show:
<div class=”prevnext”>
<div class=”alignleft”></div>
<div class=”alignright”></div>
</div>
Any help?
]]>I just upgraded to WordPress 2.3.3 and am having some navigation challenges when clicking on a category link from my sidebar (www.StrategyDriven.com). Although there are more than 5 (my default posting limit per page) posts within a category, I am not seeing the ‘Previous Entries’ link at the bottom of the page as I had prior to the upgrade. (I was using WordPress 2.0.2) The ‘Previous Entries’ and ‘Next Entries’ links work as they should from my Homepage, Archieves, and Search Results.
I believe I am using typical navigation coding within my theme as follows:
<div class=”navigation”>
<span class=”previous-entries”><?php next_posts_link(‘Previous Entries’) ?></span> <span class=”next-entries”><?php previous_posts_link(‘Next Entries’) ?></span>
</div>
in the Index.php and Search.php theme files.
I would greatly appreciate any help, suggestions, and direction you could provide to me.
Thanks,
Nathan
I’m currently working on a WP 2.3.2 install at https://stitchcraft.heathwitch.com and am tweaking it to fit my requirements — but I’ve come across an issue I can’t fathom out.
I’d like to have the functionality of “previous entries” and “next entries” links at the top and bottom of every page, regardless of whether it’s a category page, archived page, or the index page.
I have checked the plugins and cannot find what I need, so I’ve delved into the code.
I am currently using previous_posts_link to achieve this functionality, and it works with pages that are displayed using the index page template; however, it does not work with pages displayed using the archive page template.
This should be viewable if you visit the site; for example this shows it working:
https://stitchcraft.heathwitch.com/page/2/
This shows it not:
https://stitchcraft.heathwitch.com/2006/09/
Code is the same on each template page. Does anyone have any ideas?
Cheers,
H.
]]>If you go right bottom of the homepage of the blog, there is a previous entries link and also the next entries link if you go back a page.
The problem now is if i go in from these links, my image is not showing.
My image link that is showing the iamge should be like this:
https://myblog.com/myimagefolder/mypic.jpg
When i go to through the previous entries link, my image URL becomes like this
https://myblog.com/page/myimagefolder/mypic.jpg
and no image appearing.
There is a “page” directory appear out of nowhere.
Is it got something to do with permlinks? i customised the permlinks using $postnew$
Please help.
]]>The next and previous page links aren’t working for me, and I can’t find any code that diverges from the same couple lines everyone seems to use, as follows:
<?php posts_nav_link('', __(''), __('Previous Entries')); ?>
<?php posts_nav_link('', __('Next Entries'), __('')); ?>
These links work on my blogs that don’t use a static front page. On the new blog, they act like they work, but continuously link back to the front page of the blog.
Can someone help me understand what’s happening so I can let users page through my site?
]]>