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

Mailchimp Food-Cook Subscribe

外掛說明

This plugin provides a modal popup to convert visitors to your food-cook website into subscribers and in effect to take action like product discount or coupon etc.

This plugin is an extract from globalfoodbook.com.

This plugin will work only on (woothemes enabled) websites that have setup mailchimp connect url, See food-cook docs and this

For more details. This plugin is built to help other food-cook site owners (from the support group) who require this utility.

It is implemented to allow easy setup and customization of a website’s newsletter subscription widget and modal popup. It is best used with food and cook recipe theme made with woo themes.

Notes to developers

Contributing

If you would like to contribute to our suite of plugins, head on over to Global Food Book Labs. Feel free to fork and contribute back.

  1. Fork it (https://github.com/globalfoodbook/mailchimp-foodcook-subscribe)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Adding Screenshots to the wordpress repo

  1. Rename each screenshot for each step like this. For step 1 the screenshot is screenshot-1.png.
  2. The banner image is named as banner-772×250.png.
  3. Use an SVN client like smart svn or rapid svn etc to uploads these iamges to the /assets folder.
  4. After this commit and all will be picked up.

Pushing plugin to wordpress svn repo

  1. Clone this repo

          git clone git@github.com:globalfoodbook/mailchimp-foodcook-subscribe.git
    
  2. cd path/to/mailchimp-foodcook-subscribe

  3. vim .git/config
  4. Add the code below:

      [svn-remote "svn"]
              url = https://plugins.svn.wordpress.org/[plugin_name]/trunk
              fetch = :refs/remotes/git-svn
    
  5. Then merge the master into the new branch:

          git svn fetch svn
          git checkout -b svn git-svn
          git merge master
          git svn dcommit --username [wordpress.org username]
    
  6. Then rebase that branch to the master, and you can dcommit from the master to svn

          git checkout master
          git rebase svn
          git branch -d svn
          git svn dcommit --username [wordpress.org username]
    

螢幕擷圖

  • Edit the widget within the admin widget area.
  • Click the subscribe button and the modal popup will appear.

安裝方式

  1. Upload /mailchimp-woothemes-subscribe to the /wp-content/plugins directory
  2. Activate the plugin through the Plugins menu in WordPress

常見問題集

Can I add/modify titles and summaries in the popup and widget area?

Yes. Simple go to the widget menu in the admin, select this plugin and modify appropriately.

Can I add an Image?

Yes. only the urls can be accepted.

Is the button text changeable?

Yes.

Is the button color changeable?

Yes.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈Mailchimp Food-Cook Subscribe〉的開發相關工作。

參與者

將〈Mailchimp Food-Cook Subscribe〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

1.0

  • Initial Release

1.1

  • Add option to disable or enable modal popup

1.15

  • Refactor scrollManager: Separate tracking from overlay invocation
  • Adjust tracking distance from top

1.30

  • Cosmetic changes to subscrption form

1.40

  • After close set scroll status to false.
  • Refactor to use screen width to determine the left position of the modal box
  • Define and implement LayoutManager
  • Cosmetic changes to subscrption form