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 - 2,041 through 2,055 (of 2,107 total)
Problem: I have a View of custom posts. I have a custom field applied to those posts. Depending on the value of that custom field, I would like to apply a different Content Template to each item in the Loop.
Solution:
Use conditional HTML to test the value of the custom field, and show or hide the corresponding Content Templates.
Display a list of custom post type States sharing a parent custom post type State Group. The relationship, states-in-group, is one State Group to many States.
Solution:
Need to fix the post type relationship slug in Views shortcode, see details here: