Views is a WordPress plugin that lets you easily design the display of single pages using content templates. You can also include any field belonging to the content in your templates, without writing PHP code.
When you ask for help or report issues, make sure to tell us what you have created so far and what you want to achieve.
Viewing 15 topics - 556 through 570 (of 885 total)
Problem:
Assign a template to the products pages of a specific category
Solution:
You can use the view/block filter hook "wpv_filter_force_template" to assign content template dynamically for single product posts based on the taxonomy term or product category.
Problem: When I try to display a grid View in Elementor using a shortcode, the grid is shown in a single column instead of 3 columns. If I display the same View without Elementor, 3 columns are displayed as expected.
Solution: Copy the missing CSS and paste it into the View's Custom CSS panel:
Problem: I have a View that displays results in 4 different styles. I would like to repeat the pattern of style 1, style 2, style 3, and style 4 in the results. Another ticket discusses a solution for repeating 2 styles: @https://toolset.com/forums/topic/changing-row-colors-in-a-view/
How can I extend this solution to work with 4 styles in a repeating pattern?
Solution: Use wrap="4" to indicate you want to repeat the pattern every 4 items in the results, and use the wpv-item shortcode to define each iteration of the 4-item loop.