WordPress.org

Ready to get started?Download WordPress

Forums

What to change in theloop.php for a shorter "continue reading" (2 posts)

  1. maestropaolo
    Member
    Posted 7 years ago #

    I'm using the "more" tag for viewing a teaser of the article.

    I'm not a code expert, so I can't figure out which part of the following code have I to remove to avoid repeating the name of the article (I want to maintain only the "continue reading" part).

    -----
    <div class="itemtext">
    <?php the_content(__('Continua','k2_domain') . " '" . the_title('', '', false) . "'"); ?>
    </div>
    -----

  2. Austin Matzko
    Member
    Posted 7 years ago #

    See here for the details, but you probably should remove the_title( . . . ) if you don't want to see the title. :-)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags