Views plugin provides an API, making it easy to display Views output using PHP.
When you ask for help or report issues, make sure to tell us all related information about your View and the data that you want to display using the Views API.
Viewing 15 topics - 196 through 210 (of 246 total)
Problem:
How to display the featured image of a specific post
Solution:
You can use the view's shortcode [wpv-post-featured-image] to output the featured image. To target the specific post, you can use the "item" attribute.
Problem:
The user would like to get a content template ID by slug.
Solution:
Content templates are just posts on an internal custom post type "view-template", you can get the post id by slug using the get_page_by_path function from WordPress.