Setting up page headers

If you decide that you want to have image headers or other content type headers on pages within your website or blog, this method it is actually quite easy because it utilizes the WordPress text widget.

  1. Go to your media manager and upload up your image or images for your he header or headers that you plan to create, but for each image that you upload, make sure you copy the link path of each image because you will need this we create your widgets for each header.
  2. Go to your widget manager and drag a text widget to the header position
  3. Enter in the HTML code that inserts in image into a page -for example, you can use the online demo that I used (see the code below)
  4. Click save and your header will show on all pages except the front page.

Sample Header Code to Insert an Image

<img src="http://demo.pixelthemestudio.ca//wp-content/uploads/image.jpg" />
OPTION: if you want to have a different header on each page within your website or blog, the only way you can do this is to control or manage the widgets by using the widget logic plugin that you can get from the WordPress website.  This lets you use WordPress conditional tags to publish a particular widget on your choice of pages, posts, etc.

Pages Without Headers

If you decide that you don’t want your pages to have any headers, this is available to you by default as easily done by simply not publishing any widgets to the header position.  The only exception is if you use the custom header function which will then put one image on your front page of your website or blog.  Even with this, you don’t have to use the custom header and just run without one altogether.

Here are Screenshots For Each Option

Front Page with header Pages with Widget Header Pages without Header
By | 2010-09-25T01:22:47+00:00 September 25th, 2010|Blog|0 Comments

About the Author:

Leave a Reply