[SOLVED] Post navigation alphabetically
Al my posts are alphabetically, now i would like to see the navigation in single post pages to show alphabetically aswell.
Is there a way? note that not all posts are in the same catagorie, but even then they should be alphabetically. Help would be much appreciated :) |
Be default, posts show in the order they were published. Have you used a page template to make changes?
What version of Atahualpa and WP? What is the url? |
There are plugins that will display posts alphabetically as one of the options. Link Category Posts is the first that comes to mind.
|
I used:
Post Sorting Reloaded plugin to alphabetically order posts in categorie pages, I'm also using link category post to get lists of all my categories alphabetically on a "view all post" page. but the navigation on 1 post on page pages is still not alphabetically. I've got the most recent atahualpa and wp and i didn't change the page template (as far as i can remember). Here's an url that shows what im talking about: http://www.bushcraftvereniging.nl/wiki/pemmican/ You see the post "Pemmican" The next is trapper and the previous is bannocks.. but there should be a lot between the b and p. (note that this page was only created 3/4 days go and is still very empty) |
The next previous links are still based on chronological order. I just did a Google search for "wordpress next previous alphabetical" and came up with a link that sent me to this plugin which might be what you need.
Often a quick Google search or a search at wordpress.org will help with things along these lines. |
To make that work i need to find the "next_post_link" and "previous_post_link " tags...
it said to be in single.php but i can't seem to find it? this is what i need to put "somewhere" i guess: HTML Code:
<?php next_post_link_plus( array('order_by' => 'post_title') ); ?> |
Atahualpa sets up the next/previous links via calls to the wordpress functions 'next_post_link' and 'previous_post_link' in bfa_nexr_previous_links.php
Note there are several places it calls them based on the type of page and it uses the options from ato->Next/Previous Navigation settings |
The single post pages are the only ones that mather to me,
HTML Code:
/* Next/Previous POST Links (on single post pages) changing HTML Code:
previous_post_link($bfa_ata['single_next_prev_older']); HTML Code:
previous_post_link_plus( array('order_by' => 'post_title') ); |
Quote:
|
Quote:
I installed 'Next/Previous Post Link Plus for WordPress' ad it worked for me - make sure you disable andy caching plugins you have. |
Quote:
If there's a way to not use this plugin i would prefere it, but using it is hard enough aswell. what would be caching plugins? |
That is the plugin I tried it with and it worked fine.
It look like you DO NOT have a caching plugin active (like w3 total cache) |
I simply got the plugin by searching for it at wp-admin panel and letting wp install it. Install was succesfull, But nothing happened. Do i need to do anything extra?
|
Well you have to make the changes to bfa_nexr_previous_links.php and make sure to make them to the next AND previous
|
I tried that the way i explained a few posts earlier.. but i think im doing something wrong?
is it possible to show me what i need to replace with what? Or maybe show me what you did? |
Here is what I changed you can see the commented out lines
HTML Code:
/* Next/Previous POST Links (on single post pages) |
I copied past yours and this is what i got:
Quote:
|
I found the problem!
Thank you very much!!! I had a wrong version of the plugin installed. It seems to work now! thanks for putting up with me. |
All times are GMT -6. The time now is 02:52 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.