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,461 through 2,475 (of 2,494 total)
Problem:
For a View which queries posts how to order the results by taxonomy.
Solution:
It is a limitation of WordPress that posts cannot be ordered by taxonomy.
To do so requires manually re-ordering the posts with PHP after they have been returned from the database using the wpv_filter_query_post_process filter.
Problem: I have a problem showing the search and results sections of my View in two different parts of the page. When I place the View using two shortcodes, the search filters appear, but not the results. If I use a single shortcode to place the same View, both filters and results appear.
Solution: There is a problem in the markup of this View's Filter Editor panel. There is a div tag left unclosed, which results nested form tags when two separate Views shortcodes are used. Check your Filter Editor markup to confirm your HTML code is properly structured.
Problem: With Views and Divi active, several images and some text on my site does not appear.
Solution: This appears to be a problem with Divi's minification and caching systems. In Divi theme options, select "Déclarer les styles localement" to prevent this conflict.
Problem: I have a View that is sorted by a custom field. The field holds numbers that represent prices. The sorting seems to be wrong, and prices are appearing out of order.
Solution: Check to make sure the sorting feature is setup to sort using data type "UNSIGNED" or "number", not "string."
Problem: I would like to create a parametric search View where Users can search for Events using date filters and post relationship filters.
Solution: You can include multiple filters on any custom search View. Insert filters in the Filter Editor panel, and ensure they have a corresponding Query Filter.
Problem:
How can I create a checkbox, which when checked returns all results matching that value?
I want only one checkbox, not several values.
When that checkbox is checked, the results are filtered.
If it's not checekd, it's not filtered.
Solution:
Create a single Checkbox field and choose to save nothing in the database if not set.
Head to your posts who should be "yes" and update that Checkbox (check it)
In a View create a Custom Filter for that Field and choose as output "Single Checkbox".
That will produce a single Checkbox, unchecked by default, that the user can check, and it will then display only those posts with "yes" saved.
Problem: I would like to change the text "No results found" and remove the pagination buttons from my View.
Solution: You can change the "No results found" text in the View editor's Loop Output area. You can modify pagination settings and remove pagination controls from the Filter Editor area.