WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: WordPress MU Sitewide Tags Pages] Option for setting the thumbnail size

[Resolved] [Plugin: WordPress MU Sitewide Tags Pages] Option for setting the thumbnail size

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Ron Rennick

    @wpmuguru

    You need version 0.4.2

    add_filter( 'sitewide_tags_thumb_size', 'my_swt_thumb_size' );
    function my_swt_thumb_size( $size ) {
    return 'your_size';
    }

    if you want to use a custom size across the network

    add_image_size( 'your_size', 300, 200, true );

    Thanks. I figured there would be something to filter. Would the above be going into the main site’s functions.php or am I looking at having to maintain a modified version of the plugin?

    I made a simple plugin and enabled it sitewide.

    Hi Ron & Jon: Could you confirm my understanding of your conversation above?

    add_filter( 'sitewide_tags_thumb_size', 'my_swt_thumb_size' );
    function my_swt_thumb_size( $size ) {
    return 'your_size';
    }

    Add this to the plugin to get an option for thumbnail size?

    `add_image_size( ‘your_size’, 300, 200, true );’

    This added to SWT will create a consistent thumbnail size across all blogs in the network?

    Jon, you mentioned making a plugin – mind sharing? 🙂

    Plugin Author Ron Rennick

    @wpmuguru

    Bill, you have all the code for the plugin. The only thing I didn’t do above was put it in a php file.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Resolved] [Plugin: WordPress MU Sitewide Tags Pages] Option for setting the thumbnail size’ is closed to new replies.