WordPress.org

Support

Support » Themes and Templates » LightWord » [Theme: LightWord] How to remove #more tag on read more

[Theme: LightWord] How to remove #more tag on read more

Viewing 2 replies - 1 through 2 (of 2 total)
  • Michael

    @alchymyth

    Forum Moderator

    the link is hardcoded into the template;
    edit index.php; find:
    <span class="continue"><?php $pos = strpos($post->post_content, '<!--more-->'); if($pos==''){ ?><a class="nr_comm_spot" href="<?php the_permalink(); ?>#comments"><?php if(lightword_fb_get_comment_type_count('comment')==1) _e('1 Comment','lightword'); elseif('open' != $post->comment_status) _e('Comments Off','lightword'); elseif(lightword_fb_get_comment_type_count('comment') == 0) _e('No Comments','lightword'); else echo lightword_fb_get_comment_type_count('comment')." ".__('Comments','lightword'); ?></a><?php }else{ ?><a title="<?php _e('Read more about','lightword'); ?> <?php the_title(); ?>" href="<?php the_permalink() ?>#more-<?php echo $id; ?>"><?php _e('Continue reading','lightword'); ?></a><?php } ?></span><div class="clear"></div>

    remove: #more-<?php echo $id; ?>

    make a backup copy before editing.

    Excellent; The problem was solved already
    Really appreciated with your kindly support

    Regards,
    Phichet

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Theme: LightWord] How to remove #more tag on read more’ is closed to new replies.
Skip to toolbar