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 - 976 through 990 (of 997 total)
Problem: I would like to see a list of posts that are assigned to a particular Content Template.
Solution: The simplest quick way is to create a View that displays all posts and include a conditional that tests the value of the hidden custom field _views_template. For very large sites this might not be very practical, but you could use pagination if the list of all posts is quite long.
Problem: I would like to use the_content() in PHP to display post content, but when Views is active, the_content() is empty.
Solution: Usually this means a blank Content Template has been applied to the post. Edit the post in wp-admin and check the Content Template settings. Remove any template that may be applied to the post and try the_content() again.