WordPress.org

Support

Support » Themes and Templates » Adding Post Thumbnails

Adding Post Thumbnails

  • terrace_29
    Member

    @terrace_29

    I’m using a magazine style theme, the landing page is using ‘excerpts’ and showing the top 6 posts. I’m trying to add the thumbnail so show with the excerpt on the landing page. I’ve add the theme support string, but not seeing the thumbs or the feature image box in my edit posts page. Below is how I currently have it written: Do I need to additionally write from another script, or add something to this function.php page?

    /** Add theme support for Feed Links. */
    	add_theme_support( 'automatic-feed-links' );
    
    	/** Add theme support for Custom Background. */
    	add_theme_support( 'custom-background', array( 'default-color' => 'fff' ) );
    
    	/** Set content width. */
    	chiron_set_content_width( 640 );
    
            <strong>/** Add theme support for Post Thumbnail. */
            add_theme_support( 'post-thumbnails' );</strong>
    
    	/** Add custom image sizes. */
    	add_action( 'init', 'chiron_add_image_sizes' );

    [Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Adding Post Thumbnails’ is closed to new replies.