Tagged: duplicate, load more, masonry blog
-
AuthorPosts
-
February 24, 2014 at 8:42 am #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!
February 25, 2014 at 8:05 am #228893Hey 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!
PeterFebruary 25, 2014 at 12:28 pm #228957This reply has been marked as private.February 26, 2014 at 4:40 pm #229621Hi!
Please install the latest version of the theme (2.5.4) and check if it fixes the issue.
Cheers!
PeterFebruary 26, 2014 at 5:47 pm #229658Hi,
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 filtersthanks
February 27, 2014 at 8:39 am #229957Hi!
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,
PeterFebruary 28, 2014 at 11:12 pm #230814Hi,
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.phpthanks
March 1, 2014 at 12:32 pm #231047Hey!
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,
PeterMarch 1, 2014 at 3:32 pm #231073This reply has been marked as private.March 4, 2014 at 8:53 am #232074Hi!
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 -
AuthorPosts
- You must be logged in to reply to this topic.