
-
AuthorPosts
-
September 16, 2016 at 7:37 pm #687690
I have an issue, could be how I setup the system.
There are 300+ entries in portfolio section, each portfolio item is a veteran from the Civil War.
I am organizing them by First Letter of their Last Name, on separate pages. I also have States they served. Both these pages are supplied through categories of State and Letter. I have modified the SLUG to put their last name first and then set the portfolio grid to Alphabetical.The Issue
When I am on a detail page, the arrows to move to the next jump around across all types of people. I think the order is currently set by publish date. I need the arrows to go to the next person on the alphabetical list with in that page.Is that possible?
-
This topic was modified 8 years, 10 months ago by
bukkadesign.
September 20, 2016 at 5:12 am #688915Hey bukkadesign,
Thank you for using Enfold.
The post navigation can only fetch previous or next posts adjacent to the current post because it is based on the get_previous_post and get_next_post function. I’m sorry but you cannot set this script to sort alphabetically.
// https://codex.wordpress.org/Function_Reference/get_next_post
// https://codex.wordpress.org/Function_Reference/get_previous_postBest regards,
IsmaelSeptember 20, 2016 at 6:25 am #688936Hello
so what sets that order though, publish date?September 20, 2016 at 6:25 am #688938Do you see a better way of accomplishing this?
September 20, 2016 at 6:30 am #688943To be clear, all I am looking for is going to the next person in the same selected Letter (category) not alphabetically across all posts…
So D for example, is there a way to have next post go through all the Ds?
-
This reply was modified 8 years, 10 months ago by
bukkadesign.
September 21, 2016 at 7:00 am #689623This maybe closer to what I am looking for.
https://kriesi.at/support/topic/how-to-customize-previous-and-next-button-in-post/
I currently have the portfolio set to Ascending based on slug, which helps me get the alphabetical order.
I need the next and previous post to match the order on the parent page.
Possible?
September 23, 2016 at 8:02 am #690544My latest post seems closer to what I am looking for
NEXT/PREV buttons at bottom of portfolio entry page
Next / Prev goes to next post by title.This example seems outdated though with the latest theme?
Please advise.
September 23, 2016 at 3:11 pm #690802Hi,
I checked your link in question, but it seems you are displaying all entries now, which seems to fix the issue, as far as I can see it. So are you happy now?
If not I think it would be best to search a plugin with this function.Best regards,
AndySeptember 26, 2016 at 9:33 am #691510Hello
Let’s try this again, I may have not been clear on what I need.1) Move the Arrow Next/Previous Post buttons to the bottom of this page, remove from edge.
2) Change the Next/ Previous post and have it set to post slug or post title, instead of post publish date.Any help would be great!!
Thanks
JacobSeptember 26, 2016 at 2:34 pm #691698Hi,
1.) Use this code:
#top .avia-post-nav { top: 94%; }
2.) What do you mean? what exactly do you want to achieve? can you provide us an example please? about which post publish date are you talking about? I guess screenshots could help.
Best regards,
AndySeptember 26, 2016 at 3:36 pm #691736Hi Andy
Here is a screenshot
https://www.dropbox.com/s/fjb26hgcg91ufd4/duvcw.png?dl=0Per letter (PAGE) I have a portfolio GRID to display portfolio items by name (post slug) in an ascending order, I attached portfolio items with categories for each page by First Letter of Last Name (Category) and States (Category)
When I am on a G profile, I am looking for the arrows to match the order on the G page. I understand this can’t happen across pages but I’m hoping it can happen with the same category.
I currently have states as categories as well, I can change those to tags if it helps us in any way.
I hope this is clearer!
Thanks
September 26, 2016 at 5:00 pm #691799Hi,
I don’t really understand what you want us to show with your screenshot, but it all sounds as it would not be easily possible within basic support as we can offer here in this forum. Please hire a freelance developer for this job: http://kriesi.at/contact/customization
Best regards,
AndySeptember 26, 2016 at 5:42 pm #691837Hi Andy
I am wondering if the order of the arrow buttons can match the order set by the previous page in the portfolio grid. They are are to ascending by page title in the portfolio grid, while the arrows on the detail feel like they are set to publish date.Scroll to bottom of this https://kriesi.at/support/topic/how-to-customize-previous-and-next-button-in-post/
is this a similar solution?
September 27, 2016 at 8:09 am #692074Post Arrows are still stuck to the edge, I would like them placed inline on the page…
I tried the code above and then tried this as well…
#top .avia-post-nav {
position: absolute;
top: 70%;
}.avia-post-prev {
left: 10%;
}.avia-post-next {
right: 10%;
}-
This reply was modified 8 years, 10 months ago by
bukkadesign.
September 27, 2016 at 8:48 am #692088Ok not sure if this helps, I was able to find a plugin to order the posts by slug how I want on the admin side, but can we somehow apply that order to the NEXT and PREVIOUS arrows on the side?
Also any code I use to not hide the NEXT / PREVIOUS arrows it doesn’t work.??
September 28, 2016 at 7:50 am #692514I was able to set order through this plugin, they sent these links to help me with the Next Post functionality.
The default next / previous_post_link() WordPress functionality does not support sorting list. You will need to update and use next / previous_post_type_link() which are an extension through which a certain sort can be implemented, for more details and code example please check at :
1) Where can I find the current functionality for next / previous post buttons?
2) Do I add the updated code to single.php or single-portfolio.php?
3) Code above doesn’t fix the issue of brining the buttons onto the page, off the sides and not hide them.Please Help!
September 28, 2016 at 1:55 pm #692636Hi,
this is very confusing to me. Please keep writing about one issue only and feel free to open a different ticket for more questions/issues.
To move your buttons use this code:
#top .avia-post-nav { top: 90%; margin-right: 83px !important; margin-left: 83px !important; }
and adjust as needed.
For the other issue as already said please hire a freelance developer for this job: http://kriesi.at/contact/customization
Best regards,
AndySeptember 28, 2016 at 6:17 pm #692843I get it sorry for the multiple requests, but can you answer this for me?
1) Where can I find the current functionality for next / previous post buttons?
September 30, 2016 at 1:42 pm #693714Hi,
refer to: https://kriesi.at/support/topic/portfolio-nextprev-buttons-in-page/#post-502322
Best regards,
Andy -
This topic was modified 8 years, 10 months ago by
-
AuthorPosts
- You must be logged in to reply to this topic.