WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Replacing "Continue reading" with image (5 posts)

  1. thedailybleat
    Member
    Posted 5 years ago #

    Hi there,

    I am looking for guidance on replacing the "Continue reading" text with an image. The default "Continue reading" text is small and not very noticeable. You can visit my blog at http://www.thedailybleat.com

    Thanks!

  2. esmi
    Forum Moderator
    Posted 5 years ago #

  3. thedailybleat
    Member
    Posted 5 years ago #

    The problem with the link above is that I do not have the code they speak of. I have found other instructions elsewhere similar to the above link but can't figure out how to apply it to my code. The theme is lightword.

    My code is this...

    <?php the_content(''); ?>
    <div class="cat_tags"><div class="category"><?php if($lw_disable_tags == "false" || !get_the_tags()) { _e('Filed under:','lightword'); echo " "; the_category(', ');} else if (get_the_tags() && $lw_disable_tags == "false") { _e('Tagged as:','lightword'); echo " "; the_tags(''); } ?></div>
    <div class="continue"><?php $pos=strpos($post->post_content, '<!--more-->'); if($pos==''){ ?>#respond"><?php comments_number(__('No Comments','lightword'), __('1 Comment','lightword'), __('% Comments','lightword')); ?><?php }else{ ?> <?php the_title(); ?>" href="<?php the_permalink() ?>#more-<?php echo $id; ?>"><?php _e('Continue reading','lightword'); ?><?php } ?></div><div class="clear"></div></div><div class="cat_tags_close"></div>

  4. andreiluca
    Member
    Posted 5 years ago #

    Hello,
    You can replace <?php _e('Continue reading','lightword'); ?> with your image.

  5. Samuel B
    moderator
    Posted 5 years ago #

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags