Forums › Forums › Search & Filter Pro › Help with custom display results filter
- This topic has 6 replies, 2 voices, and was last updated 4 years, 7 months ago by Ross.
-
Anonymous(Private) May 20, 2020 at 2:32 pm #245138
Hi,
as you can see in the image (https://imgur.com/MaY8aXp) i set the shortcode of filter near as possible of my query posts as you specified in documentetion.But filter doesn’t show in frontend: https://dev.ledecorazioni.com/inspiration-v4/
Can you help me to understand where is the error?
Tnx so much,
AlessandroRoss Moderator(Private) May 20, 2020 at 3:11 pm #245143Hi Alessandro
It looks like you are using Elementor?
It seems like you are using our old integration steps.
Please remove that shortcode, and any javascript you might have added.
Instead, follow the instructions here (and install the Elementor extension):
https://searchandfilter.com/documentation/3rd-party/elementor/Thanks
Anonymous(Private) May 20, 2020 at 4:44 pm #245159Yeah i use elementor but i want to use a custom query like you explain in your docs because with integrations step i not have Lightbox working on my image as you can see here https://dev.ledecorazioni.com/inspiration-v3/).
Instead with my custom query i can use Lightbox for images fine…i need only know how can works with filter above it ๐
tNx so much in advice…
Ale
Ross Moderator(Private) May 21, 2020 at 10:28 am #245269Hi Ale
Ok, so you are trying to integrate with custom display method:
https://searchandfilter.com/documentation/search-results/custom/Instead of using
filter_next_query
shortcode, why don’t you addsearch_filter_id
to your query?$args = array('post_type' => 'post'); $args['search_filter_id'] = 123; $query = new WP_Query($args);
BTW, for some reason I don’t think our shortcodes work in the Elementor
shorcode
widget, you need to use atext
widget if you want to do it that way :/Thanks
Anonymous(Private) May 21, 2020 at 9:00 pm #245381Hi, i try to insert the shortcode in a text widget as you can see here: https://imgur.com/Pmoh7KE
But still doesn’t show anything. ๐
I need to use filter with custom post grid made by an Elementor widget (Dynamic Posts): https://dev.ledecorazioni.com/inspiration-v4/
I think that with shortcode is the simple solotuion but doesn’t work ๐
Help pls,
Ale -
AuthorPosts