Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

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?


  #1  
Old Sep 10, 2009, 11: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, 02:32 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
You will have to implement something like this with coding changes
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Sep 10, 2009, 04: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, 07: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, 07: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, 10: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, 05:52 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
HOWTO: Set different header images clickable (linked) to a different location (http://forum.bytesforall.com/showthread.php?t=6538)
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #8  
Old Oct 12, 2010, 08: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, 10:32 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
globalcashsite - post #7 points you to the solution
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #10  
Old Oct 13, 2010, 01: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, 01:41 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
the gold forums are available to forum members who have donated $30 or more.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Bookmarks



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 08:22 PM
rotating slideshow with linked images in header (vSlider won't work) viewdesigninc Header configuration & styling 1 Aug 8, 2009 06:53 AM
Fixed HeaderImage for Home Page & then Rotating Header Images for other pages? kippiper Header configuration & styling 6 Jun 29, 2009 07:47 AM
[SOLVED] Rotating images in header using NextGen gallery juggledad Header configuration & styling 7 May 20, 2009 06:33 AM
Flash in place of rotating images in header frankrizzo5150 Header configuration & styling 7 Feb 21, 2009 01:04 PM


All times are GMT -6. The time now is 11:27 AM.


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