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

    #985421

    Hey 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,
    Rikard

    #985459
    This reply has been marked as private.
    #986116

    Hi 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,
    Nikko

    #986163
    This reply has been marked as private.
    #986434

    Hi digioiarte,

    Thanks, unfortunately the admin access has already expired.
    Can you extend it please.

    Best regards,
    Nikko

    #986435
    This reply has been marked as private.
    #986665
    This reply has been marked as private.
    #987328

    Hi 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,
    Nikko

    #987632
    This reply has been marked as private.
    #988583

    Hi,

    Thanks for the update. The masonry gallery items are sorted properly. How did you fix it?

    Best regards,
    Ismael

    #988866
    This reply has been marked as private.
    #989167

    Hi,

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

    #989342
    This reply has been marked as private.
    #989524

    Hi,

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

    #989928
    This reply has been marked as private.
    #990096

    Hi,

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

    #990426

    ok I’ll try to do that
    and I will let you know if I get the desired result
    Thanks for your help
    regards

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