Support » Plugin: Jetpack by WordPress.com » Sending full post in email despite "more" tag?

  • Resolved davidgerard

    (@davidgerard)


    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?

    http://wordpress.org/extend/plugins/jetpack/

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Contributor Richard Archambault

    (@richardmtl)

    Hi!

    How about using Excertps instead of the “more” tag?

    http://codex.wordpress.org/Excerpt

    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.

    davidgerard

    (@davidgerard)

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

    davidgerard

    (@davidgerard)

    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.

    Plugin Contributor Richard Archambault

    (@richardmtl)

    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!

    davidgerard

    (@davidgerard)

    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 🙂

    Plugin Contributor Richard Archambault

    (@richardmtl)

    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:

    http://codex.wordpress.org/Function_Reference/the_excerpt#Make_the_.22read_more.22_link_to_the_post

    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:

    http://stackoverflow.com/questions/9215464/removing-continue-reading-from-the-excerpt-on-certain-template-pages

    davidgerard

    (@davidgerard)

    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.

    Plugin Contributor Richard Archambault

    (@richardmtl)

    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:

    http://codex.wordpress.org/Function_Reference/remove_filter

    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! 🙂

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Sending full post in email despite "more" tag?’ is closed to new replies.