Ask your WordPress questions! Pay money and get answers fast! Comodo Trusted Site Seal
Official PayPal Seal

linking static page image to home/posts page WordPress

I am thinking of using a static page (as I have already, at least temporarily) for a website promotion I will be undertaking soon. I would of course love to have a revolving photo here, but, sort of like the sliding content feature in AutoFocus but full-sized ... Maybe later? Haha.

In any case, what I *most urgently* need to know is how to make the photo link to the home (or posts site, listed as "all galleries" right now). As things stand, if people click on the photo they see "front" with "description" on it. People are going to click on that photo before they click on "all galleries" in hopes of seeing more, and might turn away and give up otherwise.

My website is: [[LINK href="http://cosmic-rays.com"]]Cosmic Ray's Photos[[/LINK]].

Thank you for your time.

Ray
http://cosmic-rays.com

Answers (4)

2011-01-25

philip answers:

If it is a standard image, just edit post. Then Edit the image. Switch the link URL to your desired desitination. Update.

Alternatively in HTML mode switch the <a href="http://www.cosmic-rays.com/home">

2011-01-25

hemant hapani answers:

Just Simple,

you make link to like <a href="<?php bloginfo( 'url' ); ?>">

2011-01-25

Honzik A. answers:

Index.php: use custom fields to show the image whit link to your single post.
Single.php: use image whit link to your site.

2011-01-25

Sébastien | French WordpressDesigner answers:

Go to your theme folder, open the file thematic-functions.php
at line 277, replace this code :

<?php if ( has_post_thumbnail() ) { ?>
<a href="<?php the_permalink() ?>" rel="bookmark" class="post-image-container"><?php the_post_thumbnail('front-page-thumbnail'); ?></a>
<?php } else { ?>
<a href="<?php the_permalink() ?>" rel="bookmark" class="post-image-container"><?php the_post_image('aflarge'); ?></a>
<?php } ?>

by this code :
<?php if ( has_post_thumbnail() ) { ?>
<a href="<?php bloginfo('url') ?>/home" rel="bookmark" class="post-image-container"><?php the_post_thumbnail('front-page-thumbnail'); ?></a>
<?php } else { ?>
<a href="<?php bloginfo('url') ?>/home" rel="bookmark" class="post-image-container"><?php the_post_image('aflarge'); ?></a>
<?php } ?>