Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #5803

    In index.php and archive.php, I changed <?php the_excerpt() ?> To <?php the_content(); ?>

    but my posts on main page still shows “Read More”. How do i get rid of that?

    Also, in each individual post – how do I remove the “author” info at the end of each post and all the social media icons? I want the comment boxes as soon as the post ends.



    1) In archive.php/index.php delete:

    <a href="<?php echo get_permalink() ?>" class="more-link"><?php _e('Read more','newscast'); ?></a>

    2) In single.php delete:

    <div class='entry' id="author-box">
    <div class="gravatar">
    $author_email = get_the_author_email();
    echo get_avatar( $author_email, $size = '60');
    <div class="author-info">
    <h3><?php _e('About the author','newscast'); ?></h3>
    $description = get_the_author_description();
    if($description != '')
    echo $description;
    _e('The author didnt add any Information to his profile yet','newscast');


    <div id='social_icons'>
    <li><a class='ie6fix twitter' href="<?php _e('Currently reading ','newscast'); the_title(); echo ': '; the_permalink(); ?>">Twitter</a></li>
    <li><a class='ie6fix fb' href="<?php the_permalink(); ?>">Facebook</a></li>
    <li><a class='ie6fix stumble' href="<?php the_permalink(); ?>&title=<?php the_title(); ?>">StumbleUpon</a></li>
    <li><a class='ie6fix digg' href="<?php the_permalink(); ?>">Digg</a></li>
    <li><a class='ie6fix techno' href="<?php the_permalink(); ?>">Technorati</a></li>
    <li><a class='ie6fix deli' href="<?php the_permalink(); ?>&title=<?php the_title(); ?>">Delicious</a></li>

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Remove "Read More"…’ is closed to new replies.