The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

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

  1. maestropaolo
    Posted 10 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) . "'"); ?>

  2. Austin Matzko
    Posted 10 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