"Read More" code issue in wordpress

Discussion in 'HTML & Website Design' started by prashdownload, May 27, 2010.

  1. #1
    Hi friends,

    i have created a site with the help of wordpress...but my problem is that i want to add a image instead of the tag "Read More..." so that if any one clicks that image it works as "Read More" Only...

    i didn't get any help from google also.. my read more coding in Index file is as follow:

    <?php the_content('<p>Continue reading &raquo;</p>'); ?>

    this may give you some idea...If u know how to do it pls let me know..

    My site is: PrashDownload.com

    Thanks in advance friends.....
     
    prashdownload, May 27, 2010 IP
  2. Cash Nebula

    Cash Nebula Peon

    Messages:
    1,197
    Likes Received:
    67
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Wordpress - Customizing the Read More

    From that code, remove the text and change the image path, like this:
    <?php the_content('<img src="' . bloginfo('template_directory'). '/images/readmore.gif" alt="read more" title="Read more..." />'); ?>
    Code (markup):
     
    Cash Nebula, May 27, 2010 IP