Support » Plugins and Hacks » Navigation Headers as Images

  • Edd

    (@edd)


    How can I change “Archives” and Categories etc etc into Images? So I can use an image as the header instead of the plain text. I did a search for it but I couldn’t find anything myself.
    My WordPress is located at:
    http://www.initiatewebdesign.com/blog/

    Thanks in advance 🙂
    Edd.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Kafkaesqui

    (@kafkaesqui)

    Edit your theme’s *sidebar* template (most likely sidebar.php). You’ll find that most of the content there have hardcoded headers you can change to suit.

    jpettit

    (@jpettit)

    that isn’t that hard.
    you need to edit your sidebar template (sidebar.php) and look for the headings that you want to change, such as:

  • <h2><?php _e('Archives'); ?></h2>
      <?php wp_get_archives('type=monthly'); ?>
  • simply change <h2><?php _e('Archives'); ?></h2> to refer to the image that you want to use.

Jo5329

(@jo5329)

So .. to further ask this out .. I would change the ‘Archives’ reference in the ( )’s to say < img src=”http://image I want url here” > ?

Thanks

jpettit

(@jpettit)

simply change it to <h2><img src="/images/here.jpg"></h2>

Jo5329

(@jo5329)

Thank you jpettit (have no clue why my question went so wide)!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Navigation Headers as Images’ is closed to new replies.