Rotating Header Images link to Different pages instead of home page?
Hi all! I am new to the forum, but have been using Atahualpa for almost a year on close to 20 different sites - Atahualpa is the BOMB!!!! I'm also very excited to try ThemeFrame when it debuts...
Anyhow, I am currently working on a project for which I am utilizing rotating header images -- but I would like to be able to assign a custom hyperlink to each image. I.E. headerimage1.jpg --> http://URL1.com headerimage2.jpg --> http://URL2.com headerimage3.jpg --> http://URL3.com and so on If there is a way to do this from the Theme Options Interface, I haven't been able to find it. I have only been able to find the menu option to toggle "header image link to home page off/on". I realize that header images are "background" images (saw this in a different post where someone wanted to have alt-text for their header image), and I'm hoping that this won't preclude the possibility of doing what I'd like to do... So Is it possible to define a 1:1 image to link relationship for the rotating header image? Perhaps using an array or something? I also considered that I could widgetize the header image area and then use a plugin that I know of that does the rotating linked image thing (Gallery Widget Pro) Thanks in advance for any/all thoughts and help! |
You will have to implement something like this with coding changes
|
Maybe it would be possible to implement a "featured posts images" (linked to featured posts) functionality in the header?
I found Featured content slider (which seems the nicest, but some people experience problems) and the Dynamic Content Gallery plugin - both WP27-28 compatible. Both requires a code snippet to be inserted in some template - like... PHP Code:
Thanks, Kjetil - just rebuilding Dolcevita.no with Atahualpa :) |
I'm not code savvy enough myself to attempt writing the PHP to do this. But I am code savvy enough to insert it where it would need to be inserted.
If I get desperate I guess I'll try widgetizing the header and see if that plugin Gallery Widget Pro will do the trick. How about this less lofty version of my question: Is it possible to change the option of Make header image clickable? = YES (links to home page by default) into a link to some URL other than the home page? |
@ kjetil
I just found another thread in the forum from earlier this year on the same topic, and Flynn specified where in the code the header could be edited http://forum.bytesforall.com/showthread.php?t=481 |
Thanks a lot, but I can't make this work.
In the thread you referred to it is said that I should add in my piece of code around line 886 in header.php - around this line: PHP Code:
PHP Code:
Whatever I try, I get errors when opening the page - typically repeated lines of this: Quote:
It would be fun (for many) if I/we could make this work. Thanks, Kjetil |
HOWTO: Set different header images clickable (linked) to a different location (http://forum.bytesforall.com/showthread.php?t=6538)
|
I am also looking for the same. I want to display around 6 banners linked to 6 different sites with size 728 x 90. Any one can help me please?
GCS |
globalcashsite - post #7 points you to the solution
|
How do I get to that link? Every time I try to go to it, I get an error message saying I don't have permissions.
Maybe because I just signed up? |
the gold forums are available to forum members who have donated $30 or more.
|
All times are GMT -6. The time now is 08:54 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.