• Resolved EnigmaPrime

    (@enigmaprime)


    Hi, after fixing a thumbnail issue using the advice given on this thread
    http://wordpress.org/support/topic/35-broke-post-thumbnails-for-all-new-posts?replies=10#post-3924399
    I am now seeing code which was placed into the functions.php in order to fix the initial thumbnails issue, appearing on my index page.

    /* Add Theme Support ********************************************/
    function mimbo_setup() {
    
    	// This theme uses a custom image size for featured images, displayed on "standard" posts.
    	add_theme_support( 'post-thumbnails' );
    	set_post_thumbnail_size( 250, 230, true ); // 250x230, cropped
    }
    add_action( 'after_setup_theme', 'mimbo_setup' );

    The “add_theme_support( ‘post-thumbnails’ );” part is the only line that appears on my index page.
    I added the code via WP admin section Edit Themes.
    Anyone know how I can get rid of this text from appearing?

    Any help greatly appreciated.

Viewing 2 replies - 1 through 2 (of 2 total)
  • it seems rather unlikely that the output is from functions.php;

    have you searched all other templates of your theme for the text?

    Thread Starter EnigmaPrime

    (@enigmaprime)

    And correct you were, must have accidently added it to the index.php somehow.

    Thanks
    Al

    Resolved

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Bare code visable on index page after thumbnail fix’ is closed to new replies.