Replies
The only thing I’m suspecting is my server
I’m on using cyberpanel which uses openlitespeed
But I have the litespeed cache plugin disabled
Hello Brajesh
I have deactivated all my plugins except only buddypress,
I have changed my theme to default twenty twenty theme, I have deleted bp-custom.php file but still activity is not deleting on both frontend and backendI’ve disabled all cache but the activity is still not deleting, I’ve also tried to delete the activity from the admin section but it’s still not deleting.
Yes Brajesh
This popup plugin works with buddypress I requested for a feature to add buddypress specific display rules and the author did include them.
https://wordpress.org/plugins/wp-popups-lite/
https://wordpress.org/support/topic/buddypress-support-53/
https://wordpress.org/support/topic/buddypress-member-type-support-2/
This is the link to the plugin https://github.com/buddydev/buddypress-auto-clean-notifications
- Tosin on October 21, 2022 at 8:52 pm in reply to: [Resolved] Using code to set category on publishing with BuddyBlog Pay Per Post not working #47057
Thanks Brajesh
This is now resolved
- Tosin on October 18, 2022 at 12:56 pm in reply to: [Resolved] Using code to set category on publishing with BuddyBlog Pay Per Post not working #47006
Kind reminder sir
Thanks
- Tosin on October 14, 2022 at 7:39 am in reply to: [Resolved] Using code to set category on publishing with BuddyBlog Pay Per Post not working #46972
Thanks for the feedback sir, correction noted
Hello the problem came from here
register_taxonomy(‘Post Type’, ‘post’, array(
it should be like this
register_taxonomy(‘post_type’, ‘post’, array(
This are the 2 codes below being used as two different plugins
LOCATION TAXONOMY PLUGIN
<?php /** Plugin Name: WP Taxonomy - Location Version: 1.0 Author: WordPress Description: Craete a new location taxonomy to organise content */ function create_post_location_taxonomy() { // Add new "Locations" taxonomy to Posts register_taxonomy('location', 'post', array( // Hierarchical taxonomy (like categories) 'hierarchical' => true, // This array of options controls the labels displayed in the WordPress Admin UI 'labels' => array( 'name' => _x( 'Locations', 'taxonomy general name' ), 'singular_name' => _x( 'Location', 'taxonomy singular name' ), 'search_items' => __( 'Search Locations' ), 'all_items' => __( 'All Locations' ), 'parent_item' => __( 'Parent Location' ), 'parent_item_colon' => __( 'Parent Location:' ), 'edit_item' => __( 'Edit Location' ), 'update_item' => __( 'Update Location' ), 'add_new_item' => __( 'Add New Location' ), 'new_item_name' => __( 'New Location Name' ), 'menu_name' => __( 'Locations' ), ), // Control the slugs used for this taxonomy 'rewrite' => array( 'slug' => 'post-location', // This controls the base slug that will display before each term 'with_front' => false, // Don't display the category base before "/locations/" 'hierarchical' => true // This will allow URL's like "/locations/boston/cambridge/" ), )); } add_action( 'init', 'create_post_location_taxonomy', 0 );
POST TYPE TAXONOMY PLUGIN
<?php /** Plugin Name: WP Taxonomy - Post Type Version: 1.0 Author: WordPress Description: Craete a new post type taxonomy to organise content */ function create_post_type_taxonomy() { // Add new "Post Types" taxonomy to Posts register_taxonomy('Post Type', 'post', array( // Hierarchical taxonomy (like categories) 'hierarchical' => true, // This array of options controls the labels displayed in the WordPress Admin UI 'labels' => array( 'name' => _x( 'Post Types', 'taxonomy general name' ), 'singular_name' => _x( 'Post Type', 'taxonomy singular name' ), 'search_items' => __( 'Search Post Types' ), 'all_items' => __( 'All Post Types' ), 'parent_item' => __( 'Parent Post Type' ), 'parent_item_colon' => __( 'Parent Post Type:' ), 'edit_item' => __( 'Edit Post Type' ), 'update_item' => __( 'Update Post Type' ), 'add_new_item' => __( 'Add New Post Type' ), 'new_item_name' => __( 'New Post Type Name' ), 'menu_name' => __( 'Post Types' ), ), // Control the slugs used for this taxonomy 'rewrite' => array( 'slug' => 'post-type', // This controls the base slug that will display before each term 'with_front' => false, // Don't display the category base before "/Post Types/" 'hierarchical' => true // This will allow URL's like "/Post Types/public/" ), )); } add_action( 'init', 'create_post_type_taxonomy', 0 );