Forums › Forums › Search & Filter Pro › Uncode VC results
- This topic has 10 replies, 3 voices, and was last updated 8 years, 4 months ago by
Anonymous.
-
Anonymous(Private) March 15, 2017 at 3:41 am #96918
Thanks Trevor! Yes, I’m using the Post Masonry but can’t seem to make it work.
http://conveners.org/facilitation-encyclopedia/
Please help.
Thanks,
Susana
Anonymous(Private) March 15, 2017 at 9:28 pm #97180Hi Trevor,
Yes it came with the theme. However, in this thread it seemed to work for a person with the same theme as me. Do you know how it was fixed?
https://support.searchandfilter.com/forums/topic/style-results-to-fit-theme-vc/
Thanks!
Susana
Trevor(Private) March 16, 2017 at 9:33 am #97216I think so, yes. Just above the grid the user inserted a shortcode like this (works in S&F Pro V2.3.3 and higher):
[searchandfilter id='123' action='filter_next_query']
Where you would change the ID to the number for your form. At least, I think that is what was done.
Anonymous(Private) March 27, 2017 at 6:42 pm #99747Hi Vikas,
Yes, I was able to solve it thanks to Trevor. Insert the shortcode (Trevor mentions it in the above reply) inside a text box above your grid. Make sure to use the ID of your search form (lets call it “search form 1”). In your Search Form 1 settings go to the tab “display results”, select Visual Composer Post Grid and insert the url of the page where to show the results, lets call this “page 2”. I created a duplicate of my original page to show the results, so page 2 is identical to my original page. Duplicate your Search Form 1 and create a “search form 2”. In the search form 2 go to the tab “display results”, select Visual Composer Post Grid and insert the url of your original page. Above the grid in Page 2 insert the shortcode for your search from 2. Each page should include their corresponding search form, in the original page Search Form 1 and in Page 2 the Search Form 2. Your filter should work by displaying the results from one page to the other. The downside is that you have to jump from one page to the other to see the results, for the user it just seems they are refreshing the page. I wish that didn’t happen but for now it was the only solution I could find.
If you manage to make it work without having to jump from one page to the other please let me know.
Cheers!
Anonymous(Private) March 28, 2017 at 4:26 am #99846Hi Susana,
Yeah, it worked on a single page for me; following is what I did – see if it works for you:
1. Created S&F filter; set display result method to ‘Custom’; set the results page URL
2. In the results page – create VC Grid (Posts Module), set ‘Automatic Query’ to ‘No’
3. Just above the VC Grid, add the shortcode: [searchandfilter id=’xxx’ action=’filter_next_query’] (replace xxx with your s&f filter id)I haven’t yet been able to get Ajax to work though!
Best,
-
AuthorPosts