Forums › Forums › Search & Filter Pro › Search & Filter Pro Form + Salient Portfolio
- This topic has 6 replies, 1 voice, and was last updated 2 years, 6 months ago by Anonymous.
-
Anonymous(Private) August 25, 2017 at 11:08 am #127637
Hey there – I’m trying to use a Search and Filter Pro Form to filter portfolio items from a Salient portfolio element. However, the Search Form and the Salient Portfolio don’t seem to be communicating. Nothing happens when I try to select filters. Here’s the page: http://37.60.234.89/~bantamgr/portfolio-2/
I was able to get things working when I displayed results using a Shortcode (shown here: http://37.60.234.89/~bantamgr/companies/), but I want the styling of the results to match that of the Salient portfolio element.
What should I do? Would it be easier to configure Salient and Search and Filter Pro to work together? Or to do custom styling on the default Shortcode results. Would appreciate guidance either way.
Thanks!
Trevor(Private) August 25, 2017 at 11:29 am #127638I think this MIGHT work:
Change the Display results method to
Custom
Set the Results URL to the full page URL of your portfolio page
Add the form in the usual way (probably using the shortcode), like this (with your form ID instead of 123):
[searchandfilter id="123"]
and then, just before the portfolio block (and if the form is just above the portfolio block this can be in the same block as that, after the form shortcode), this shortcode:
[searchandfilter id="123" action="filter_next_query"]
I do not know if Ajax will work, it might not, so try at first without that.
Anonymous(Private) August 28, 2017 at 3:10 pm #127937Thanks for the response. Just tried that, and unfortunately, nothing changed.
Unless you know of another way to connect my form with the Salient portfolio widget, then my best bet might be to customize the results listings myself. Is there any documentation on how to do that?
Anonymous(Private) April 28, 2022 at 1:15 am #276558Some years later: in the “ajax container” field, insert .row.portfolio-items
I’ve got a bug in the search: the filter works, but the opacity of the results were equals 0.
So, I inserted in the child theme style.css
.portfolio-items .col .inner-wrap[data-animation=”fade_in”], .portfolio-items:not(.carousel) .col .inner-wrap.animated {
opacity: 1!important;
} -
AuthorPosts