Views is a WordPress plugin that lets you easily display content on your website's front-end in any way you choose.
Views User Guides include detailed documentation for creating lists of content, templates for content and archive page and also explain how to create parametric searches for any content type.
When you ask for help or report issues, make sure to tell us the versions of the Toolset plugins that you have installed and activated.
Viewing 15 topics - 2,626 through 2,640 (of 2,725 total)
Problem: We recently updated the site and now I cannot edit the post content. I see a message that Layouts are being used to design the site instead of a post editor.
Solution: Deactivate and delete the Toolset Layouts plugin.
Problem: I would like to show a View of a custom post type filtered by post author, where the BuddyPress displayed member is the post author.
Solution: Use the Buddypress PHP API to create a custom shortcode that returns the Member's User ID. Pass the user ID into the post author filter as a shortcode attribute.
// custom shortcode to return displayed BP Member's user ID
add_shortcode( 'tssupp-get-bp-member-user-id', 'tssupp_get_bp_member_user_id_func');
function tssupp_get_bp_member_user_id_func($atts)
{
if( function_exists('bp_displayed_user_id')){
return bp_displayed_user_id();
}
return null;
}
Register tssupp-get-bp-member-user-id in Toolset > Settings > Front-end Content: Third party shortcode arguments
Problem: I have imported a site using FG Drupal to WordPress. Now when I try to display a custom field using a Types field shortcode, I see a fatal error:
Fatal error: Uncaught Error: Call to a member function get_value_filtered() on null in /path/to/site/wp-content/plugins/types/application/models/field/type/checkbox/view/frontend.php:33
Solution: Resave the field group containing this custom field, clear the Views cache, clear the Kinsta cache.