Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #228368

    Since the latest 2 updates I’m experimenting an issue with masonry blog.

    ‘load more’ button loads new posts duplicating the first row of posts of the new set.

    Sortable option should be on to reproduce the problem,

    Thanks!

    #228893

    Hey zufur!

    Please create me an admin account and post a link to your website. I couldn’t reproduce the issue on my test server and on the demo website: http://kriesi.at/themes/enfold/portfolio/masonry-portfolio/ and I must check your configuration first.

    Cheers!
    Peter

    #228957
    This reply has been marked as private.
    #229621

    Hi!

    Please install the latest version of the theme (2.5.4) and check if it fixes the issue.

    Cheers!
    Peter

    #229658

    Hi,
    Just updated, but unfortunately the problem is still there…
    I think the issue was introduced since this change log in ver 2.5.0:
    – improved: masonry read more button will now apply the activated filters

    thanks

    #229957

    Hi!

    Do you use a function which hooks into the avia_masonry_entries_query filter? Maybe a function which changes the sort order? If yes please post it here and I’ll make sure that the “load more” button . Basically you just need to add this line:

    
    if(!empty($params['link'])) return $query;
    

    Best regards,
    Peter

    #230814

    Hi,

    no I did not make any changes to Avia… just css styling.
    anyway I tried this both in child theme or directly in original enfold functions.php:

    add_filter('avia_masonry_entries_query', 'avia_masonry_entries_query');
    function avia_masonry_entries_query($params,$query)
    {
    
    if(!empty($params['link'])) return $query;
    
    }

    the result is that the masonry module (and only) disappear from the page…
    I even cleared all unrelated added filters in functions.php

    thanks

    #231047

    Hey!

    Yes sure – the code line alone won’t work and it’s only useful if you apply another filter function.

    Please create me an ftp account and post the login credentials. I’ll debug the php code.

    Best regards,
    Peter

    #231073
    This reply has been marked as private.
    #232074

    Hi!

    I’ll forward this issue to Kriesi because I couldn’t find the cause of the problem. I’m pretty sure it’s not a problem with the php file (and avia_masonry_entries_query filter) because the issue occurs on your server even if I remove the filter completely or replace the masonry grid php file with an older version of this file.

    Best regards,
    Peter

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