Title: moatmtn's Replies | WordPress.org

---

# moatmtn

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

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

 Search replies:

## Forum Replies Created

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

 *   Forum: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
   
   In reply to: [Set Context/Priority of Meta_Box Based on Registered Taxonomy](https://wordpress.org/support/topic/set-contextpriority-of-meta_box-based-on-registered-taxonomy/)
 *  Thread Starter [moatmtn](https://wordpress.org/support/users/moatmtn/)
 * (@moatmtn)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/set-contextpriority-of-meta_box-based-on-registered-taxonomy/#post-1631289)
 * Hi again, Mark.
 * Once more, thanks for pointing those errors out. I despise bad code, so I went
   in and cleaned everything up.
 * Cheers!
    -Steve
 *   Forum: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
   
   In reply to: [Set Context/Priority of Meta_Box Based on Registered Taxonomy](https://wordpress.org/support/topic/set-contextpriority-of-meta_box-based-on-registered-taxonomy/)
 *  Thread Starter [moatmtn](https://wordpress.org/support/users/moatmtn/)
 * (@moatmtn)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/set-contextpriority-of-meta_box-based-on-registered-taxonomy/#post-1631138)
 * Mark,
 * Thank you! That worked like a charm!!
 * You’re far too kind, by the way. And while I appreciate the delicacy with which
   you point out errors in my code, I am enthusiastic about learning, so **please**
   feel free to point them out if you have time…I have NO ego when it comes to this
   stuff. I just want to learn.
 * Again, many, many thanks! Hope things are good in England.
 * Cheers,
    Steve
 *   Forum: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
   
   In reply to: [Set Context/Priority of Meta_Box Based on Registered Taxonomy](https://wordpress.org/support/topic/set-contextpriority-of-meta_box-based-on-registered-taxonomy/)
 *  Thread Starter [moatmtn](https://wordpress.org/support/users/moatmtn/)
 * (@moatmtn)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/set-contextpriority-of-meta_box-based-on-registered-taxonomy/#post-1631094)
 * I jumped the gun! Can’t get the re-added meta_box to recognize the taxonomy. 
   Here’s my code:
 *     ```
       // Register deeds (Activity) post_type
       add_action('init', 'deeds_register');
   
       function deeds_register() {
   
       $labels = array(
       	'name' => _x('Activities', 'post type general name'),
       	'singular_name' => _x('Activity', 'post type singular name'),
       	'add_new' => _x("Post Today's Activity", 'add new post type name'),
       	'add_new_item' => __("Post Today's Activity...They're Waiting"),
       	'edit_item' => __('Edit Activity'),
       	'new_item' => __('New Activity'),
       	'view_item' => __('View Activity'),
       	'search_items' => __('Search Activities'),
       	'not_found' =>  __('Nothing found'),
       	'not_found_in_trash' => __('Nothing found in Trash'),
       	'parent_item_colon' => ''
       );
   
       $args = array(
       	'labels' => $labels,
       	'public' => true,
       	'publicly_queryable' => false,
       	'show_ui' => true,
       	'query_var' => true,
       	'rewrite' => true,
       	'capability_type' => 'post',
       	'hierarchical' => false,
       	'menu_position' => 8,
       	'register_meta_box_cb' => 'move_activitypost_box',
       	'supports' => array('title',)
         ); 
   
       register_post_type( 'deeds' , $args );
       // Register deeds (Activity) taxonomies
       register_taxonomy("activity-type", array("deeds"), array("hierarchical" => true, "label" => "Activity", "rewrite" => true,));
       register_taxonomy("activity-route", array("deeds"), array("hierarchical" => true, "label" => "Route", "labels" => array('all_items' => __('All Routes'),'add_new_item' => __('Add New Route'),), "rewrite" => true));
   
       add_action('do_meta_boxes', 'move_activitypost_box');
   
       function move_activitypost_box() {
       	remove_meta_box( 'activity-typediv', 'deeds', 'side' );
       	add_meta_box( 'activity-typediv', "Activity", 'move_activitypost_box', 'deeds', 'normal', 'high',array( 'taxonomy' => 'activity-type' ));
       }
       ```
   
 * Thanks in advance for your help, all!
    -Steve
 *   Forum: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
   
   In reply to: [Set Context/Priority of Meta_Box Based on Registered Taxonomy](https://wordpress.org/support/topic/set-contextpriority-of-meta_box-based-on-registered-taxonomy/)
 *  Thread Starter [moatmtn](https://wordpress.org/support/users/moatmtn/)
 * (@moatmtn)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/set-contextpriority-of-meta_box-based-on-registered-taxonomy/#post-1631066)
 * Hi, Mark.
 * Very helpful indeed! Thank you.
 * As an aside, do you know if setting `'label' => false,` when registering a new
   taxonomy would eliminate the need to remove a box (thus requiring that one only
   add a new meta box)?
 * No need to answer that one. I had just read that somewhere and wasn’t sure if
   it was an option.
 * Again, thank you!
 * Cheers,
    Steve
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Comment Authors List on Index](https://wordpress.org/support/topic/comment-authors-list-on-index/)
 *  [moatmtn](https://wordpress.org/support/users/moatmtn/)
 * (@moatmtn)
 * [17 years, 5 months ago](https://wordpress.org/support/topic/comment-authors-list-on-index/#post-889890)
 * jsarber,
 * I’ve been searching for an answer to the same question for some time now. Blogger.
   Com had a “tag” that did this, and I’m sure with a little PHP it’s possible in
   WP. I just lack the scripting skills.
 * Thanks in advance to anyone who can help!
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Posts Always Saved As Draft; Cannot Publish](https://wordpress.org/support/topic/posts-always-saved-as-draft-cannot-publish/)
 *  Thread Starter [moatmtn](https://wordpress.org/support/users/moatmtn/)
 * (@moatmtn)
 * [17 years, 6 months ago](https://wordpress.org/support/topic/posts-always-saved-as-draft-cannot-publish/#post-874992)
 * The problem persists.
 * It seems only to happen with posts that have names I’ve used before, but not 
   with posts with entirely new names. I’m using the ‘day and name’ permalink structure
   and tried going back to the default structure, which did nothing.
 * I’ve de-activated all plugins. No luck there. I’ve replaced the [wp-db.php file](http://wordpress.org/support/topic/173663?replies=2)
   and added an ‘.htaccess’ file to wp-admin as suggested elsewhere. No luck there
   either.
 * Anyone had this problem in 2.6.2?
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Posts Always Saved As Draft; Cannot Publish](https://wordpress.org/support/topic/posts-always-saved-as-draft-cannot-publish/)
 *  Thread Starter [moatmtn](https://wordpress.org/support/users/moatmtn/)
 * (@moatmtn)
 * [17 years, 7 months ago](https://wordpress.org/support/topic/posts-always-saved-as-draft-cannot-publish/#post-874800)
 * hotkee,
 * Again, thanks. Actually, this time (it’s happened a few times), I tried “backdating”
   the post when it was not publishing, but that wasn’t the issue.
 * I’m wondering if there’s a database issue with slugs or some-such. Of course,
   the fact that it published after I logged out this time complicates matters.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Posts Always Saved As Draft; Cannot Publish](https://wordpress.org/support/topic/posts-always-saved-as-draft-cannot-publish/)
 *  Thread Starter [moatmtn](https://wordpress.org/support/users/moatmtn/)
 * (@moatmtn)
 * [17 years, 7 months ago](https://wordpress.org/support/topic/posts-always-saved-as-draft-cannot-publish/#post-874792)
 * hotkee,
 * Thanks for getting back to me.
 * I just checked my local time settings, and I’m set for UTC -6, which is Mountain
   Standard Time, so it should be right.
 * Strangely, one of the posts that would not publish, just did _after_ I logged
   out. That’s odd.

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