Jump to content

Wordpress thumbs - need to link to home page and articles...


mr_man000

Recommended Posts

Hi guys,

 

Same blog as my other post, I also need to link the images to the thumbs on the home page.  Again the articles are there, but it just shows the default image.  It's getting quite annoying.  Please please please someone help.  Here is the code:

<?php 
		if (have_posts()) : 
			while (have_posts()) : the_post(); 
		?>
            <div <?php post_class() ?> id="post-<?php the_ID(); ?>">
            	<div class="image"><a href="<?php the_permalink() ?>"><img src="<?php get_post_image();?>" width="109" height="81" alt="<?php the_title()?>" /></a></div>
                <div class="detail">
                    <h2 class="al"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
                    <img class="ar" src="<?php echo blogdir;?>/images/typo/bt.gif" id="post<?php the_ID(); ?>" alt=">" />
                    <div class="clear"></div>
                    <p id="aboutpost<?php the_ID(); ?>" class="aboutpost">
                    	Written by <?php the_author_posts_link();?> in <?php the_category(', ') ?>
                    </p>
                    <p><?php modifyTextPost (40, "<a><strong>");?></p>
                </div>
                <div class="clear"></div>
            </div>
            <?php endwhile; ?>
            <div class="navigation">
                <div class="alignleft"><?php next_posts_link('« Older Entries') ?></div>
                <div class="alignright"><?php previous_posts_link('Newer Entries »') ?></div>
            </div>
        <?php else : ?>
            <p class="center">Sorry, but you are looking for something that isn't here.</p>
            <?php get_search_form(); ?>
    
        <?php endif; ?>
        </div>
        <?php get_sidebar();?>
        <div class="clear"></div>
    </div>
</div>
<?php get_footer();?>

 

 

Thanks again everyone!

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.