Views is a WordPress plugin that lets you easily customize the standard WordPress listing pages using WordPress archives. You can redesign any WordPress archive, including custom post archives, taxonomy archives, author archives and search results.
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 - 871 through 885 (of 973 total)
Problem:
How to display current Author information on Author archive page
Solution:
You should create a custom shortcode to retrieve the current author ID on archive page and use it with [wpv-user] shortcode to display current author information on author archive page.
The issue here is that the user wanted to know if it was possible to assign posts from a CPT to different content templates.
Solution:
Yes this is possible as there is a content template section on the posts when editing the posts where you can select the content template that should be used for that post.
Display complete different Views wordpress archive for mobile user.
Solution:
Use filter hook "wpv_filter_force_wordpress_archive" to trigger a custom PHP function, check if it is a mobile user, then return different wordpress archive ID.
Problem: I have a custom post type called Companies with a repeating field group (RFG) called Company Locations. One of the fields in that RFG is an address field. On the Companies WordPress Archive page, I would like to show a Map with Markers for of all the Company Location posts. I would like to filter the Companies archive by a field in the RFG, and I would like to show a custom field from the parent Company in the marker popup.
Solution: It's not currently possible to filter a View of a CPT by fields on its RFGs.
To access custom fields from the Company post in a View of the RFG, use the item attribute in the shortcode with the syntax "@relationship-slug.parent".
Problem:
Views 2.6.2 changed how empty default options are added to Views filters where the options are manually set, adding an empty option even if one already exists.
Solution:
This was an unintended change which will be reverted in the next version of Views.
Problem: I would like to use a custom search View to display the search filters, then redirect the User to an archive page where the search results can be seen.
Solution: It's not currently possible to split up the search filters and results in a WordPress Archive. Use a custom search View or custom code.