Support » Fixing WordPress » What to change in theloop.php for a shorter “continue reading”

  • maestropaolo

    (@maestropaolo)


    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>
    —–

Viewing 1 replies (of 1 total)
  • See here for the details, but you probably should remove the_title( . . . ) if you don’t want to see the title. 🙂

Viewing 1 replies (of 1 total)
  • The topic ‘What to change in theloop.php for a shorter “continue reading”’ is closed to new replies.