• Hi guys-

    Already checked the forums, but unable to find any specific help with this issue.

    What I want to do is, somehow insert a ‘CLICK HERE’-type button at the end of certain posts that will take my readers to whatever url, such as the one HERE (please scroll down and look for the button ‘Who is One Old Vet’

    Something like that one would be exactly what I am looking for.

    Thanks guys-

Viewing 3 replies - 1 through 3 (of 3 total)
  • <a href="http://www.whatever.com" >Some Text Describing Link</a> then insert that into the index.php file here:

    <div id="content">
    
    	<?php if (have_posts()) : ?>
    
    		<?php while (have_posts()) : the_post(); ?>
    
    			<div class="post" id="post-<?php the_ID(); ?>">
    				<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
    				<small><?php the_time('F jS, Y') ?> <!-- by <?php the_author() ?> --></small>
    
    				<div class="entry">
    					<?php the_content('Read the rest of this entry &raquo;'); ?>
    				</div>
    
    				<p class="postmetadata"><?php if (function_exists('the_tags')) { the_tags('Tags: ', ', ', '<br />'); } ?>Posted in <?php the_category(', ') ?> | <?php edit_post_link('Edit', '', ' | '); ?>  <?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?></p>
    
    			</div>
    
    		<?php endwhile; ?>
    
    		<div class="navigation">
    			<div class="alignleft"><?php next_posts_link('&laquo; Older Entries') ?></div>
    			<div class="alignright"><?php previous_posts_link('Newer Entries &raquo;') ?></div>
    		</div>
    
    	<?php else : ?>
    
    		<h2 class="center">Not Found</h2>
    		<p class="center">Sorry, but you are looking for something that isn't here.</p>
    		<?php include (TEMPLATEPATH . "/searchform.php"); ?>
    
    	<?php endif; ?>
    <!---- PUT YOUR LINKS BELOW HERE--->
    <p><a href="http://www.whatever.com" >Some Text Describing Link 1</a><br />
    <a href="http://www.whatever.com" >Some Text Describing Link 1</a><br />
     </p>
    
    	</div>

    Hope that helps

    Thread Starter robchapman

    (@robchapman)

    Awesome!

    Thanks Kazerk!

    No problem.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Want to add a ‘CLICK HERE’ button at end of post’ is closed to new replies.