Forum Replies Created
-
AuthorPosts
-
February 9, 2022 at 4:34 pm in reply to: Split Masonry Gallery from normal Masonry sort order #1339836
Hey Ismael,
thanks for the reply.
I’d rather like to debug the infinite reload problem, so when editing the page in the future wont always require make sure the masonry works.
Would you be able to assist me on this topic?Is there a better way to prevent infinite loading than the method mentioned above?
Thanks!
February 7, 2022 at 5:52 pm in reply to: Split Masonry Gallery from normal Masonry sort order #1339415Hi Ismael,
thanks for the response!
Yes, unfortunetly both masonries are on the same page.
If we could fix our original problem (Load More Button Shows Infinite Entries), we could remove this Code that inferes with our masonries.I suppose this has not been fixed with the newer versions.
Is there anything else I can try? Has this accured before?As always, big thanks in advance!
- This reply was modified 2 years, 9 months ago by emilconsor.
January 27, 2022 at 10:49 am in reply to: Disable Maintenance Mode for subscriber or new user role #1337476Hi Ismael,
nice, thats it!
Thanks!Regards,
SebastianHey Ismael,
that did the trick! Appreciate it.
Regards
January 27, 2022 at 8:57 am in reply to: Disable Maintenance Mode for subscriber or new user role #1337427Hi Ismael,
thanks.We already use this plugin. Can you tell us which capabilities we should adjust to achieve what we need?
Best regards
SebastianHi Ismael,
yes that worked great.
Thank you!
December 13, 2021 at 5:56 pm in reply to: update 4.8.8: Critical error – Call to undefined function avia_breadcrumbs #1332629Hi Yigit,
thanks for the fast reaction! that did it.
Hey Ismael,
thanks for the response.
Yes the problem still persits. The masonry sort order needs to be random, but only then the infinite duplicates appear.
Switching to a another sort order is not an option unfortunately.Site should be the same, thats just the URL for backend login.
I can’t figure out why this only happens when its set to random sort order.
Do you need FTP access?
Regards and thanks in advance
Hi,
Thank you for the quick reply. But adding the code didn’t quite do the job.
Let me describe my issue in more detail:
I created a couple of portfolio items with 6 different portfolio categories.
There will only be 8 portfolio items displayed on the masonry-gallery that is used on the page, you can add more by clicking “load more”.
I also activated the filter option for masonry-galleries. Right now, the portfolio categories depend on the displayed portfolio items. I want all portfolio categories to be shown in the filter at all times. Is there a way to show all portfolio categories without having to click “load more”Here you can see examples of what i mean. There are only 4 out of 6 categories shown.
https://share-your-photo.com/dc73b94fa4
There are only 2 out of 6 categories shown.
https://share-your-photo.com/8408e8c52a
Best regards,
Emil- This reply was modified 2 years, 11 months ago by emilconsor.
December 2, 2021 at 2:38 pm in reply to: Masonry Grid "Load more" shoes infinite duplicates #1331314Nevermind,
the solution was pretty obvious.
I chose order random, this caused the infnite duplicates. I switched it to order by slug and know the masonry stops once
all entries are displayed.December 2, 2021 at 11:09 am in reply to: Masonry Grid "Load more" shoes infinite duplicates #1331274Hi Ismael,
thanks for the response.
Yeah, the query filter is in the functions.php.
//exclude current portfolio entry add_filter('avia_masonry_entries_query','avia_exclude_current_masonry_item',10, 2); function avia_exclude_current_masonry_item($query, $params) { global $wp_query; $postid = $wp_query->post->ID; $query['post__not_in'] = array($postid); return $query; }
Nevermind, we solved that. Thanks anyway, you can ignore this!
Hi Ismael,
thanks for the suggestion, we will look into that.
I can only say that the code above seems to “override” a random post. Without the code in the functions.php, all posts are getting displayed.
Is there anything you/we can do here?Regards
Hi Ismael,
as just now, “Demobeitrag 9” is not being displayed on our end.
Hi Ismael,
yes, we tried that. There is always one blog post missing, independent of which one.
I’ve created a post and now suddenly the post not showing up anymore is a different one and the one who wasn’t showing up before is showing now.
It seems like there is always one post missing and I can’t find the reason.
Can this collide with the sticky-post code?
Like maybe one post is getting removed from displaying because of the sticky post or something?Hi Ismael,
thank you for your time!
This is working now, except there are still some posts missing. There should be 8 posts, but there are only 7 showing up. Do you have an idea on why this is the case?Regards
Hi Ismael,
sure – there you go.
HI Ismael,
the page isn’t live yet, so you can check that there.
Hi Mike,
thanks, that did it.
Hey Ismeal,
thanks! Updating to 4.8.7 worked fine. I wasn’t aware the update dropped today.
Regards
October 19, 2021 at 9:28 am in reply to: Disable post nav arrow on first or last entry in a category #1325532Hey Ismael,
thank you! That worked perfectly.
Appreciate your effort.
Sorry, it is working now. My fault!
Thank you Ismael.Hi Ismael,
strangely it is not on my end.
I’ve changed the filter in the functions.php toadd_filter("avia_masonry_entries_query", function($query, $params, $ajax = false) { if($ajax) { $sticky = get_option( 'sticky_posts' ); $query["post__not_in"] = $sticky; } return $query; }, 10, 3);
otherwise my page was broken.
Yes, I did add that. Do you have an idea why it is not working on my end?
Hi Ismael,
thanks for that. I tried overriding the av-helper-masonry by creating a shortcodes-directory in my child theme and loading them (just as described in your documentation with “avia_load_shortcodes”) but that doesnt override the helper. Is there another way to accomplish that? I would prefer to not touch the parent theme.
Best regards
Hi Ismael,
thanks again!Hi Ismael,
thanks for the snippet, this works – but only kind of.
The sticky post is on top – which is what we wanted. But the post will be displayed twice once you “load more” entries. Is there a way to exclude the sticky post from the query once it’s “on top”?- This reply was modified 3 years, 1 month ago by emilconsor.
Hi Ismael,
thank you! That worked.
Hi Ismael,
that works! Thank you for your time!
There is not a way to do that via the child theme, right?Hi Ismael,
sorry, we’ve changed that just recently. We still need that though, as you can see here https://www.econsor.de/referenzen/lamisse-onlineshop/ – once you’ve scrolled all the way down to the other references, you can click on one of them. They will open up a slider – you can see that on the screenshot too. https://imgur.com/LhL3O3dHi Ismael,
sorry for the late reply.
We already have that snippet in our functions.php, but that didn’t work.Regards
- This reply was modified 3 years, 1 month ago by emilconsor. Reason: Typo
-
AuthorPosts