[resolved] Bare code visable on index page after thumbnail fix (3 posts)

  1. EnigmaPrime
    Posted 2 years ago #

    Hi, after fixing a thumbnail issue using the advice given on this thread
    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.

  2. Michael
    Part-Time Forum Moderator
    Posted 2 years ago #

    it seems rather unlikely that the output is from functions.php;

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

  3. EnigmaPrime
    Posted 2 years ago #

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



Topic Closed

This topic has been closed to new replies.

About this Topic