Title: djripraw's Replies | WordPress.org

---

# djripraw

  [  ](https://wordpress.org/support/users/djripraw/)

 *   [Profile](https://wordpress.org/support/users/djripraw/)
 *   [Topics Started](https://wordpress.org/support/users/djripraw/topics/)
 *   [Replies Created](https://wordpress.org/support/users/djripraw/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/djripraw/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/djripraw/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/djripraw/engagements/)
 *   [Favorites](https://wordpress.org/support/users/djripraw/favorites/)

 Search replies:

## Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[aCategory Dropdown List] Issue when Taxonomy is shared between multiple post types](https://wordpress.org/support/topic/issue-when-taxonomy-is-shared-between-multiple-post-types/)
 *  Thread Starter [djripraw](https://wordpress.org/support/users/djripraw/)
 * (@djripraw)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/issue-when-taxonomy-is-shared-between-multiple-post-types/#post-5603131)
 * Here is my fix for it.
 * I may have missed something so please check
 *     ```
       // Remove default categories/taxonomies boxes //
       add_action( 'admin_menu' , 'remove_default_categories_box' );
       function remove_default_categories_box() {
       	$options = get_option('aCategory');
   
       	foreach($options as $taxonomy){
       		$tax = get_taxonomy($taxonomy->slug);
       		$catSlug = $taxonomy->slug;
       		$catBox = $catSlug.'div';
       		$postType = $tax->object_type;
       		foreach ( $postType as $runPostType ):
       			if($taxonomy->replace == 1) remove_meta_box( $catBox, $runPostType, 'side' );
       		endforeach;
       	}
       }
   
       // Add categories/taxonomies custom boxes //
       add_action( 'add_meta_boxes', 'add_aCategories_box' );
       function add_aCategories_box(){
       	global $wpdb;
   
       	if (isWPMU()) $options = get_blog_option($wpdb->blogid, 'aCategory');
       	else $options = get_option('aCategory');
   
       	foreach($options as $taxonomy){
       		$tax = get_taxonomy($taxonomy->slug);
       		$catSlug = $taxonomy->slug;
       		$catBox = 'a-'.$catSlug;
       		$postType = $tax->object_type;
       		foreach ( $postType as $runPostType ):
       			if($taxonomy->replace == 1) add_meta_box( $catBox, $tax->labels->name, 'aCatSelect', $runPostType, 'side', 'core', array( 'catSlug' => $catSlug, 'options' => $taxonomy));
       		endforeach;
       	}
       }
       ```
   
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Manually change Author on post save?](https://wordpress.org/support/topic/manually-change-author-on-post-save/)
 *  Thread Starter [djripraw](https://wordpress.org/support/users/djripraw/)
 * (@djripraw)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/manually-change-author-on-post-save/#post-5602467)
 * For anyone that may stumble across this.
 * The 2nd answer on this page worked:
 * [http://wordpress.stackexchange.com/questions/51363/how-to-avoid-infinite-loop-in-save-post-callback](http://wordpress.stackexchange.com/questions/51363/how-to-avoid-infinite-loop-in-save-post-callback)
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Manually change Author on post save?](https://wordpress.org/support/topic/manually-change-author-on-post-save/)
 *  Thread Starter [djripraw](https://wordpress.org/support/users/djripraw/)
 * (@djripraw)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/manually-change-author-on-post-save/#post-5602460)
 * Unfortunately not. I need it to be an automatic progress.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Manually change Author on post save?](https://wordpress.org/support/topic/manually-change-author-on-post-save/)
 *  Thread Starter [djripraw](https://wordpress.org/support/users/djripraw/)
 * (@djripraw)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/manually-change-author-on-post-save/#post-5602448)
 * Hi. Thanks for your reply.
 * Initially the players are created by the admin (me) and i manually assign them
   to a team.
 * Once the website is live, the players will be added by a Coach

Viewing 4 replies - 1 through 4 (of 4 total)