WordPress.org

Ready to get started?Download WordPress

Forums

Navigation Headers as Images (6 posts)

  1. Edd
    Member
    Posted 8 years ago #

    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.

  2. Kafkaesqui

    Posted 8 years ago #

    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.

  3. jpettit
    Member
    Posted 8 years ago #

    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:

  4. <h2><?php _e('Archives'); ?></h2>
      <?php wp_get_archives('type=monthly'); ?>

  5. simply change <h2><?php _e('Archives'); ?></h2> to refer to the image that you want to use.

  • Jo5329
    Member
    Posted 8 years ago #

    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
    Member
    Posted 8 years ago #

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

  • Jo5329
    Member
    Posted 8 years ago #

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

  • Topic Closed

    This topic has been closed to new replies.

    About this Topic

    Tags

    No tags yet.