WordPress.org

Support

Support » Plugins and Hacks » Subscribe2 » [Plugin: Subscribe2] Short posts vs. excerpts

[Plugin: Subscribe2] Short posts vs. excerpts

Viewing 4 replies - 1 through 4 (of 4 total)
  • @yonat,

    If the plugin needs to make an excerpt of your post it adds ‘[…]’ at the end of the text to indicate that it has been truncated.

    Thanks, but the problem is that the “…” does not appear when there is a <!–more–> tag in the post. I would like to show “…” or something similar when there is more to read.

    @yonat,

    You could only make this happen if you are using the HTML more tag by editing the code – are you comfortable making code changes? If so then look in the publish function for the area where the more tag is checked.

    You’ll see these two lines:

    $excerpt = strip_tags($excerpt);
    $excerpt = trim($excerpt);

    Add this immediately after those two lines:
    $excerpt = $excerpt . "[...]";

    If you are not happy editing code you’ll have to find another way to write your blog posts without using the more tag.

    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: Subscribe2] Short posts vs. excerpts’ is closed to new replies.
Skip to toolbar