WordPress.org

Ready to get started?Download WordPress

Forums

Co-Authors Plus
[resolved] Extra images created by plugin (2 posts)

  1. edeneye
    Member
    Posted 1 year ago #

    First of all, this is a great plugin. It actually killed two birds (co-authors and guest authors) with one stone for me in setting up a new WordPress site.

    I noticed that this plugin registers 4 new image sizes seemingly for potential guest author avatars. Unfortunately, this is happening for all the media I upload, resulting in thousands of images that will never be needed.

    Is there a way to turn this feature off in the plugin, or to only have the plugin create the images for guest authors that may very well need an avatar?

    Thank you for your time.

    http://wordpress.org/extend/plugins/co-authors-plus/

  2. Daniel Bachhuber
    Hand Built
    Plugin Author

    Posted 1 year ago #

    You can limit that behavior with this filter:

    add_filter( 'coauthors_guest_author_avatar_sizes', 'capx_avatar_sizes' );
    function capx_avatar_sizes() {
        return array();
    }

    It wasn't the best decision on my part to register image sizes for guest authors. I'll try to have a better fix in the next release.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic