Viewing 22 posts - 1 through 22 (of 22 total)
  • Author
    Posts
  • #711158

    Hi,

    I often use the masonry gallery shortcode for small galleries when I create blogposts. These galleries are always displayed when I open the post itself. And when I’m on the first page for the blogposts, the masonry galleris are also shown. But if I switch to the second (and so on) blogpage, the masonry galleries from these older blogposts don’t display anymore. They only appear if I open the blogpost or if the blogpost still stands on the first blogpage (so it must be one out of the ten newest blogposts).

    Is there any way to display the masonry galleries of the older blogposts?

    Thanks for any help!

    #711827

    Hi Jens!

    Thank you for using Enfold.

    I went to page 4 of the blog post overview page and a few of the posts still display the gallery.

    // https://www.kirche-mswest.de/aktuelle-beitraege-aus-der-pfarrei/page/4/

    Cheers!
    Ismael

    #711875

    Hi Ismael,

    thank you for your reply!

    The galleries that you’ve seen (on page 4) are made with the standard wordpress gallery tool. That’s the reason why they are displayed on each of the blog pages. Only the enfold masonry galleries, which I implemented by using shortcode in the blog posts are not displayed on the blogpages 2, 3 etc. These enfold masonry galleries are only displayed on the first blog page.
    I’ve no idea how to fix that problem.

    Greetings,
    Jens

    #712711

    Hi,

    I see. Thanks for the clarification. Please post the login details here so that we can check the posts from page 2 or 3.

    Best regards,
    Ismael

    #712793

    Hi Ismael,

    I’ve created a new admin-account for you. The details are in the private content area.

    Thx, Jens

    #714279

    Hey!

    Thank you for the info. I checked the posts and the settings but I’m not sure what’s causing the issue. Could you please provide the FTP details so that we can inspect it further?

    Regards,
    Ismael

    #714369

    Hi Ismael,

    here are the FTP-details … in the private content area.

    Greetings, Jens

    #716796

    Hey!

    Sorry for the delayed response. I have checked this issue and can confirm that this is a bug. I have reported this to our devs, hopefully this will be fixed soon. Thanks for using Enfold :)

    Regards,
    Nikko

    #716805

    Hey Nikko!

    Thank you for your help so far … hope a fix will come soon.

    Regards,
    Jens

    #716807

    Hey!

    Thanks for using Enfold also :) we will keep this thread open until this issue is resolved.
    Regards,
    Nikko

    #723266

    Hey Nikko,

    am I right, that the bug wasn’t or shouldn’t be fixed with the latest enfold update (3.8.2)?

    Regards, Jens

    #726842

    Hi,

    As Nikko mentioned, we have already reported the issue to our devs. They are currently working on the major update and investigating bug reports. We will include the fix in upcoming updates :)

    Let us know if you have any other questions or issues and enjoy your holidays!

    Best regards,
    Yigit

    #754933

    Hey!

    Please add this filter in the functions.php file:

    // masonry element query
    add_filter( 'avia_masonry_entries_query', 'avia_masonry_entries_query_mod', 10, 2);
    function avia_masonry_entries_query_mod( $query, $params ) {
    	if(!is_page(13)) return;
    	$query['paged'] = 1;
    	return $query;
    }

    Cheers!
    Ismael

    #756378

    Hi Ismael,

    the filter works fine. Thanks for the support!

    Regards, Jens

    #756404

    Hi Ismael,

    I have to correct myself: the filter doesn’t work as fine as I thought. The filter solves on the one hand the problem with the masonry galleries, which are inserted into blog-posts by shortcode and should be displayed even on further blog-pages.
    But on the other hand the filter ‘kills’ all masonry galleries which are inserted into all the other regular sites, which were build with the avia-editor.
    Without the filter everything works fine agin. Only the topic-problem still exists. Maybe an little adjustment solves this new problem easily. But I’m not able to do it by myself.

    Regards, Jens

    #759819

    Hi,

    Please replace is_home with the is_page conditional function. Use the id of the blog page as its value.

    Best regards,
    Ismael

    #769939

    Hi Ismael,

    the problem is back. The code above with the is_page conditional function didn’t work fine. And with the is_home condition the inserted masonry galleries are displayed in the further blog pages. But with that conditional function all the other masonry galleries on the other sites are not displayed anymore.

    And now, even if I delete the code completly, the text-inserted masonry galleries on the the further blog pages disappear. And some of the regular masonry galleries, integrated into sites, which were build with the avia-layout-builder, are not displayed. But on th eother hand some are displayed correctly at the same time.

    Right now I don’t know what to do next, because the masonry galleries are not displayed correctly wether I use the code in the functions.php or not.

    Maybe one of the last updates cause these new problems?!

    Thanks for your help in advance!

    Regards, Jens

    #772146

    Hi,

    Did you change the blog page? I checked the functions.php file but I can’t find the filter. Please use this instead.

    // masonry element query
    add_filter( 'avia_masonry_entries_query', 'avia_masonry_entries_query_mod', 10, 2);
    function avia_masonry_entries_query_mod( $query, $params ) {;
    	if ( !is_front_page() && is_home() ) {
    		$query['paged'] = 1;
    	}
    	return $query;
    }

    Best regards,
    Ismael

    #772285

    Hi Ismael,

    I didn’t change the blog page itself, but I changed the functions.php and deleted the initial filter. The filter with the is_page conditional function didn’t work at all, the first filter with the is_home conditional function worked for the further blog pages but it ‘killed’ all the other masonry galleries all over the whole site. So I decided to disable the filter for the moment.

    The new filter you provided above also doesn’t work. All masonry galleries over the wohle site disappear and the problem with the masonry galleries in the further blog pages also isn’t solved. They do not appear, if i click through the blog pages. They only appear if I open the blog posts with masonry galleries itself.

    For now I deleted the filter from the functions.php.
    Any new ideas or maybe corrections if I’m wrong are welcome.

    Thanks and regards,
    Jens

    #774812

    Hey!

    We modified the code in the functions.php file. Please check it again.

    Cheers!
    Ismael

    #775392

    Hi Ismael,

    after a quick look over all the relevant pages, it seems to me that the problem is solved. Thanks a lot!

    Best regards,
    Jens

    #775757

    Hi!

    Great! Please update us if you encounter the issue again. We’ll probably include a patch in the next version of the theme.

    Regards,
    Ismael

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