Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter gnucco2

    (@gnucco2)

    Hi Josh
    I don’t think that this is an issue of “Add from server” plugin…it did what he had to do, populate my media library with all images…it can’t attach media to the post where they are inserted.

    Thanks

    Thread Starter gnucco2

    (@gnucco2)

    Well, in the end I just commented out the three functions in TwentyEleven functions.php

    /*	set_post_thumbnail_size( $custom_header_support['width'], $custom_header_support['height'], true ); */
    
    /*	add_image_size( 'large-feature', $custom_header_support['width'], $custom_header_support['height'], true ); */
    
    /*	add_image_size( 'small-feature', 500, 300 ); */

    and now I don’t have any intermediate picture…

    Thanks for pointing me in this direction
    bye, Fede

    Thread Starter gnucco2

    (@gnucco2)

    Thanks for your interest and help, Digital Raindrops.
    Me and my co-author post a lot of images so our web space finish very soon ??
    I’ve installed the plugin you suggested but I don’t understand it. It doesn’t allow me to select the first three intermediate fields:

    post-thumbnail 	1000px 	288px 	crop
    large-feature 	1000px 	288px 	crop
    small-feature 	500px 	300px

    saying that

    Additional uneditable sizes added by another plugin or theme via set_post_thumbnail_size() or add_image_size(). These sizes are ignored while creating or deleting sizes with this plugin.

    So I’ve tried to edit my functions.php copied in twentyeleven child directory, but if I put your code at the end of it wordpress generates an error saying this:

    Fatal error: Cannot redeclare twentyeleven_excerpt_length() (previously declared in /membri/chillesperienza/wordpress/wp-content/themes/twentyeleven-child/functions.php:335) in /membri/chillesperienza/wordpress/wp-content/themes/twentyeleven/functions.php on line 337

    Line 329-338 of functions.php is

    /**
     * Sets the post excerpt length to 40 words.
     *
     * To override this length in a child theme, remove the filter and add your own
     * function tied to the excerpt_length filter hook.
     */
    function twentyeleven_excerpt_length( $length ) {
    	return 40;
    }
    add_filter( 'excerpt_length', 'twentyeleven_excerpt_length' );

    Did I do something wrong?
    Thanks again
    Fede

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