[SOLVED] Custom Hyperlink My Header Image...
This seems very stupid but I can't figure out how to do two things.
1. Make my header image permanent (won't change after upgrades) 2. Hyperlink the image to something other than the homepage. Thanks, kgm www.nfcdata.com/blog |
I think you could solve both these with the "Overlay Header Image" section at the bottom of the Header Image tab.
|
You are kind for answering. I tried but failed at that. All I want to do is make the .jpg in the header permanent and link somewhere other than back to the home page.
Thanks much. kgm www.nfcdata.com/blog |
You could put a hyperlinked image in the Configure Header Area box.
|
I tried using the code in the example but I modified it:
<div id="header_image_sociable"> <ul> <li><a href="http://www.sqwizz.com/"> <img src="<?php echo site_url(); ?>/wp-content/images/silver.jpg" </ul> </div> I FTP'd the .jpg the a folder in my WordPress which I called "my-images". Have a look at www.nfcdata.com/blog The link works, the .jpg is broken and not centered and has a bullet. Kind thanks. |
If you called the folder "my-images" your link would need to be:
/wp-content/my-images/silver.jpg Is the folder within wp-content? Is your URL changing? Why not just use the full URL (instead of the PHP)? The bullet is because of the list tags. Probably the spacing, too. |
I think I just fixed it. Pretty cool. Thanks again!
|
All times are GMT -6. The time now is 11:02 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.