Featured Image

Discussion in 'RoadFighter WordPress Theme' started by elames3, Jun 30, 2013.

  1. elames3

    elames3 Member

    Joined:
    Jan 16, 2012
    Messages:
    89
    Likes Received:
    0
    How come I cannot put in a featured image on the subpages of my site?
     
  2. Piyush

    Piyush Support Staff

    Joined:
    Dec 8, 2012
    Messages:
    4,745
    Likes Received:
    107
  3. elames3

    elames3 Member

    Joined:
    Jan 16, 2012
    Messages:
    89
    Likes Received:
    0
    When I choose "Featured Image" from the WP page to insert an image. It shows it fine in the box, but when you preview the page. Nothing shows up. Does Roadfighter not use the default WP featured image section?
    If I want an image to appear on my page, I just have to use the INSERT MEDIA button.
    What I wanted was a full size image to fill the top of the page similar to home page but not as large.
     
  4. Nitesh

    Nitesh Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    5,165
    Likes Received:
    160
    Hello,

    For this add code given below in the "page.php" and "template-fullwidth.php"
    As shown in the image.

    Code:
     <?php
    if ( has_post_thumbnail() ) { // check if the post has a Post Thumbnail assigned to it.
      the_post_thumbnail();
    }
    ?>
    [​IMG]

    [​IMG]
     

Share This Page