Forum Replies Created
-
AuthorPosts
-
May 12, 2021 at 6:13 pm in reply to: Several Masonry galleries on single page not loading properly #1299980This reply has been marked as private.May 8, 2021 at 5:59 pm in reply to: Several Masonry galleries on single page not loading properly #1299122
Thanks a lot for all your help Ismael.
Unfortunately I still can’t get it working like before, even though I replaced the line like you metioned. Following is the code in functions.phpadd_action('wp_footer', 'ava_auto_click'); function ava_auto_click() { if(!$_GET["psort"]) return; ?> <script> (function($){ $(window).on("load", function() { <?php echo '$(".'. $_GET["psort"] .'_sort_button").trigger("click");'; ?> }); })(jQuery); </script> <?php }
I guess and hope we are almost there..
Kind regards, ChrisMay 1, 2021 at 4:43 pm in reply to: Several Masonry galleries on single page not loading properly #1297719Thanks a lot for the reply
The last couple of days I tested all kind of value-combinations, but still the following masonry elements don’t load properly…
So I was thinking about a potential workaround to use just two instead of one masonry for each shop-category. Therefore I put a first masonry element at the beginning of the shop frontpage, with each of its pictures linking to a different masonry sorting category via ?psort=categoryslug ( https://kriesi.at/support/topic/direct-link-to-masonry-category/ ) within the second, big masonry showing all products. Like that, people can klick on a category and remain on the same page viewing the products of that category. Theoretically this should work and I already used the ?psort before, but somehow this time its just not working at all.
Please help, much appreciatedThanks a lot in advance
April 6, 2021 at 4:03 pm in reply to: Several Masonry galleries on single page not loading properly #1292816Of course (see below)
When I first load the page and beginn scrolling down from the top of the page, the first two masonry load correctly, but the following masonry galleries (3 4 5) don’t load until I scroll to the very bottom of the page and scroll up again. Something additional I took note right now: if I reload the page as one of these not loaded galleries (whitespace) potentially are in the viewfield, all of them almost load properly on reload the page. But I just cant tell my customers to just scroll down and up again or reload the page if products dont show up :-)
Kind regards, ChrisApril 5, 2021 at 6:24 pm in reply to: Several Masonry galleries on single page not loading properly #1292587Hi Nikko,
Thanks for your fast reply.
I turned off the js file merging in Enfold > Performance and it had no effect.. afterwards turned off all of the Performance settings, also without effect. Then I deactivated Autoptimize and Cache Enabler but the problem persists.
Best regards, ChrisI had already contacted my hosting provider and the support didn’t tell me anything about blocked memory limit. They even increased it to 512 MB for me, which obviously didn’t help either. I think some plugin completely messed up my database or I don’t know. Anyway, my solution after trying to fix it in each and every possible way which didn’t work out for over one week:
1. Screenshots of the WP and Enfold Options
2. Export Pages and Media
3. Delete all Plugins, Databases, Theme and finally WordPress
4. Completely fresh install of WordPress
5. Import Pages and Media
Took me about 4 hours. Of course this isn’t the best solution, but if I would have done it like this at the beginning would have saved me one week. Just for others to consider this option, if they cant solve their suddenly occuring bad gateway the “normal way”.Best regards,
ChrisThanks a lot Basilis.
Do you have any idea on why the memory limit isn’t working as I think the code is put correctly in the wp-config? Is it just this line which doesnt work or is it the whole wp-config? I also put in the code for post-revisions and apparently that line isnt working as well. Could it be possible that the php memory limit works on another theme, as like I mentioned above, I dont get a 502 Bad Gateway Error when Twenty Nineteen is activited? And most important, do you have any ideas on how to solve this?
Best regards,
ChrisHi Nikko, thanks a lot for the fast reply.
In the Private Content you find the URL for temporary login. Hope we can solve this. I also set up a temp FTP access for you. Just in case.
Best regards,
Chris -
AuthorPosts