• Resolved tripwater

    (@tripwater)


    Hello all,

    I am using the Youtube shortcode plugin which enables you to paste in the url or youtube code , set some options and it inserts shortcode into your post that later will display an embedded player with your options set. This is all working great. However, the email that gets sent out to the user has this shortcode in it. See Screen shot

    All I need to know is how to NOT send the content of the post but instead, send the featured image as a link as well.

    So the email would have the title then the featured image and a read more…clicking on any of these would take you to the post.

    I am not a guru so I would need to know what file and where to add the code if you provide a snippet.

    The end result would be ALL subscriber emails going out would be formatted like this. Just title and featured image. This would also prevent full blog posts from being read in the inbox and bring the reader to our website.

    Thank you for your time and any help with this.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Moderator James Huff

    (@macmanx)

    That looks like Jetpack’s subscription emails. I recommend contacting the folks at https://jetpack.me/contact-support/ about this.

    Thread Starter tripwater

    (@tripwater)

    Thanks for the link MacManX, I’ll hop over there and drop them a line.

    Some themes support only inserting the link to Youtube and other embed options, without the [shortcode]. You’ll need to research if your theme does that: https://www.cryoutcreations.eu/tempera. If so, you should be able to paste in the link for just the Youtube video. When that goes to your emails, it’ll show just the link. Email generally can’t handle embedded videos of any sort. So, a link (without the [shortcode]) for the viewers to watch would be a decent swap there.

    Thread Starter tripwater

    (@tripwater)

    Thanks Courtney.

    I understand that, but the goal isn’t to send out an email that my readers would then go to youtube. I want them to come to my site. A youtube link, would take them to youtube and not my website. I don’t expect an embedded video in the email. It would be nice to have the flexibility to select in admin that I wanted either just an excerpt to go out or a featured image to go out in the body of the email instead. This would eliminate the possible short code issue as well as limit your full blog post being emailed to the reader. If I can’t set this up in admin, I would like to know how to do so in the code.

    I did email jetpack support. I doubt they will guide me through a hack in the code though…

    Thread Starter tripwater

    (@tripwater)

    After contacting JetPack, they are aware of the issue and working on it, however they did give me a work around that works. After I add some text to the post, add the Read More tag to the post THEN add my youtube video short code. Everything after the Read More is ignored in the email that gets sent out and it works exactly as I need.

    Thank you for your time.

    Moderator James Huff

    (@macmanx)

    Thanks for sharing the work-around! ??

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Youtube shortcode and subscriber email’ is closed to new replies.