Title: johnke's Replies | WordPress.org

---

# johnke

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

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

 Search replies:

## Forum Replies Created

Viewing 1 replies (of 1 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [Press This and setting a Default Category](https://wordpress.org/support/topic/press-this-and-setting-a-default-category/)
 *  [johnke](https://wordpress.org/support/users/johnke/)
 * (@johnke)
 * [17 years, 1 month ago](https://wordpress.org/support/topic/press-this-and-setting-a-default-category/#post-899088)
 * This is a horrible, kludgy solution to this. It will break the next time you 
   upgrade WordPress, but hopefully, there will be a feature to choose default categories
   for “press this” soon.
 * Edit wp-admin/press-this.php
 *     ```
       <div id="categorydiv" class="stuffbox">
         <h2><?php _e('Categories') ?></h2>
         <div class="inside">
           <div id="categories-all" class="ui-tabs-panel">
             <ul id="categorychecklist" class="list:category categorychecklist form-no-clear">
               <!-- Edit this line to suit your setup - my default category number is "11" and its name is "random" -->
               <li id='category-11'><label class="selectit"><input value="11" type="checkbox" checked name="post_category[]" id="in-category-11"/>random</label></li>
               <?php wp_category_checklist($post->ID, false, false, $popular_ids) ?>
             </ul>
           </div>
       ```
   

Viewing 1 replies (of 1 total)