Hello,
I have a masonry gallery shortcode and blog posts element in the same page. When i paginate the blog posts, the masonry gallery disappears. Is there any way to get around this? So:
The Blog page contains the blog posts element as well as a Masonry gallery.
I want the same masonry gallery to display on every page of the blog.
I have set the pagination to None on the masonry gallery
The blog posts are paginated.
When we go to /page/2, the masonry gallery disappears
How can we make it always display on every page?
Thanks,
Danielle
Hey IdeaZone2550,
Thank you for using Enfold and thank’s for reporting this.
Please update enfold\config-templatebuilder\avia-shortcodes\av-helper-masonry.php around line 892 (function query_entries_by_id):
if(!$page) $page = 1;
Replace with:
if( ! $page || $params['paginate'] == 'none' )
{
$page = 1;
}
Do not forget to make a backup of the original file for a fallback – and clear server and browser cache.
If you need assistance in updating please provide WP admin credentials and a link to your backend and we can do it for you.
Best regards,
Günter