Ready to get started?Download WordPress


Adding Post Thumbnails (5 posts)

  1. terrace_29
    Posted 1 year ago #

    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.]

  2. esmi
    Forum Moderator
    Posted 1 year ago #

    What theme are you using? Where did you download it from?

  3. terrace_29
    Posted 1 year ago #

    the chiron theme, got it here at WP. I should've mentioned my image is currently embedded into the post.

  4. esmi
    Forum Moderator
    Posted 1 year ago #

  5. terrace_29
    Posted 1 year ago #

    Thank you

Topic Closed

This topic has been closed to new replies.

About this Topic