Views plugin lets you build your own custom search for any content type. These searches can be based on post content, taxonomies and custom fields.
When you ask for help or report issues, make sure to tell us settings for your custom search.
Viewing 15 topics - 2,176 through 2,190 (of 2,225 total)
Problem:
A custom search set to use ajax is not updating, nothing happens when changing filters.
Solution:
The View in question was split, with the search form inserted separately from the View results.
The View used a shortcode attribute to set a Query Filter value, but the attribute was only present on the Views shortcode that inserted the results, and was missing from the shortcode that inserted the search form.
I am trying to find out if its possible to filter by woocommerce stock number?
Solution:
The woocommerce SKU field is a hidden field using filed slug "_sku", you can enable it in Views UI:
Dashboard-> Toolset-> Settings-> Front-end Content
option "Hidden custom fields", click button "Select custom fields", find and enable the "_sku" field
Then you will be able to add filter on "_sku" field in view within Views UI
The issue here is that the user wanted to filter his prefiltered view with his frontend filters.
Solution:
This can be done normally by adding a query filter to your view and setting that query filter to get the value by shortcode attribute.
Then you can add your frontend filters as normal. However when calling your view on the frontend you will provide the shortcode parameter so it can be prefiltered.
Problem:
Hide access controlled posts in loop or display different content based on it
Solution:
Toolset access offers a hook toolset_access_api_get_post_permissions using which you can check the current post permission. It returns the boolean value.
Solution:
You should take reference of it from our free test platform discover-wp.com and setup a test site using the real estate reference site. You should check this example:
=> http://real-estate-wordpress.discover-wp.com/
- Please check “State” and “City” dropdowns with search form.