Vladimir’s WordPress Forum


 
Current User: Guest
Search Forums:


 






Wildcard Usage:
*    matches any number of characters
%    matches exactly one character

Is it possible to make header image in Amazing Grace clickable?

Add a New Topic Reply to Post
UserPost

5:30
15 January, 2010


N.A.B

Guest

Hello! Above all thanks for the amazing AG theme. I'm currently using it, and very happy with it.
But, I thought that if every single rotating image in the header can be made clickable, to the posting containing it, it will be much more elegant.
Can anyone help me regarding this?

Thank you very much.

18:23
23 February, 2010


Brian

Santiago,Chile

WordPress User

posts 24

Hi N.A.B,

The issue you are asking about could be solved in two ways. One is to go into the header.php and find these lines of code that control the rotation of the images and modify them.

<style type="text/css">
#portrait-bg { background:url(<?php bloginfo('stylesheet_directory'); ?>/images/bg-portrait<?php echo (rand()%9); ?>.jpg); }
</style>

Of if you look at my website Santiago Chile Travel you'll see I replaced the standard image display with a rotating one. This method is javascript instead of php and the images can be clicked on.

I can help with either solution but due to the technicality and time involved there would be a small fee I'm afraid.

I hoped this helped you a little.

WB

Reply to Post

Reply to Topic:
Is it possible to make header image in Amazing Grace clickable?

Guest Name (Required):

Guest Email (Required):

HTML Editor
Smileys
Confused Cool Cry Embarassed Frown Kiss Laugh Smile Surprised Wink Yell
Post New Reply

Guest URL (required)

Math Required!
What is the sum of:
3 + 9