Top 5 Books
Getting creative with the [user] shortcode
If you want to display just the first name, use this:
Howdy [subscriber:firstname | default:subscriber], how are you today?
If your subscriber full name is John Doe, and you send him the newsletter, he will see the message: Howdy John, how are you today?
If you want to use his full name (which is tricky because you have to be creative for email-only subscribers):
Hello [subscriber:firstname | default:Comrade] [subscriber:lastname | default:of our ship]!
This would display one of these 3 combinations if the recipient is called John Doe:
- Hello John Doe!
- Hello Comrade Doe!
- Hello Comrade of our ship!
Full list of available shortcodes
User:
- First Name: [subscriber:firstname | default:subscriber]
- Last Name: [subscriber:lastname | default:subscriber]
- Email Address: [subscriber:email]
- WordPress user display name: [subscriber:displayname | default:subscriber]
Newsletter:
- Newsletter Subject: [newsletter:subject]
- Show number of posts or pages: [newsletter:total]
- Show Most Recent Post Title: [newsletter:post_title]
- Display the Issue Number: [newsletter:number]
- Display a list of past newsletters on a page:
- 17 November 2020 New post! The Last Emperor - Abdul Hamid II (Payitaht: Abdülhamid) from Yusha.ca
- 26 October 2020 New post! Having a healthy diet from Yusha.ca
- 26 October 2020 New post My must watch list of Sci-Fi Movies 🎥 from Yusha.ca
- 26 October 2020 New post Fix for Surface device Wi-Fi not working on Public, Shaw, Starbucks and 5Ghz networks from Yusha.ca
- 25 October 2020 New post G Suite Migration to Microsoft Office 365 for Business in 10 easy steps. from Yusha.ca
- 20 August 2020 New post Test Title from Yusha.ca
- 17 August 2020 New post Top 5 Books from Yusha.ca
- 17 August 2020 New post Article 101 from Yusha.ca
- 17 August 2020 New post Article 4 from Yusha.ca
- 17 August 2020 New post notification from Yusha.ca
- 17 August 2020 New post notification from Yusha.ca
- 17 August 2020 New post notification from Yusha.ca
Date:
- Current day of the month number: [date:d]
- Current day of the month in ordinal form, ie. 2nd, 3rd, etc : [date:dordinal]
- Full name of current day: [date:dtext]
- Current month number: [date:m]
- Full name of current month: [date:mtext]
- Year: [date:y]
- Relative dates: [date:custom | format:l jS F Y \a\t ga] will produce “Tuesday 10th January 2017 at 9am”. The format values must be compatible with the PHP Date Formats.
Newsletter designer (only):
- Unsubscribe: [link:subscription_unsubscribe_url]
- Manage your subscription: [link:subscription_manage_url]
- View in browser link: [link:newsletter_view_in_browser_url]
Create your own custom shortcode
Please read this article for more information on adding your own shortcodes.