Blog Post Banner Image

Discussion in 'Regal WordPress Theme' started by camieoccasions, Nov 26, 2012.

Thread Status:
Not open for further replies.
  1. camieoccasions

    camieoccasions New Member

    Joined:
    Apr 3, 2012
    Messages:
    8
    Likes Received:
    0
    I have been using my Regal Theme for a few months now. I have a static front page, other pages on the website and then the blog page. I know when I add a Page there is a box at the bottom of the page to add the Banner Image URL.

    My first question is: I don't see a banner image URL box when I add a new Post? How do I change the banner image for each blog post because currently they are still that default picture of food

    My second question is: Is there code that someone could give me to insert in the HTML of a Page/Post that would remove the banner image on that individual page. I saw a previous support forum thread where there was code to add in the CSS to completely remove the banner image on all pages, but is it possible to selectively remove the header image of a page or post?

    Any help is appreciated, thanks!
     
  2. Harmeet

    Harmeet Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    360
    Likes Received:
    15
    1) Go to the Appearance > Theme option > Banner image settings
    and add your image link there. That image will display as a banner on all your single pages.

    2) If you want to remove banner from default page then go to the page.php and remove code as shown in image.


    [​IMG]

    To remove image from fullwidth or contact page
    Go to the
    template-fullwidth.php and template-contact.php and follow same process given above.
     
  3. camieoccasions

    camieoccasions New Member

    Joined:
    Apr 3, 2012
    Messages:
    8
    Likes Received:
    0
    Thank you Harmeet :)

    I appreciate your response. However in regards to answer #2 for removing the banner image. I went into the page.php and the tempate-fullwidth.php and removed that line of code, but for some reason the banner image continues to be visible? Any other suggestions?

    www.camieoccasions.com
    Thanks,
    Camie
     
  4. camieoccasions

    camieoccasions New Member

    Joined:
    Apr 3, 2012
    Messages:
    8
    Likes Received:
    0
    In regards to answer #1, I am truly apologizing if I am not understanding appropriately, but I did not see a Banner Image Settings option under: Appearance-Theme Options- I inserted a screen shot below in hopes you may be able to direct me as to where i am going wrong/why I cannot find this?

    [​IMG]
     
  5. Gourav

    Gourav Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    7,728
    Likes Received:
    207
    Download updated version of theme from your members area, This will solve your issue.
     
  6. camieoccasions

    camieoccasions New Member

    Joined:
    Apr 3, 2012
    Messages:
    8
    Likes Received:
    0
    Gourav,

    Thanks for responding, I really do appreciate the help from this support forum!

    However, I paid for some custom coding on this template, so I think it may be a little tricky to simply unistall the old version and reinstall the new. Is there not an update I can simply download in wordpress for this theme? If not, maybe you could tell me how to remove the code for the banner in the blog.php as I'm not overly concerned with having it.

    Thanks again and have a great day!
    Camie
     
  7. Nitesh

    Nitesh Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    5,165
    Likes Received:
    160
    Go to the blog.php and remove code given below. As shown in image.

    Code:
    <div class="banner">
      <?php if($image_url): ?>
      <img src="<?php echo $image_url; ?>"/>
      <?php else : ?>
      <img src="<?php echo get_template_directory_uri(); ?>/images/banner.jpg"/>
      <?php endif; ?>
    </div>
    [​IMG]
     
  8. camieoccasions

    camieoccasions New Member

    Joined:
    Apr 3, 2012
    Messages:
    8
    Likes Received:
    0
    Nitesh,

    Thanks for responding and I am really apologizing if I am being bothersome, but I removed the banner image code in the blog.php of my editor as you suggested but the default banner image of food is still showing up on my test blog postings. I inserted a photo for you to see. Did I do something wrong? I do not understand how the image is still showing up even after the code has been removed....odd LOL :)

    Thanks again for your help!!
    Camie
     

    Attached Files:

  9. Nitesh

    Nitesh Support Staff

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

    You are talking about single page. For it remove same code from single.php file.
     
  10. camieoccasions

    camieoccasions New Member

    Joined:
    Apr 3, 2012
    Messages:
    8
    Likes Received:
    0
    Awesome, It worked! Thanks so much :)
     
Thread Status:
Not open for further replies.

Share This Page