Title: Katherine White's Replies | WordPress.org

---

# Katherine White

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

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

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Social Media Aggregator] Blocking Featured Image](https://wordpress.org/support/topic/blocking-featured-image/)
 *  [Katherine White](https://wordpress.org/support/users/katwhite/)
 * (@katwhite)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/blocking-featured-image/#post-5562624)
 * I resolved this by adding a conditional to ensure the theme doesn’t already support
   this feature. I may do the theme override to avoid having to modify plugin code,
   but this is another alternative fix that may help someone.
 *     ```
       if ( !current_theme_supports( 'post-thumbnails') ) {
           add_theme_support('post-thumbnails', array($this->post_type));
       }
       ```
   
 * I’d love to see the plugin updated to address this — I’m very excited about the
   potential.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Per Page Widgets] modification to add per page widgets to custom post types](https://wordpress.org/support/topic/modification-to-add-per-page-widgets-to-custom-post-types/)
 *  [Katherine White](https://wordpress.org/support/users/katwhite/)
 * (@katwhite)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/modification-to-add-per-page-widgets-to-custom-post-types/#post-3433248)
 * This is the right idea, but there is a better approach.
 * Instead of editing the plugin file, use the WordPress action hook [add_meta_boxes](http://codex.wordpress.org/Function_Reference/add_meta_box)
   in your functions.php file or custom plugin. This way the boxes get added and
   you won’t run into upgrade issues on the plugin.
 * Here’s the adapted implementation:
 *     ```
       function my_custom_meta_boxes( $post_type, $post ) {
       	$args = array(
       		'public' => true,
       		'_builtin' => false
       	);
       	$operator = "and"; //'and or 'or'
       	$output = "names"; //names or objects - names is default
       	$post_types = get_post_types($args,$output,$operator);
   
       	foreach($post_types as $post_type) {
       		add_meta_box( 'i123_widgets_custom_fields', __('Per Page Widgets', 'i123_widgets'), 'i123_widgets_custom_fields_controllbox', $post_type, 'side', 'high' );
       	}
       }
   
       add_action( 'add_meta_boxes', 'my_custom_meta_boxes', 10, 2 );
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Plugin: User Photo] Compatible with 2.5 yet?](https://wordpress.org/support/topic/plugin-user-photo-compatible-with-25-yet/)
 *  [Katherine White](https://wordpress.org/support/users/katwhite/)
 * (@katwhite)
 * [18 years, 4 months ago](https://wordpress.org/support/topic/plugin-user-photo-compatible-with-25-yet/#post-738035)
 * Just create one based off archive.php (if you have that in your theme) or index.
   php. Then insert the call to render the user photo wherever you want it to go.
   The [Author Templates](http://codex.wordpress.org/Author_Templates) page even
   has a full sample author.php file you can just copy and paste (then update with
   the photo) if you want to.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Plugin: Category Posts Widget] Excerpt differs on site, excerpted post](https://wordpress.org/support/topic/plugin-category-posts-widget-excerpt-differs-on-site-excerpted-post/)
 *  Thread Starter [Katherine White](https://wordpress.org/support/users/katwhite/)
 * (@katwhite)
 * [18 years, 4 months ago](https://wordpress.org/support/topic/plugin-category-posts-widget-excerpt-differs-on-site-excerpted-post/#post-767256)
 * I was able to correct this by changing the call to `the_excerpt();` in `jl_cat_posts_widget()`
   to `echo $post->post_excerpt;` in `cat-posts.php`. It would be nice not to have
   to edit the plugin, though. If you (awesome developer person) have time to resolve
   it on your end, that would be ideal. Thanks!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Plugin: User Photo] Compatible with 2.5 yet?](https://wordpress.org/support/topic/plugin-user-photo-compatible-with-25-yet/)
 *  [Katherine White](https://wordpress.org/support/users/katwhite/)
 * (@katwhite)
 * [18 years, 5 months ago](https://wordpress.org/support/topic/plugin-user-photo-compatible-with-25-yet/#post-738025)
 * Works perfectly — thanks so much for the update. 🙂
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Plugin: User Photo] Compatible with 2.5 yet?](https://wordpress.org/support/topic/plugin-user-photo-compatible-with-25-yet/)
 *  [Katherine White](https://wordpress.org/support/users/katwhite/)
 * (@katwhite)
 * [18 years, 5 months ago](https://wordpress.org/support/topic/plugin-user-photo-compatible-with-25-yet/#post-738021)
 * I was able to get this working with 2.5 just by adding this to my author.php 
   file after populating `$curauth` (see the [Author Templates](http://codex.wordpress.org/Author_Templates)
   page for examples):
 * `$authordata = $curauth;`
 * I haven’t seen any ill effects yet (though overwriting globals always makes me
   nervous, but whatever).
 * Hope that’s helpful!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Plugin: Category Posts Widget] Excerpt differs on site, excerpted post](https://wordpress.org/support/topic/plugin-category-posts-widget-excerpt-differs-on-site-excerpted-post/)
 *  Thread Starter [Katherine White](https://wordpress.org/support/users/katwhite/)
 * (@katwhite)
 * [18 years, 5 months ago](https://wordpress.org/support/topic/plugin-category-posts-widget-excerpt-differs-on-site-excerpted-post/#post-766845)
 * Update: it looks like this is related to the plugin after all; I just did something
   similar pulling the excerpt with the c2c “Customizable Post Listings” plugin 
   and got the correct excerpt value on my home page. Thanks!

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