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.
|View using custom shortcode not working on new page, but works on existing pages||2||2 hours, 46 minutes ago|
|LINK type custom field||2||12 hours, 42 minutes ago|
|Product (custom) Post type renders wrong after Toolset update.||2||1 day ago|
|Confirm setup of template, post form, and custom fields||2||2 days, 6 hours ago|
|Different output in translated language||3||2 days, 14 hours ago|
|Issue with related posts views||2||3 days, 15 hours ago|
|Views stop BeaverBuilder Archive page for Woo shop working 1 2||4||3 days, 16 hours ago|
|Bootstrap 4 is conflicting with my BuddyBoss theme||2||4 days, 3 hours ago|
|Using shortcode inside view loop with custom field as attribute||2||5 days, 10 hours ago|
|Set default category on taxonomy views filter||2||1 week, 2 days ago|
|Some views display as normal, some views do not. (Reopening old issue: #2091067)||2||1 week, 3 days ago|
|Keep theme styling for tags and other elements||2||2 weeks, 1 day ago|
|Quantity input||2||3 weeks, 1 day ago|
Setting a default filter value on a view
Problem: I created two CPTs: Events and Profiles. I have a View of Events displayed in the template for Profile posts, and I would like to only display Events where the title of the current Post can be found in the "notes" WYSIWYG field on the Event post.
Solution: Configure the notes custom field Query Filter to use a shortcode attribute and pass the current Profile post title into that shortcode attribute like so:
[wpv-view name="your-events-view" search="[wpv-post-title]"]
This technique is called passing arguments to views, and allows you to create Views with dynamic Query Filters.
|2||3 weeks, 1 day ago|
|Using multiple content templates for a single custom post type||2||3 weeks, 1 day ago|