• I’m using the recent posts as my landing page, I would like to add the thumbnail to the excerpt. I’ve added to the function.php, but not certain if there is something to be added to another script, the ‘featured image’ field is not showing in edit posts either. My current image is embedded into the post

    /** 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)
  • Looking at the code of this theme ( not the one posted in the OP but from the theme’s svn ) it already does that for you.

    All you need to do is configure it under Theme Setting page. Choose to display excerpt and the featured image will automatically display.

    Thread Starter terrace_29

    (@terrace_29)

    All you need to do is configure it under Theme Setting page. Choose to display excerpt and the featured image will automatically display

    I wish that was the case but it is not, something is amiss or not configured properly. There is no ‘featured image’ widget in the post sidebar, I’m adding the image manually embedding it into the post. The landing page displays text only excerpts.

    Do you mean you can’t assign image as featured due to missing UI ?

    If that’s so, while editing post, pull down the Screen Option Tab over at the top and checkbox on Featured Image.

    Thread Starter terrace_29

    (@terrace_29)

    Thank you for your reply, I’ve been able to set the thumbs, I’m still not certain on the alignment, but I’m on the right path.

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