Wordpress Themes - WP Forum at BFA
Click Here To DONATE! Support the theme development, get more attention and additional benefits based on your donation level. Your forum name will be highlighted.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Header configuration & styling »

Rotating Header Images link to Different pages instead of home page?


Build custom WP THEMES, without
coding.
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
  #1  
Old Sep 10, 2009, 10:48 AM
WordPressZen.com
 
28 posts · Aug 2009
Canada/Utah
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!
__________________
Channa Connolly
http://www.wordpresszen.com | http://www.webhostingcoach.com
  #2  
Old Sep 10, 2009, 01:32 PM
juggledad's Avatar
juggledad
 
22,164 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
You will have to implement something like this with coding changes
__________________
Give a person a solution, you fix one issue, teach a person how to solve their problem you enable them forever.
Juggledad | Forum Moderator/Support
  #3  
Old Sep 10, 2009, 03:09 PM
kjetil
 
45 posts · Jul 2009
Oslo - Norway
Send a message via Skype™ to kjetil
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:
<?php include (ABSPATH /wp-content/plugins/dynamic-content-gallery-plugin/dynamic-gallery.php’); ?>
It should work fine - but there's a BIG question: In a complex theme like Atahualpa, WHERE should I / anyone insert the code?
Thanks,
Kjetil
- just rebuilding Dolcevita.no with Atahualpa
__________________
Kjetil
- Dolcevita.no
  #4  
Old Sep 10, 2009, 06:21 PM
WordPressZen.com
 
28 posts · Aug 2009
Canada/Utah
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?
__________________
Channa Connolly
http://www.wordpresszen.com | http://www.webhostingcoach.com
  #5  
Old Sep 10, 2009, 06:28 PM
WordPressZen.com
 
28 posts · Aug 2009
Canada/Utah
@ 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
__________________
Channa Connolly
http://www.wordpresszen.com | http://www.webhostingcoach.com
  #6  
Old Sep 11, 2009, 09:39 AM
kjetil
 
45 posts · Jul 2009
Oslo - Norway
Send a message via Skype™ to kjetil
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 bfa_header_config($bfa_ata_configure_header); ?>
That was obviously from an older version of the theme, but I found that code on line 51 in header.php. So, as a new line 52 I added first the code for the Featured content (which wouldn't work) and then tried the Dynamic Content Gallery:
PHP Code:
<?php include (ABSPATH /wp-content/plugins/dynamic-content-gallery-plugin/dynamic-gallery.php’); ?>
...and of course followed the instructions as good as I can.
Whatever I try, I get errors when opening the page - typically repeated lines of this:
Quote:
Warning: Division by zero in /xxx/www/marked/wp-content/themes/atahualpa342/header.php on line 52
Warning: include(0php�) [function.include]: failed to open stream: No such file or directory in /xxx/www/marked/wp-content/themes/atahualpa342/header.php on line 52
I THINK I'm in the right place, so - any idea where I make a wrong step?
It would be fun (for many) if I/we could make this work.
Thanks,
Kjetil
__________________
Kjetil
- Dolcevita.no
  #7  
Old Mar 31, 2010, 04:52 AM
juggledad's Avatar
juggledad
 
22,164 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
HOWTO: Set different header images clickable (linked) to a different location (http://forum.bytesforall.com/showthread.php?t=6538)
__________________
Give a person a solution, you fix one issue, teach a person how to solve their problem you enable them forever.
Juggledad | Forum Moderator/Support
  #8  
Old Oct 12, 2010, 07:40 AM
globalcashsite
 
5 posts · Oct 2010
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
  #9  
Old Oct 12, 2010, 09:32 AM
juggledad's Avatar
juggledad
 
22,164 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
globalcashsite - post #7 points you to the solution
__________________
Give a person a solution, you fix one issue, teach a person how to solve their problem you enable them forever.
Juggledad | Forum Moderator/Support
  #10  
Old Oct 13, 2010, 12:13 PM
dreggs180
 
1 posts · Oct 2010
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?
  #11  
Old Oct 13, 2010, 12:41 PM
juggledad's Avatar
juggledad
 
22,164 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
the gold forums are available to forum members who have donated $30 or more.
__________________
Give a person a solution, you fix one issue, teach a person how to solve their problem you enable them forever.
Juggledad | Forum Moderator/Support

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Rotating images in header, different link for each image? PhunkzV2 Header configuration & styling 5 May 26, 2010 07:22 PM
rotating slideshow with linked images in header (vSlider won't work) viewdesigninc Header configuration & styling 1 Aug 8, 2009 05:53 AM
Fixed HeaderImage for Home Page & then Rotating Header Images for other pages? kippiper Header configuration & styling 6 Jun 29, 2009 06:47 AM
[SOLVED] Rotating images in header using NextGen gallery juggledad Header configuration & styling 7 May 20, 2009 05:33 AM
Flash in place of rotating images in header frankrizzo5150 Header configuration & styling 7 Feb 21, 2009 12:04 PM


All times are GMT -6. The time now is 09:50 AM.


Powered by vBulletin® Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.