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 11 topics - 646 through 656 (of 656 total)
Problem: I have a custom search View that contains several filters. I would like to display the filters in the left column of the page, and results in the right column of the page.
Solution: If you are designing this View in the Block Editor, you may find the following course lesson helpful.
There is a video with more details showing how you can move the filters and results into a two-column design, side-by-side.
Problem:
The user has some post with a start and end datetime, on the same day, and he would like to filter the view by dates.
Solution:
The filter shortcode can take a values and dispaly_values arguments. Then we'll need custom code hook into the view and change its query filter.
Problem:
We have two related CPTs - Resources & Resource Items (1 Resource - many Items). Each individual Item has a select field to indicate an associated language.
We present users with a Resources page where they can search on various aspects of Resources and would like to add the ability to search for Resources according to which languages they are associated with via their related Resource Items.
Solution:
Currently, Toolset does not allow to filter a custom post type by custom fields on a related post type. This feature is on our list and will be added in the future, but we still don't know when.
It is worth mentioning that this can be implemented with custom code. It will need custom code to build the filter and another custom code that can use the toolset_get_related_posts function and hook into the view's wpv_filter_query query filter.
Problem: I would like to display a list of custom search tag filters as formatted text links. When a User clicks one of the text links, the search results in the View should update.
Solution: Use the "radio" input type and apply custom CSS to hide the radio button and apply styles to each label element to achieve the text link "pill" effect.