mailchimp-for-wp
Last commit date
assets
12 years ago
includes
12 years ago
index.php
12 years ago
license.txt
12 years ago
mailchimp-for-wp.php
12 years ago
readme.txt
12 years ago
uninstall.php
12 years ago
mailchimp-for-wp.php
43 lines
| 1 | <?php |
| 2 | /* |
| 3 | Plugin Name: MailChimp for WordPress Lite |
| 4 | Plugin URI: http://dannyvankooten.com/mailchimp-for-wordpress/ |
| 5 | Description: Lite version of MailChimp for WordPress. Add various sign-up methods to your website. Show sign-up forms in your posts, pages or widgets. Add sign-up checkboxes to various forms, like your comment or contact forms. Premium features include multiple and better forms, easier styling, detailed statistics and much more: <a href="http://dannyvankooten.com/mailchimp-for-wordpress/">Upgrade now</a> |
| 6 | Version: 1.4.6 |
| 7 | Author: Danny van Kooten |
| 8 | Author URI: http://dannyvanKooten.com |
| 9 | License: GPL v3 |
| 10 | |
| 11 | MailChimp for WordPress |
| 12 | Copyright (C) 2012-2013, Danny van Kooten, hi@dannyvankooten.com |
| 13 | |
| 14 | This program is free software: you can redistribute it and/or modify |
| 15 | it under the terms of the GNU General Public License as published by |
| 16 | the Free Software Foundation, either version 3 of the License, or |
| 17 | (at your option) any later version. |
| 18 | |
| 19 | This program is distributed in the hope that it will be useful, |
| 20 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 21 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 22 | GNU General Public License for more details. |
| 23 | |
| 24 | You should have received a copy of the GNU General Public License |
| 25 | along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 26 | */ |
| 27 | |
| 28 | defined( 'ABSPATH' ) OR exit; |
| 29 | |
| 30 | define("MC4WP_LITE_VERSION", "1.4.6"); |
| 31 | define("MC4WP_LITE_PLUGIN_DIR", plugin_dir_path(__FILE__)); |
| 32 | |
| 33 | if(!function_exists('is_plugin_active')) { |
| 34 | include_once( ABSPATH . 'wp-admin/includes/plugin.php' ); |
| 35 | } |
| 36 | |
| 37 | // Only load Lite plugin is Pro version is not active |
| 38 | if(!is_plugin_active('mailchimp-for-wp-pro/mailchimp-for-wp-pro.php')) { |
| 39 | include_once MC4WP_LITE_PLUGIN_DIR . 'includes/MC4WP_Lite.php'; |
| 40 | new MC4WP_Lite(); |
| 41 | } |
| 42 | |
| 43 |