Posts Tagged ‘dynamic’

Dynamic Variables

All emails sent through the mailing list plugin (not just newsletters, but expiration notifications, confirmation emails, etc…) are parsed through a method which checks for certain dynamic variable tags in the content and replaces these tags with values based on their purpose. Below is a list of all the available dynamic variables, together with a description for each.

  • {email}
    Ouputs the email address of each individual subscriber.
  • {unsubscribe}
    Generates an unsubscription link for each individual subscriber.
  • {blogname}
    Outputs the title of your Wordpress blog.
  • {siteurl}
    Outputs an absolute URL to your Wordpress blog’s home page.
  • {activationlink}
    Generates an activation/confirmation link for each subscriber for the specific mailing list.
  • {manage}
    Generates a link which will take the subscriber to a subscription management page.

Apart from these predefined dynamic variables available, each of your custom fields in the mailing list will have their own dynamic variable so that you can personalize newsletters sent out to your subscribers. For example, if you create a custom field with the title “Birth Date”, you later on insert the dynamic variable “{birth_date}” into a newsletter to output the value of the custom field for each respectable subscriber.