跳到內容
  • 登入
  • 註冊
WordPress.org

Hong Kong 香港中文

  • 佈景主題
  • 外掛
  • News
  • Support
  • About
  • 重要通知
  • WordPress 常見問題
  • 團隊
  • 取得 WordPress
取得 WordPress

外掛

  • 我的收藏
  • Beta測試
  • 開發者

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

下載

Constant Contact WordPress Widget

由Katz Web Services, Inc.
  • 詳情
  • 評價
  • 安裝
  • 開發
支援

描述

The Constant Contact Widget adds Constant Contact signup forms to your sidebar without touching code. Includes options for Title, Button Text, Tag Wrapper, Form ID Code, Intro Paragraph, and much more.

Shortcode newsletter form support

Embed a form in your website using shortcakes: [constantcontact id="3"] will embed form #3 in your page or post content. It’s that simple!

Widget options:

The widget has tons of configuration options:

  • title – Widget title
  • preface – Text shown inside the widget form
  • button – The text of the submit button
  • style – Choose from three different Constant Contact styles, or unstyled
  • safe_subscribe – Choose from three colors of the SafeSubscribe logo – Constant Contact only provides 1 by default!
  • email_image – Add some flair to your widget with an email icon: choose from 5 options
  • width – Customize the width of your widget
  • input_size – Customize the width of the email input field
  • and more!

Learn more on the Official Plugin Page.

Note

If your using WordPress version 2.9 or above, consider using the Constant Contact for WordPress plugin. The Constant Contact for WordPress plugin has more features, but is currently lacking the styling options available with this plugin. We are working to bring you the best of both plugins.

螢幕截圖

  • Before the widget is configured
  • Widget Text & Input settings
  • Widget Design Preset settings
  • Widget Visual settings
  • Widget Form settings
  • How the widget displays in the twentyten theme

安裝

Follow the following steps to install this plugin.

In your sidebar:

  1. Download plugin to the /wp-content/plugins/ folder
  2. Upload the plugin to your web host
  3. Activate the plugin through the ‘Appearance > Plugins’ menu in WordPress
  4. Go to the Widgets page in WordPress (Appearance > Widgets)
  5. Drag Constant Contact Widget 2.0 into a sidebar.
  6. Paste the HTML Code from Constant Contact (Contacts > Join My Mailing List > Start Wizard to generate HTML code). View tutorial video.
  7. Save the widget, then configure the rest of the options.
  8. Save once more, and you’re all set!

On a page:
Configure the widget as you would in your sidebar (see above). Then, you can either:

  • use <?php do_shortcode('[constantcontact id="#"]'); ?> in your template code
  • or write [constantcontact id="#"] in your post’s or page’s content.

常見問題

How do I use the new `apply_filters()` functionality? (Added 1.7)

If you want to change some code in the widget, you can use the WordPress add_filter() function to achieve this.

You can add code to your theme’s functions.php file that will modify the widget output. Here’s an example:

function my_example_function($widget) { 
    // The $widget variable is the output of the widget
    // This will replace 'this word' with 'that word' in the widget output.
    $widget = str_replace('this word', 'that word', $widget);
    // Make sure to return the $widget variable, or it won't work!
    return $widget;
}
add_filter('cc_signup_form_widget', 'my_example_function');
How do I create a Constant Contact form using this widget?

Go to ‘Appearance’ > ‘Widgets,’ click “Add” next to “Constant Contact,” click “Edit” to configure your form and follow the on-screen instruction.

Do I need a Constant Contact account for this widget?

This plugin requires a Constant Contact account.

Constant Contact is a great email marketing company — their rates are determined by the number of contacts in your list, not how many emails you send. This means you can send unlimited emails per month for one fixed rate! Give it a test run

How do use this as a PHP function and not have it in the sidebar?

In the Widget options, fill out the Widget settings as you would normally. Set ‘Show the Widget’ to ‘No, Hide Widget’, which will save the widget settings, but will not display it. Then you can use the following PHP to show the widget: do_shortcode('[constantcontact id="#"]');.

Can I call Constant Contact if this form does not work?

No, this form is not created by Constant Contact, so please do not call them with questions. Instead, “leave a message on the widget blog page”.

What is the license for this plugin?
  • This plugin is released under a GPL license.

評價

There are no reviews for this plugin.

貢獻者及開發者

“Constant Contact WordPress Widget” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者
  • Zack Katz
  • jamesbenson

將 Constant Contact WordPress Widget 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

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

修改日誌

