Viewing 19 posts - 1 through 19 (of 19 total)
  • Author
    Posts
  • #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.
    #688915

    Hey 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_post

    Best regards,
    Ismael

    #688936

    Hello
    so what sets that order though, publish date?

    #688938

    Do you see a better way of accomplishing this?

    #688943

    To 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.
    #689623

    This 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?

    #690544

    My 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.

    #690802

    Hi,

    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,
    Andy

    #691510

    Hello
    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
    Jacob

    #691698

    Hi,

    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,
    Andy

    #691736

    Hi Andy

    Here is a screenshot
    https://www.dropbox.com/s/fjb26hgcg91ufd4/duvcw.png?dl=0

    Per 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

    #691799

    Hi,

    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,
    Andy

    #691837

    Hi 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?

    #692074

    Post 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.
    #692088

    Ok 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.??

    #692514

    I 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!

    #692636

    Hi,

    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,
    Andy

    #692843

    I 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?

    #693714
Viewing 19 posts - 1 through 19 (of 19 total)
  • You must be logged in to reply to this topic.