Skip to content

This is an implementation to allow easy setup and customization of a website's newsletter subscription widget and modal popup. It is best used with mailchimp, food and cook recipe theme made with woo themes.

License

Notifications You must be signed in to change notification settings

globalfoodbook/mailchimp-foodcook-subscribe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

Mailchimp Food-Cook Subscribe

Contributors: (kengimel) Tags: newsletter, food-cook, recipe plugin, mailchimp, shortcode, global food book Requires at least: 3.0.1 Tested up to: 4.4 Stable tag: 1 License: MIT License License URI: http://opensource.org/licenses/MIT

This makes easy, the setup of a website's newsletter subscription widget and modal popup. Best used in food and cook recipe theme or woothemes.

Description

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.

Installation

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

Frequently Asked Questions

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.

Screenshots

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

Changelog

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 subscription 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 subscription form

1.50

  • Bump wordpress compatible version

Upgrade Notice

1

  • 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 subscription 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 subscription form

1.50

  • Bump wordpress compatible version

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-772x250.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 [email protected]: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 = http://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]`
    

About

This is an implementation to allow easy setup and customization of a website's newsletter subscription widget and modal popup. It is best used with mailchimp, food and cook recipe theme made with woo themes.

Resources

License

Stars

Watchers

Forks

Packages

No packages published