• Edit: I was to fast, didn’t do the research… Forget this request. It’s there already.

    Thanks. I’m going to update the plugin from 3.1.3 to 4.5.4. Wish me luck!

    ******************

    I spend a lot of time writing good text, especially in the first paragraph of a post. It includes the SEO keywords and the text is build up towards a call-to-action at the end of the paragraph. That paragraph and call-to-action is cut off (after 50 characters I believe) in the current version of the plugin.

    I haven’t updated the plugin from version 3.1.3 because I created the keywords myself and didn’t want it to be overwritten with every plugin update.

    Especially in campaign emails the text before the more-tag is valuable. You show in the email what you actually want to show. Now the plugin decides that for me. I have no option to show what I want to show in an email. Post text until the more-tag would solve that.

    It is fairly easy to implement. Done within 15 minutes and it will make your plugin more flexible.

    Please add a {{POSTMORETAG}} to the list of available keywords. You will make me, and later other users, very happy.

    Thank you

    Edit:

    or……. does the {{POSTEXCERPT}} keyword do this?

    • This topic was modified 2 months, 4 weeks ago by Okoth1.
    • This topic was modified 2 months, 4 weeks ago by Okoth1.
Viewing 6 replies - 1 through 6 (of 6 total)
  • Sorry, but this is not resolved yet. I thought when I use the {{POSTEXCERPT}} keyword I would get the text until the more-tag.

    So my original question is still there.

    Plugin Support vaksupport

    (@vaksupport)

    Hello @okoth1,

    The {{POSTEXCERPT}} is to show the text from Post Excerpt and what you need is {{POSTDESC}}.

    Please take a look at this article for a list of available keywords.

    • This reply was modified 2 months, 4 weeks ago by vaksupport.

    Hello @vaksupport.

    Yes, I read that page and that is the reason I requested for another keyword.

    On that page is written: “{{POSTDESC}} – use this to show a short description of the post in the email content i.e. it displays only first 50 characters from blog post content”

    This is the first paragraph of my request above: “I spend a lot of time writing good text, especially in the first paragraph of a post. It includes the SEO keywords and the text is build up towards a call-to-action at the end of the paragraph. That paragraph and call-to-action is cut off (after 50 characters I believe) in the current version of the plugin.

    So, that’s why I requested for this keyword. Using {{POSTDESC}} won’t solve my issue. A {{POSTMORETAG}} will make the plugin more flexible because we can choose ourselves where the text is cut off.

    Thank you

    Hello,

    For people who want more flexibility this is how you can determen yourself what text you want to show in your email.

    email-subscribers/lite/includes/classes/class-es-handle-post-notification.php include this around line 236 just above // Get post excerpt

    		// Get post text until more-tag
    		$text_until_more_tag = get_extended ($post->post_content);
    		$until_more_tag = $text_until_more_tag['main'];
    		$until_more_tag = strip_tags(strip_shortcodes($until_more_tag));
    		$es_templ_body = str_replace( '{{POSTMORETAG}}', $until_more_tag, $es_templ_body );

    Just add {{POSTMORETAG}} inside your email and content until the more-tag will be included.

    Plugin Support vaksupport

    (@vaksupport)

    Hello @okoth1 ,

    We’re happy to see that you were able to create the new keyword.

    Can you please mark the query as resolved or let us know if you have any further queries?

    Hello @vaksupport,

    I know I can create a new keyword, but that wasn’t the request that has not been answered yet?

    The reason why I’m asking is that every time someone wants to choose for himself where to cut off text using the code above is that you have to add the code to the plugin after every update.

    What is the problem with adding 4 lines of code if that would make the plugin more flexible? You want people to be happy with the plugin, right? I really don’t get it.

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.