Support » Plugins » “more” tag text after get_the_title

  • Hello everyone,
    In the WordPress Codex pages, showing the more tag as “…continue reading the story called [insert title]” is:

    <?php the_content("...continue reading the story called " . get_the_title('', '', false)); ?>

    However, what I want is: “…continue reading the story called [insert title] plus random text after the title”.

    Does anyone know how I can do this?

    Thanks in advance.

Viewing 2 replies - 1 through 2 (of 2 total)
  • I’m just guessing, but can you just add more text after it?
    <?php the_content("...continue reading " . get_the_title('', '', false) . " plus random text."); ?>

    Would that work? Or did you try it already?

    Thanks so much!
    It worked perfectly! 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘“more” tag text after get_the_title’ is closed to new replies.