-
AuthorPosts
-
August 5, 2020 at 1:04 pm #1235393
Hi there.
I just bought the Search & Filter Pro plugin to be able to filter the results of categories and tags. It works on a page without any other elements, just a page with a code block and a masonry grid below it.
But as soon as I add elements above or below the code block the search stops working. Anything added below the masonry still works.
I already tried turning off Ajax search, but that didn’t work.
Do you have any experience or idea’s on getting this combination to work?- This topic was modified 4 years, 4 months ago by rhae.
August 7, 2020 at 8:17 am #1235934Hey rhae,
Thank you for the inquiry.
We tried to login to the site using the account above but it seems to be incorrect. Please check the info carefully. And please note that we don’t provide support for third party plugins as stated on our support policy but we’ll try to help as much as possible. You may need to contact the plugin developer for additional assistance.
Best regards,
IsmaelAugust 7, 2020 at 10:56 am #1235969This reply has been marked as private.August 11, 2020 at 5:08 am #1236563Hi,
Thank you for the update.
How did you set the Search to work with the Masonry element? Did you set it manually, or does the search automatically alters the query in the page? It’s possible that the search script looks for the closest element that is using a query and alters that one. The search still works when we added a static text below the code block.
Best regards,
IsmaelAugust 11, 2020 at 11:14 am #1236641Hi Ismael,
thank you for looking into it. It just worked, so it must be like you’re thinking.
Any idea why it stops working when I put a new layout element above the code block or between the code block and the masonry?
Like the 1/1 block that I placed below it with the test text?Best regards, Haiko.
- This reply was modified 4 years, 4 months ago by rhae.
August 13, 2020 at 4:06 am #1237225Hi,
Any idea why it stops working when I put a new layout element above the code block or between the code block and the masonry?
It might be looking for the closest element that queries the database or maybe alters the main query in the page, so the sorting stops working for the masonry element when an image element is placed below the code block.
Maybe try to refrain from adding elements between the code block and the masonry to prevent the issue from occuring. Besides, it also makes sense to place the filter right next to the element it’s supposed to sort.
Best regards,
IsmaelAugust 13, 2020 at 11:15 am #1237346Hi Ismael,
Not putting anything between the code block and the masonry is not a big problem.
We wanted to put a small graphic element there, but we can do without that.
I can’t put any layout block above the code block though. Any idea why that is and if it can be fixed?Best regards, Haiko.
August 14, 2020 at 4:52 am #1237655Hey!
I can’t put any layout block above the code block though. Any idea why that is and if it can be fixed?
We’ve tried adding a static text or a text block below the code block and the filter still worked properly. Unfortunately, we are not sure why it stops working when something is added above the filter. Try to make sure that the content of the layout block is static or that it doesn’t query anything from the database.
For additional info and assistance, please contact the plugin developers.
Cheers!
Ismael -
AuthorPosts
- You must be logged in to reply to this topic.