-
AuthorPosts
-
July 13, 2018 at 1:56 pm #985153
Hello
I can not understand why in the creation of a gallery with the masonery function at some point the order with which I entered the photos is not respected. What can this thing depend on when viewing? do I have to change any parameters?July 14, 2018 at 8:03 am #985421Hey digioiarte,
Please send us a temporary admin login and login URL so that we can have a closer look. You can post the details in the Private Content section of your reply. Also please point out where we can see and reproduce the problem.
Best regards,
RikardJuly 14, 2018 at 10:54 am #985459This reply has been marked as private.July 16, 2018 at 10:17 pm #986116Hi digioiarte,
Thanks for giving us admin access, I have checked your pages even posts and portfolio but I couldn’t seem to find the pages you listed.
Can you give us a specific link? so we can find it easily.Best regards,
NikkoJuly 17, 2018 at 12:36 am #986163This reply has been marked as private.July 17, 2018 at 2:13 pm #986434Hi digioiarte,
Thanks, unfortunately the admin access has already expired.
Can you extend it please.Best regards,
NikkoJuly 17, 2018 at 2:14 pm #986435This reply has been marked as private.July 17, 2018 at 9:57 pm #986665This reply has been marked as private.July 19, 2018 at 10:51 am #987328Hi digioiarte,
Thanks for giving us admin access, I tried this also on my end with the same settings and I’m not getting the same issues, can you try adding this code at the bottom of functions.php
add_filter('avia_masonry_entries_query', 'avia_masonry_custom_query'); function avia_masonry_custom_query( $query ) { $query['orderby'] = 'menu_order'; $query['order'] = 'ASC'; return $query; }
You can check in the WP codex for more details: https://codex.wordpress.org/Class_Reference/WP_Query#Order_.26_Orderby_Parameters
Hope it helps.Best regards,
NikkoJuly 19, 2018 at 9:24 pm #987632This reply has been marked as private.July 23, 2018 at 5:25 am #988583Hi,
Thanks for the update. The masonry gallery items are sorted properly. How did you fix it?
Best regards,
IsmaelJuly 23, 2018 at 8:03 pm #988866This reply has been marked as private.July 24, 2018 at 1:24 pm #989167Hi,
Thanks for the clarification. However, the sorting is still correct or the same when I set the size settings to “Masonry flessibile” instead of “Perfetta griglia”. Please check the page.
Screenshot: https://imgur.com/a/3jVNP38
Best regards,
IsmaelJuly 24, 2018 at 8:22 pm #989342This reply has been marked as private.July 25, 2018 at 7:38 am #989524Hi,
I see. It only happens on the 4th page? The order is correct until the 3rd page and I can barely notice the difference on the 4th. Did you upload images with different sizes for those items?
Best regards,
IsmaelJuly 25, 2018 at 9:10 pm #989928This reply has been marked as private.July 26, 2018 at 7:55 am #990096Hi,
The “flexible” option will display the images using the their original orientation and aspect ratio while the “perfect grid” option resizes and cropped the images so it creates a consistent grid regardless of the images’ size and ratio. So if you want to have a perfect grid while the “flexible” option is set, you have to use images with the same size and orientation.
Best regards,
IsmaelJuly 26, 2018 at 9:10 pm #990426ok I’ll try to do that
and I will let you know if I get the desired result
Thanks for your help
regards -
AuthorPosts
- You must be logged in to reply to this topic.