Support » Plugin: MailPoet - emails and newsletters in WordPress » Shortcode in link not working

  • Resolved RJ

    (@rolandjosuran)


    I want to add parameters to a link in a post notification. I used the built-in shortcodes [newsletter:post_title], [newsletter:subject] and [subscriber:displayname] as follows:

    www.example.com/route/?email_title=[newsletter:post_title]&email_subject=[newsletter:subject]&email_name=[subscriber:displayname]

    The name works but the title is always empty and [newsletter:subject] is not rendered and stays as shortcode. I used the three shortcodes somewere else (not in an URL) in the post notification and it worked. Actually I use [newsletter:post_title] as subject of the email.

    How can i add the title of the latest post or the email subject as parameter to a link?

    Any help is appreciated, thanks!

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