Views is a WordPress plugin that lets you easily display content on your website's front-end in any way you choose.
Views User Guides include detailed documentation for creating lists of content, templates for content and archive page and also explain how to create parametric searches for any content type.
When you ask for help or report issues, make sure to tell us the versions of the Toolset plugins that you have installed and activated.
Viewing 15 topics - 1,816 through 1,830 (of 3,129 total)
Problem: I have a View of Products that should be ordered by a custom field on the Products post, but the order of posts does not seem to be correct based on the custom field value.
Solution: Our developers have issued a patch for this problem in Views 3.5.1 / Blocks 1.5.1, and the issue will be solved in the next release of the plugins. To solve the problem in Views 3.5.1 / Blocks 1.5.1, you have two options:
- Create a Query Filter based on this custom field, where the field value is not empty or not equal to a blank value.
- Apply the patch to the Toolset Views plugin or the Toolset Blocks plugin as described in the comments below.
The issue will be addressed in the next release of Views/Blocks, and the workarounds mentioned here will no longer be required once the plugins are updated.
Problem:
The user would like to filter orders by the day. Display the orders for a selected day.
Solution:
Toolset stores the dates and times as a number, it is the timestamp of the date or time. It is the date/time measured in the number of seconds since the Unix Epoch (January 1 1970 00:00:00 GMT).
The view's datepicker will provide the day, at 00:00:00, configure the filter to look for a value that is greater than the provided filter value(from URL param). We'll still need to look if the posts are lower than the next day(22/12/2022 00:00:00).
Unfortunately, this will need some custom code to calculate it. Please check this similar thread https://toolset.com/forums/topic/between-dates/#post-1537199