Shortcode in link not working
-
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!
- The topic ‘Shortcode in link not working’ is closed to new replies.