Please assist me to change wordpress header

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • spacedog
    Yes that IS me. Bitch.
    • Nov 2001
    • 14149

    #1

    Please assist me to change wordpress header

    ok. On one of my blogs, I got a graphic header, so, I am not using the blog title option in the admin, and left it blank because I don't want worpress writing text over my graphic header. Below, is the code in header.php for the header of the header. This is the code for that text used in title options, & this code links the text to home. What I'd like to do is have the graphic image link to home. How do I do this? Thank you.


    <div id="header">
    <div id="headerimg">
    <h1><a href="<?php echo get_settings('home'); ?>"><?php bloginfo('name'); ?></a></h1>
  • spacedog
    Yes that IS me. Bitch.
    • Nov 2001
    • 14149

    #2
    this is the info to call the header image, so I need to remove name property from above code & incorporate this, so that the header image itself is linked to home? I'm not sure how to close this string


    <?php bloginfo('stylesheet_directory'); ?>/images/tt_headerimg.gif

    Comment

    • spacedog
      Yes that IS me. Bitch.
      • Nov 2001
      • 14149

      #3
      <div id="header">
      <div id="headerimg">
      <h1><a href="<?php echo get_settings('home'); ?>">
      <?php bloginfo('stylesheet_directory'); ?>/images/tt_headerimg.gif</a></h1>

      something tells me this isnt closed properly?

      Comment

      • Nookster
        Confirmed IT Professional
        • Nov 2005
        • 3744

        #4
        Here ya go...

        Code:
        <div id="header">
        <div id="headerimg">
        <a href="<?php echo get_settings('home'); ?>"><img src=<?php bloginfo('stylesheet_directory'); ?>/images/tt_headerimg.gif border=0></a>
        The Best Affiliate Software, Ever.

        Comment

        • spacedog
          Yes that IS me. Bitch.
          • Nov 2001
          • 14149

          #5
          Originally posted by spacedog
          <div id="header">
          <div id="headerimg">
          <h1><a href="<?php echo get_settings('home'); ?>">
          <?php bloginfo('stylesheet_directory'); ?>/images/tt_headerimg.gif</a></h1>

          something tells me this isnt closed properly?

          Nope, this did not work.

          Comment

          • Nookster
            Confirmed IT Professional
            • Nov 2005
            • 3744

            #6
            Do you know HTML?? Because what you tried didn't work obviously because it wasn't done properly. You didn't wrap the url of the image inside an image tag.
            The Best Affiliate Software, Ever.

            Comment

            • spacedog
              Yes that IS me. Bitch.
              • Nov 2001
              • 14149

              #7
              Originally posted by Nookster
              Here ya go...

              Code:
              <div id="header">
              <div id="headerimg">
              <a href="<?php echo get_settings('home'); ?>"><img src=<?php bloginfo('stylesheet_directory'); ?>/images/tt_headerimg.gif border=0></a>
              thank you, but the image is already in place. This will just end up placing a second header image. It needs to be accomplished without adding the image, because the image is already placed by the .css

              Comment

              • spacedog
                Yes that IS me. Bitch.
                • Nov 2001
                • 14149

                #8
                Originally posted by Nookster
                Do you know HTML?? Because what you tried didn't work obviously because it wasn't done properly. You didn't wrap the url of the image inside an image tag.

                of course I know html, and re read the question.. I am not trying to add an image.... read more carefully...

                Comment

                • Nookster
                  Confirmed IT Professional
                  • Nov 2005
                  • 3744

                  #9
                  Remove the css which places the image and just modify the header as needed with the code I provided. There is no way to link objects using just css.
                  The Best Affiliate Software, Ever.

                  Comment

                  • nico-t
                    emperor of my world
                    • Aug 2004
                    • 29901

                    #10
                    why so complicated, i just put in the image with good old html code and link it to www.mydomain.com...

                    Comment

                    • spacedog
                      Yes that IS me. Bitch.
                      • Nov 2001
                      • 14149

                      #11
                      Originally posted by Nookster
                      Remove the css which places the image and just modify the header as needed with the code I provided. There is no way to link objects using just css.
                      <div id="header">
                      <div id="headerimg">
                      <h1><a href="<?php echo get_settings('home'); ?>"><?php bloginfo('name'); ?></a></h1>


                      THIS does NOT place the header!!! This CALLS info... every blog has a title & sometimes description, in the header. That title is always linked to (home). this is the code that links it. In this case, I want the header image itself to be linked. adding img src ADDS an image. THINK before responding. NOBODY said anything about linking anything in CSS!!!!!

                      Comment

                      • Nookster
                        Confirmed IT Professional
                        • Nov 2005
                        • 3744

                        #12
                        You're a moron. You talk shit to people helping you? You know what...I told you EXACTLY how to fix your problem, but you're too ignorant to recognize YOUR ERRORS. Have a nice day, newbie.
                        The Best Affiliate Software, Ever.

                        Comment

                        • Nookster
                          Confirmed IT Professional
                          • Nov 2005
                          • 3744

                          #13
                          And just to prove that it works just like how you want it, just take a peek at my asian blog.
                          The Best Affiliate Software, Ever.

                          Comment

                          • spacedog
                            Yes that IS me. Bitch.
                            • Nov 2001
                            • 14149

                            #14
                            Originally posted by Nookster
                            You're a moron. You talk shit to people helping you? You know what...I told you EXACTLY how to fix your problem, but you're too ignorant to recognize YOUR ERRORS. Have a nice day, newbie.
                            who the fuck is talking shit asshole, you're not even getting what I'm saying.


                            talk shit?? when, where. learn how to read!!

                            Comment

                            • Nookster
                              Confirmed IT Professional
                              • Nov 2005
                              • 3744

                              #15
                              Originally posted by spacedog
                              THIS does NOT place the header!!! This CALLS info... every blog has a title & sometimes description, in the header. That title is always linked to (home). this is the code that links it. In this case, I want the header image itself to be linked. adding img src ADDS an image. THINK before responding. NOBODY said anything about linking anything in CSS!!!!!
                              Your use of exclamation points says you're talking shit. Know internet lingo? Last time I try and help someone. Geez.
                              The Best Affiliate Software, Ever.

                              Comment

                              • John69
                                Confirmed User
                                • Sep 2005
                                • 942

                                #16
                                nice drama
                                DARKSOUL: thanks but no thanks, your over priced.

                                Comment

                                Working...