Jetpack by WordPress.com
[resolved] Sending full post in email despite "more" tag? (9 posts)

  1. davidgerard
    Posted 2 years ago #

    On http://rationalblogs.org/rationalwiki , I've started using the "<!--more-->" tag on every post so that the snippets are right on the front page.

    The trouble is, this now means the Jetpack-emailed copies of the blog posts are cut off at the "more" tag.

    I'd like subscribers to get the full post. (RationalWiki is a charity, we don't care about how people get our stuff, we don't want to require them to visit the site itself.)

    1. Is there a way to make this work?
    2. If not, could there please be a way to make this work in the future?


  2. Richard Archambault
    Happiness Engineer
    Plugin Author

    Posted 2 years ago #


    How about using Excertps instead of the "more" tag?


    It would depend on whether or not your theme uses excerpts, though. If it doesn't you could maybe modify it to use excerpts. Have a look at that and let me know what you think.

  3. davidgerard
    Posted 2 years ago #

    That workaround would work, but is extra faff that shouldn't be necessary - Jetpack is supposed to make less work, not more.

  4. davidgerard
    Posted 2 years ago #

    Sorry, that was an unduly snappy answer - you did in fact answer the question I asked fully and effectively.

    I tried the excerpt method today and it worked as expected. I'll continue and see how it goes.

    I was hoping for something like a tick-box ("send the entire post in email"), but I appreciate that every new user option is a problem in itself.

  5. Richard Archambault
    Happiness Engineer
    Plugin Author

    Posted 2 years ago #

    Hi David,

    No worries, we all have "off" moments. :)

    The thing is, the current behaviour is probably the expected behaviour for most people, since I have had folks ask me for exactly that: a way to send just part of their posts in the emails to force people to click through to their site. I always suggest the "more" tag in those cases. Adding a check-box like you suggest would, like you mention, be a problem in itself. :)

    BTW, I subscribed to your site, so I'll see for myself what the resulting email looks like. And fyi, I subscribed because I found it interesting, not just to see what you come up with as a solution to your issue!

  6. davidgerard
    Posted 2 years ago #

    Yeah, I appreciate I'm asking for the opposite of what most people would want - excerpts on the front page, full posts in the email.

    One thing I've noticed with the excerpt method: I end up with a gratuitous spare "Read more ›" on that front-page excerpt. Livable-with, but slightly annoying. I suppose it's an additional cue to the reader.

    Glad you like it :-)

  7. Richard Archambault
    Happiness Engineer
    Plugin Author

    Posted 2 years ago #

    Hi David!

    Try adding this to your functions.php:

    function new_excerpt_more( $more ) {
    	return ' ';
    add_filter( 'excerpt_more', 'new_excerpt_more' );

    This should remove the Read more and replace it with nothing. Alternatively, you could replace the '' with 'whatever text David wants here'; you can even make it into a link if you'd like. Look here for more info:


    If that doesn't work, it's possible that your theme already filters the text, so you'll have to look through your theme to override it. Have a look here for an idea of what to do then:


  8. davidgerard
    Posted 2 years ago #

    Looks like there's no way to do it in the child theme (since the child functions.php is loaded first), I would indeed need to hack into the base theme, which I've been avoiding (they didn't make the relevant function overridable). How annoying. But, as I noted, I might leave it to tempt people to click.

  9. Richard Archambault
    Happiness Engineer
    Plugin Author

    Posted 2 years ago #

    Hi David!

    If there is already a filter loaded in the base theme, then you can use remove_filter in your child theme's function.php:


    once you've removed the base theme's filter, you then add_filter your own, like I mentioned earlier. See? There's always a way! :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Jetpack by WordPress.com
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic