Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #2940


    I want every page, including the category pages to have a consistent header. How do I do that?

    This is the page…I want every header to be like

    Thank you in advance.



    open up header.php and replace following code:

    <!-- end center-->
    <!--end wrapper-->


    <!-- end center-->
    if (!(is_single())){
    echo '<img src="my.image.jpg" alt="" title="" />';


    <!–end wrapper–>


    You can use any conditional tag you like:

    I excluded all posts in this example. So replace !(is_single()) with any conditional tag you want to use. Obviously you need to replace “my.image.jpg” with the path to your image…

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Static feature image on all pages including category pages’ is closed to new replies.