renatoL-2
Support threads created in the last 30 days: 0
Favorite Forum Topics
This user has no favorite topics.
Forum Topics Created
Status | Topic | Supporter | Voices | Posts | Freshness |
---|---|---|---|---|---|
Woocommerce Price Add New Dont Work
Started by: renatoL-2 in: Toolset Professional Support |
2 | 2 | 3 years, 11 months ago | ||
Filter a View by Buddypress Member as post author
Started by: renatoL-2
in: Toolset Professional Support
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 Relevant Documentation: |
2 | 12 | 4 years ago | ||
conditional email field notifications
Started by: renatoL-2 in: Toolset Professional Support |
2 | 2 | 4 years ago |