2.0.3

  • Fixed issue where upon form submission, users are taken to Constant Contact page that says “An unexpected error has occurred. Please try again.”
  • Fixed PHP notices being displayed if WP_DEBUG is turned on
  • Fixed issue where background color may have been overwritten when using the Basic Design preset.
  • Improved CSS output to only output once when wp_print_scripts is called multiple times
  • Changed CSS generation for Style 1 to allow for multiple widgets with different style configurations

2.0.2

  • Added backward compatibility from Version 1.7 – all previous settings will now be imported.

2.0.1

  • Fixed bug where widget would display the form before the widget had been properly configured
  • Fixed a bug where the “Give thanks” link would show up even if “Give thanks” option had not been checked. Sorry about that!

2.0

  • Converted the plugin to use the (not-so-new) Widgets API introduced in WordPress 2.8. If use an earlier version, do not upgrade!
  • Widget CSS is now shown in website head instead of inline
    • Filters were added to easily modify CSS: cc_widget_style, cc_widget_style_{widget #}
  • Widget layout completely re-written to be much easier to use.
  • All images used in the widget styles are now included in the plugin – this will reduce load time of each page
  • New settings:
    • Email icons – Add nice-looking email icons to your widget
    • Form target – Choose whether or not forms open in new window
  • This version has many large changes – please report any issues here – you may need to re-configure some settings if the form is not displaying as it used to.
  • Shortcode use has been updated – you must now use the widget ID (found under the widget’s Form Settings section) in the shortcode. Before, it was [constantcontact]; now it is [constantcontact id="#"], where # is your widget number.

1.7

  • Moved from .17 to 1.7
  • Added apply_filters('cc_signup_form_widget') code to allow for simple widget modification
  • Improved layout, wording, and grouping of widget configuration options
  • Improved readme.txt file

.161 & .162

  • Updated plugin to include GPL license information
  • Added function_exists check to fix reported issue

.16

  • Added different SafeSubscribe(sm) image options for different background colors
  • Combined the SafeSubscribe image chooser with Display SafeSubscribe option
  • Improved s in widget
  • Improved Stylish email image display
  • Added a proper Changelog to readme.txt
  • Fixed widget installation “White Screen” error

.154 & .155

  • Added #go to submit button in all Styles to add more CSS customization
  • Added shortcode functionality

.153

  • Fixed unexpected $end issue on some servers, by changing <? to <?php

.151

  • Added custom title to Stylish design
  • Added custom email input label, and option to turn off label

.15

  • Added option to change size of email input
  • Added option to hide the <fieldset> in the No Style form
  • Fixed Internet Explorer issue where adding widget would cause active widgets list to disappear.
  • Added options to change border and background color in the Basic Style form

.146

  • Stylish form now has custom button text
  • Added custom width option for forms
  • Improved Stylish form email image layout

.144 & .145

  • Email input javascript text toggle now works properly
  • Added option to give widget author credit
  • Made Constant Contact informational links nofollow
  • Added option to rename or remove <legend> using the No Style form

.143

  • Updated CSS for Stylish design to prevent background of email image from showing through

.142

  • Fixed code for CSS-only and Stylish design

.141

  • Fixed code for Stylish design if javascript was turned off

.14

  • Added option to not show widget, but use with plugin-like functionality by calling widget_cc()
  • Added option to define custom default input text toggle
  • Added method to turn off input text toggle and remove the javascript
  • Fixed improper code

.131

  • Fixed small coding error with closing input tag
  • Added wptexturize for widget title

.13

  • Added option to show Constant Contact link
  • Added Basic, Bubble, and Stylish style options from Constant Contact’s default options (don’t blame ME!)

其它

  • 版本:2.0.3
  • 最後更新:10 年之前
  • 運作中的安裝:500+
  • WordPress Version: 2.8 or higher
  • 已測試到版本:3.5.2
  • 語言:
    English (US)
  • 標籤:
    constant contactformnewslettersignupwidget
  • 進階顯示

評分

這個外掛尚無任何評分記錄。

Log in to submit a review.

貢獻者

  • Zack Katz
  • jamesbenson

支援

有話想說?需要協助?

檢視支援論壇

捐贈

想要支援這個外掛的發展嗎?

贊助這個外掛

  • 關於我們
  • 最新消息
  • 寄存
  • 贊助基金會
  • Swag
  • 技術支援
  • 開發者資源
  • 共同參與
  • Learn
  • 展示網站
  • 外掛
  • 佈景主題
  • 區塊版面配置
  • WordCamp
  • WordPress.TV
  • BuddyPress
  • bbPress
  • WordPress.com
  • Matt
  • 隱私權
  • Public Code
WordPress.org
WordPress.org

Hong Kong 香港中文

  • 訪問我們的 Facebook 專頁
  • 訪問我們的 Twitter 帳戶
  • Visit our Instagram account
  • Visit our LinkedIn account
代碼就是詩歌。