Viewing 21 posts - 1 through 21 (of 21 total)
  • Author
    Posts
  • #977065

    Hi, I have a website that has a listing of musical performers sorted in a grid alphabetically. However, it isn’t sorting correctly. It starts off fine, but as it gets into the “H”s it starts doing wacky things.

    For instance here is an occurrence of being out of order:

    He Said… She Said
    Hoopers – Vertical Fix
    Hedge Hands Wall

    so… > He, Ho, & He again.

    This happens throughout the sorting

    I tried changing between Name (post slug) and Title and both don’t seem to sort correctly. It flips the example above – but is still out of order. (not sure why it even flips it as the post url slug starts with the same letters as the titles)

    I have looked at post title, meta title, url, post-id, post date, even the category and nothing seems to be the culprit of the ordering issue.

    I deactivated all of plugins – no change. (now reactivated)

    I have reached my end of ideas for troubleshooting.

    Can you please help me determine why it is not sorting properly and what I should do to fix it. Thank you.

    It is a private membership site, so you will have to login to see the errors.

    #977082

    Hey kubera,
    I was not able to login to view your site, please check.
    I found that a recommended solution for this is to try this plugin to set the order:
    Taxonomy Terms Order

    Best regards,
    Mike

    #977105

    Hi Mike,
    I fixed the login sorry about that. Password has been reset to what I provided before.

    #977750

    Hi,

    Thank you for using Enfold.

    It’s one of the the isotope script bug where it tries to position a particular masonry item farther than where it is supposed to be located. Unfortunately, we are not sure why it’s doing that. You won’t see the issue when you’re using the Portfolio Grid element.

    Best regards,
    Ismael

    #978216

    But would using the portfolio-grid mean having to rebuild all of the categories and posts in the portfolio section? Or is there a way to call the existing regular posts and categories into the portfolio area?

    #978500

    Hi,

    Thanks for the update.

    I didn’t notice that you’re using regular posts. The blog posts’ grid layout could be an alternative but the layout is not quite the same as the masonry’s. Please try to edit the config-templatebuilder > aviashortcodes > masony_entries > masonry_entries.js file. Look for this code around line 54.

    filters['itemSelector'] = "a.isotope-item, div.isotope-item";
    

    Below, add this code…

    filters['horizontalOrder'] = true;
    

    Purge the cache and toggle the css/js compression in the Enfold > Performance panel. Let us know if it helps.

    Best regards,
    Ismael

    #978602

    I made sure the theme was up to date, then edited the config-templatebuilder file and did the css/js compression – but no change. I even tried in different browsers just to be sure cache was cleared.

    #978603

    I also tried the post grid layout but that doesnt work the same as far as the alphabetical sorting selection or the display of the title and expert only on hover and having it overlay the featured image of the post. – Like the masonry does.

    #978675

    Hi,

    Did you disable the js/css compression? It is still enabled when I checked the site and I can’t find the “horizontalOrder” parameter when I edited the merged js files. ( see private field )

    Best regards,
    Ismael

    #978692

    It was already disabled. So, when you said to toggle it I turned it on. HA. But, I just turned them off, and it still the same thing with the sorting issue. I just checked the masonry_entries.js file in my file manager in cpanel and the “horizontalOrder” parameter is saved in the file.

    #978695

    Also, When I do a find search on the page you sent – it shows in the code

    #979190

    Any other ideas?

    #979266

    Hi,

    I adjusted the “Order by” parameter from “name” to”title”. The ordering is more accurate when it is set to “title”.

    Best regards,
    Ismael

    #979408

    That is the way I originally had it. There is no change to the number of errors.

    #980383

    Anything else I can try to get the masonry to sort right?

    #981621

    Hi,

    I’m sorry for the late response. I adjusted the isotope script filter a bit.

    filters['layoutMode'] = 'fitRows';
    filters['packery'] = {gutter:0};
    filters['percentPosition'] = false;
    filters['itemSelector'] = ".isotope-item:not(.av-masonry-item-no-image)";
    

    I tried different layout modes but it is “fitRows” that works best. I also added the following css code just to make sure that the items have the same height.

    .page-id-4961 #av-masonry-1 .av-masonry-entry {
        min-height: 189px;
        max-height: 189px;
    }

    It is one of “fitRows” layout mode’s requirement.

    Best regards,
    Ismael

    • This reply was modified 6 years, 5 months ago by Ismael.
    #981660

    THANK YOU!

    I think that did the trick. It worked fine in Firefox, but I had to force the Chrome browser to refresh the cache. It seems to be working better now.

    #981846

    Hey!

    Awesome! Glad we could help. Please feel free to open a new thread if you need anything else. :)

    Regards,
    Ismael

    #1192076

    SOLVED (see the following post for explanation)
    Hello,
    I think I have a similar issue to the above.

    I am using the Masonry Element with Portfolio Items and post tags.
    Select Entries: Post Tag (various tag names are selected)
    Filter: display all entries
    Sorting: Yes, display sort options / Title / Ascending Order
    Captions: Display Title / Display as centered overlay / Hide on mouse hover

    I’d like a way to sort the order of the tent in alphabetical and numeric order.
    Currently they sort out of order
    1, 10, 11, 12, 13, 14, 15, 2, 20, 21, 3, 4, 5, 6, 7, 8, 9
    Desired sorting order
    1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 20, 21

    Could you offer a solution that is able to use sorting filters with a similar look and displays alphabetically?

    Thank you,
    Todd

    • This reply was modified 4 years, 9 months ago by twhaoske. Reason: solved my own problem. Yay!
    #1192083

    SOLVED
    I simply renamed my portfolio item pages as such:
    01 instead of 1
    02 instead of 2
    03 instead of 3
    and so forth. My bad, I should have tried this first. :)

    Now the sorting works as desired.

    Please disregard my previous post, perhaps it will help someone else.

    Thanks,
    Todd

    #1192160

    Hi Todd,

    Great, I’m glad that you found a solution and thanks for the update.

    Best regards,
    Rikard

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