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 - 2,731 through 2,745 (of 3,158 total)
Problem:
The user would like to display draft posts for logged-in users.
Solution:
There are two ways to achieve this:
1. Using two views, that are displayed conditionally based on the logged in users.
One view will be displayed to non logged in users.
Another view will be displayed to logged-in users. In this view, add a query filter on post status to choose the statuses that you want to display. Check this article https://toolset.com/documentation/user-guides/views/filtering-views-query-by-post-status/
2. Using one view, and altering the query filter programmatically. You can use the wpv_filter_query and if the user is logged in, add the other statuses to the view's query arguments.
Problem:
The user is building links using HTML and Toolset shortcodes for the URL. The shortcode does not return the expected URL.
Solution:
The issue is somehow caused by Elementor. Maybe Elementor does some preprocessing of its modules before evaluating Toolset shortcodes. The shortcodes works as expected inside a Toolset Content Template.