MailChimp Campaign Archive adds a
[mailchimp_campaigns] shortcode to WordPress. This shortcode lists your latest MailChimp email campaigns as an unordered list with links to view the HTML version of each email.
The only required parameter is
apikey which you must generate from MailChimp: https://admin.mailchimp.com/account/api/
[mailchimp_campaigns apikey="xxxxxxxxxx" limit="10" order="ASC" link_text="title"]
Generated from https://admin.mailchimp.com/account/api/
Specify how many campaigns to list. Can be any integer between 1 and 1000.
If offset is non-negative, the archive list will start at that offset in the list. If offset is negative, the archive list will start that far from the end of the list. For example, set this to 10 to omit the first ten email campaigns from the list, or set it to -2 to omit every campaign that comes before the second to last campaign.
Can be either ASC or DESC (ascending or descending)
Specify where to get link text. Can be either “subject” or “title”
Only show campaigns of a specific status. Can be: “sent”, “save”, “paused”, “schedule”, or “sending”
Only show campaigns that have this “From Name”
Only show campaigns that have this “Reply-to Email”
Only show campaigns sent to this list ID. The ID for a given list can be found by navigating to the Lists page, clicking the Gear drop down, and selecting List Settings and Unique ID.
Only show campaigns from this folder ID. The folder ID can be found in the “
fid” parameter in the “Folder Archive Code”
Organize campaign list by date. Can be either “year” or “month”
HTML element to use for month/year titles. Only needed if “organize_by” is set. Should be one of: