Title: Featured Graphic Missing on Post
Last modified: August 31, 2016

---

# Featured Graphic Missing on Post

 *  [mommyu](https://wordpress.org/support/users/mommyu/)
 * (@mommyu)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/featured-graphic-missing-on-post/)
 * I love how the featured graphic appears with the post on the homepage but when
   a reader clicks on the post the featured graphic is gone.
 * I don’t mind the main graphic on all the pages, but we need the featured graphic
   on the page. We can insert within the body of the post, but I was hoping to avoid
   that. What can I do to make sure the featured graphic is posted on the blog post?
 * Website: [http://www.MommyUniversityNJ.com](http://www.MommyUniversityNJ.com)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [Madhusudan Pokharel](https://wordpress.org/support/users/madhusudan977/)
 * (@madhusudan977)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/featured-graphic-missing-on-post/#post-7039506)
 * Hello,
    To show featured graphic post, you need to add this:
 *     ```
       if ( has_post_thumbnail() && is_singular('post' )) {
       the_post_thumbnail('');
       }
       ```
   
 * in functions.php within the <div class=”banner”>
 * > What can I do to make sure the featured graphic is posted on the blog post?
 * Go to Appearance->Editor-> functions.php and edit, So the whole div will look
   like this once you’re done:
 *     ```
       <div class="banner">
       		<div class="wrap">
       			<?php
       			if(is_front_page()) {
       				lifestyle_get_home_banner();
       			} elseif ( !is_front_page() && get_theme_mod( 'lifestyle_header_home' ) ) {
       					echo '';
       			} else {
       				// get title
       				$id = get_option('page_for_posts');
   
       				if (( 'posts' == get_option( 'show_on_front' )) && (is_day() || is_month() || is_year() || is_tag() || is_category()  || is_home())) {
       						lifestyle_get_home_banner();
       				} elseif(is_home()) {
       					if ( has_post_thumbnail($id) ) {
       						echo get_the_post_thumbnail( $id, 'full' );
       					}
       				} elseif ( has_post_thumbnail() && is_singular('page' ) || has_post_thumbnail() && is_singular('post' )) {
       						the_post_thumbnail('');
       				}
       			}
       			?>
       		</div><!-- .wrap -->
         	</div><!-- .banner -->
       ```
   
 * I recommend you not to edit Lifestyle directly, since it is child theme of Omega
   but still create a child theme of Lifestyle [http://codex.wordpress.org/Child_Themes](http://codex.wordpress.org/Child_Themes)
   to work with.
 * A child theme of a Lifestyle also helps to keep any customisation during the 
   next upgrade.
 *  Thread Starter [mommyu](https://wordpress.org/support/users/mommyu/)
 * (@mommyu)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/featured-graphic-missing-on-post/#post-7039647)
 * I made that change but now the featured graphic each blog post has replaced the
   header graphic for the website and it’s huge.
 * Ideally it would be header graphic then graphic for the blog post.
 * Also, I am trying to create a child theme but I am having difficulty understanding
   how to do that.
 *  Thread Starter [mommyu](https://wordpress.org/support/users/mommyu/)
 * (@mommyu)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/featured-graphic-missing-on-post/#post-7039650)
 * I made that change but now the featured graphic each blog post has replaced the
   header graphic for the website and it’s huge.
 * Ideally it would be header graphic then graphic for the blog post.
 * Also, I am trying to create a child theme but I am having difficulty understanding
   how to do that.
 *  [Madhusudan Pokharel](https://wordpress.org/support/users/madhusudan977/)
 * (@madhusudan977)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/featured-graphic-missing-on-post/#post-7039674)
 * Hello,
    The theme is designed in such a way that either header graphic or feature
   graphic can be displayed.It’s not impossible to display both of them together,
   but the layout of your site will gets damaged. However it is possible to reduce
   the size of featured graphic. Let me know how can I help you.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Featured Graphic Missing on Post’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/lifestyle/0.2.0/screenshot.png)
 * Lifestyle
 * [Support Threads](https://wordpress.org/support/theme/lifestyle/)
 * [Active Topics](https://wordpress.org/support/theme/lifestyle/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/lifestyle/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/lifestyle/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Madhusudan Pokharel](https://wordpress.org/support/users/madhusudan977/)
 * Last activity: [10 years, 3 months ago](https://wordpress.org/support/topic/featured-graphic-missing-on-post/#post-7039674)
 * Status: not resolved