How to make a header on only your WP home page

2 replies
  • WEB DESIGN
  • |
Hi,

I am trying to put a header image for my home page for my site (HomesWithoutPayments). I would like the header you see to remain the same on all the other pages, such as the blog. Is there a way to put an image on the header of the home page only?

Also, I am having a really hard time putting any images in the body, especially a 'buy now' button for my ebook. I have put the image in the theme folder (twenty eleven theme) and just cannot seem to access it when the page pulls up. I have to admit I used someone else's sales page code to modify for my page, and edited it using Kompozer. I'm somewhat new at this and could use some help. Thanks so much.

Hal
#header #home #make #page
  • Profile picture of the author xtrapunch
    You can use is_home() or is_front_page() function to show a header on frontpage and other on rest of the website.

    For images, you can just upload them to the website (make sure that the files have CHMOD permission set to 755, which allows everyone to read the files) and use them in your posts on theme.
    Signature
    >> Web Design, Wordpress & SEO - XtraPunch.com <<
    Web Design & SEO Agency | Serving World Wide from New Delhi, India

    {{ DiscussionBoard.errors[5660945].message }}
    • Profile picture of the author hal1989
      xtrapunch - Thanks so much for the quick response. But I am struggling to understand how to do what you are saying. Do I put the is_home() or is_front_page() in the header code editor? Where should I put it in the code?

      For the images, where should I put them in the website? I put them in the theme's folder and it did not pick up. What would the code look like to put the image there?

      Sorry for having all these newbie questions.

      Thanks,
      Hal
      {{ DiscussionBoard.errors[5665809].message }}

Trending Topics