Forums › Forums › Search & Filter Pro › Custom fields are not working in filter
Tagged: custom fields
- This topic has 20 replies, 2 voices, and was last updated 7 years, 7 months ago by Anonymous.
-
Anonymous(Private) April 7, 2017 at 3:21 pm #101980
Hi thanks, I switched method to CUSTOM but its not working (nothings happen if i try to filter posts)
http://zajezdy.dobryden.eu/zajezd/category/bulharsko/I tried to find info in forums you sent me but there are some messages private and i can not find reason why its not working ๐
Second question, is there any way how to extend single site licence to developers one? And pay the difference between these variants?
Trevor(Private) April 7, 2017 at 3:36 pm #101982I have not yet given you the link code to link the form to the results, so the form will not work, yet.
You have the Divi grid element on the page, yes? But it is only one post per row?
If you wanted to add a shortcode above it, what element would you add? Is it a Text Element. Add that with a test string in so you can see where in the page it is. It should appear just above the posts, yes?
As to the license, the upgrade should be in your account area.
Anonymous(Private) April 7, 2017 at 3:49 pm #101985So i prepated this test page for finding solution.
http://zajezdy.dobryden.eu/zkusebni-stranka/I would prefere use search form in sidebar
Trevor(Private) April 7, 2017 at 4:20 pm #101989OK, in that form change the Ajax target container from
#main
to.et_pb_blog_grid
BTW, on the page, for one of the form field elements,
Length
is spelled incorrectly (in the form it is Lenght) with the ‘t’ and ‘h’ reversed.Above the grid all you need now is a code element with this in:
<script>(function ( $ ) { "use strict"; $(document).on("sf:ajaxfinish", ".searchandfilter", function(){ console.log("ajax complete"); var grids = document.getElementsByClassName('et_pb_blog_grid'); salvattore['register_grid'](grids[0]); }); }(jQuery));</script>
And a Text element, with this shortcode in:
[searchandfilter id="307" action="filter_next_query"]
These two elements go in the main content section above/before the grid element.
Anonymous(Private) April 7, 2017 at 4:35 pm #102002The form disappeared ๐
page admin screen:
https://snag.gy/8nPXE7.jpgcode module screen https://snag.gy/3qA75H.jpg
text module screen: https://snag.gy/SC4Buf.jpg -
AuthorPosts