這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

MailChimp Campaign Archive

外掛說明

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.

Usage

The only required parameter is apikey which you must generate from MailChimp: https://admin.mailchimp.com/account/api/

Example usage: [mailchimp_campaigns apikey="xxxxxxxxxx" limit="10" order="ASC" link_text="title"]

apikey
Generated from https://admin.mailchimp.com/account/api/

limit
Specify how many campaigns to list. Can be any integer between 1 and 1000.

offset
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.

order
Can be either ASC or DESC (ascending or descending)

link_text
Specify where to get link text. Can be either “subject” or “title”

status
Only show campaigns of a specific status. Can be: “sent”, “save”, “paused”, “schedule”, or “sending”

from_name
Only show campaigns that have this “From Name”

from_email
Only show campaigns that have this “Reply-to Email”

list_id
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.

folder_id
Only show campaigns from this folder ID. The folder ID can be found in the “fid” parameter in the “Folder Archive Code”

organize_by
Organize campaign list by date. Can be either “year” or “month”

heading_tag
HTML element to use for month/year titles. Only needed if “organize_by” is set. Should be one of: h1, h2, h3, h4, h5, h6

螢幕擷圖

  • Paste the shortcode into a post or page. The API key is the only required parameter.
  • A list of sent emails is generated, complete with links to view the HTML version of each one.

安裝方式

Extract the zip file and drop the contents in the wp-content/plugins/ directory of your WordPress installation and then activate the plugin from the “Plugins” page.

使用者評論

2018 年 6 月 4 日
This plugin has worked great over the years but is using the MailChimp 1.3 API (according to mailchimp-api-mini-class/MCAPI.class.php) and hasn't been updated in 4 years. MailChimp is retiring old APIs and ours finally broke as they are on version 3.0. It's a great plugin and I'm impressed it's worked this long, but I've giving this one star because it's not updated and will be breaking if it hasn't already for you. That said, if it happens to you can get some code from MailChimp directly paste that into a widget to hopefully get back on track!
閱讀全部 8 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈MailChimp Campaign Archive〉的開發相關工作。

參與者

將〈MailChimp Campaign Archive〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.0.3

  • First public release