Replies
I just want two tabs in the activity directory page which are (News Feed/All Activities) and (Mentions) tab.
I have removed all other tabs except the (following) tab what I want to achieve now is1. Remove the following tab in sitewide activity directory
2. When a user logs in to the sitewide activity directory the activities of users im following is loaded and everything works smoothly but when I click on a different tab like (favorites tab) or (mentions tab) and click back to (All members tab) the content loaded now changes to activities of all members on the site instead of enforcing only the content of members im following.
Im using legacy template
- Tosin on August 31, 2022 at 10:00 am in reply to: [Resolved] Pay Per Post by selling access with WooCommerce #46263
Hi Brajesh
This code no longer works
/** * Assign (Sponsored Post) category to BuddyBlog pay per post articles on checkout. */ add_action( 'bblpro_ppp_post_published', function( $post_id ) { $post_type = get_post_type( $post_id ); if ( 'post' != $post_type ) { return; } // Get category. $newcat = get_term_by( 'name', 'Sponsored posts', 'category' ); if ( ! $newcat ) { return; } wp_set_post_categories( $post_id, $newcat->term_id, true ); } );
- Tosin on August 30, 2022 at 9:36 pm in reply to: buddyblog medium editor not displaying embeds #46260
The embeds are working in the single post pages but when the video link is added via the editor the video preview does not show.
see image below
- Tosin on August 30, 2022 at 7:33 pm in reply to: [Resolved] Pay Per Post by selling access with WooCommerce #46259
Hello,
1. @ravisharma thanks for the update I have tested the plugin and everything works perfectly now.
2. @brajesh your snippet also works smoothly for emptying cart.
Thanks
- Tosin on August 30, 2022 at 10:15 am in reply to: [Resolved] Pay Per Post by selling access with WooCommerce #46239
Hi Brajesh
I had to add the value (true) to get it to work
WC()->cart->empty_cart( true );
- Tosin on August 30, 2022 at 9:49 am in reply to: buddyblog medium editor not displaying embeds #46238
Thanks Brajesh
The issue with the space is now resolved
- Tosin on August 30, 2022 at 7:28 am in reply to: [Resolved] Pay Per Post by selling access with WooCommerce #46231This reply has been marked as private.