Version Description
- SAFE UPDATE: No data loss for those upgrading from version 3.0 or higher
- Fixed a bug when removing currency sign (e.g.. for free plans)
Download this release
Release Info
Developer | spwebguy |
Plugin | Responsive Pricing Table |
Version | 4.0.1 |
Comparing to | |
See all releases |
Code changes from version 4.0 to 4.0.1
- cmb2/bootstrap.php +0 -0
- cmb2/css/cmb2.css +0 -0
- cmb2/css/cmb2.css.map +0 -0
- cmb2/css/cmb2.min.css +0 -0
- cmb2/css/index.php +0 -0
- cmb2/css/sass/cmb2.scss +0 -0
- cmb2/css/sass/index.php +0 -0
- cmb2/css/sass/partials/_collapsible_ui.scss +0 -0
- cmb2/css/sass/partials/_jquery_ui.scss +0 -0
- cmb2/css/sass/partials/_main_wrap.scss +0 -0
- cmb2/css/sass/partials/_misc.scss +0 -0
- cmb2/css/sass/partials/_mixins.scss +0 -0
- cmb2/css/sass/partials/_post_metaboxes.scss +0 -0
- cmb2/css/sass/partials/_sidebar_placements.scss +0 -0
- cmb2/css/sass/partials/_timepicker.scss +0 -0
- cmb2/css/sass/partials/_variables.scss +0 -0
- cmb2/css/sass/partials/index.php +0 -0
- cmb2/images/ico-delete.png +0 -0
- cmb2/images/index.php +0 -0
- cmb2/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- cmb2/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
- cmb2/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
- cmb2/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- cmb2/images/ui-bg_glass_75_dadada_1x400.png +0 -0
- cmb2/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
- cmb2/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- cmb2/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
- cmb2/images/ui-icons_222222_256x240.png +0 -0
- cmb2/images/ui-icons_2e83ff_256x240.png +0 -0
- cmb2/images/ui-icons_454545_256x240.png +0 -0
- cmb2/images/ui-icons_888888_256x240.png +0 -0
- cmb2/images/ui-icons_cd0a0a_256x240.png +0 -0
- cmb2/includes/CMB2.php +0 -0
- cmb2/includes/CMB2_Ajax.php +0 -0
- cmb2/includes/CMB2_Boxes.php +0 -0
- cmb2/includes/CMB2_Field.php +0 -0
- cmb2/includes/CMB2_Options.php +0 -0
- cmb2/includes/CMB2_Sanitize.php +0 -0
- cmb2/includes/CMB2_Show_Filters.php +0 -0
- cmb2/includes/CMB2_Types.php +0 -0
- cmb2/includes/CMB2_Utils.php +0 -0
- cmb2/includes/CMB2_hookup.php +0 -0
- cmb2/includes/helper-functions.php +0 -0
- cmb2/includes/index.php +0 -0
- cmb2/index.php +0 -0
- cmb2/init.php +0 -0
- cmb2/js/cmb2.js +0 -0
- cmb2/js/cmb2.min.js +0 -0
- cmb2/js/index.php +0 -0
- cmb2/js/jquery.timePicker.min.js +0 -0
- readme.txt +5 -0
- rpt.php +27 -8
cmb2/bootstrap.php
CHANGED
File without changes
|
cmb2/css/cmb2.css
CHANGED
File without changes
|
cmb2/css/cmb2.css.map
CHANGED
File without changes
|
cmb2/css/cmb2.min.css
CHANGED
File without changes
|
cmb2/css/index.php
CHANGED
File without changes
|
cmb2/css/sass/cmb2.scss
CHANGED
File without changes
|
cmb2/css/sass/index.php
CHANGED
File without changes
|
cmb2/css/sass/partials/_collapsible_ui.scss
CHANGED
File without changes
|
cmb2/css/sass/partials/_jquery_ui.scss
CHANGED
File without changes
|
cmb2/css/sass/partials/_main_wrap.scss
CHANGED
File without changes
|
cmb2/css/sass/partials/_misc.scss
CHANGED
File without changes
|
cmb2/css/sass/partials/_mixins.scss
CHANGED
File without changes
|
cmb2/css/sass/partials/_post_metaboxes.scss
CHANGED
File without changes
|
cmb2/css/sass/partials/_sidebar_placements.scss
CHANGED
File without changes
|
cmb2/css/sass/partials/_timepicker.scss
CHANGED
File without changes
|
cmb2/css/sass/partials/_variables.scss
CHANGED
File without changes
|
cmb2/css/sass/partials/index.php
CHANGED
File without changes
|
cmb2/images/ico-delete.png
CHANGED
File without changes
|
cmb2/images/index.php
CHANGED
File without changes
|
cmb2/images/ui-bg_flat_0_aaaaaa_40x100.png
CHANGED
File without changes
|
cmb2/images/ui-bg_flat_75_ffffff_40x100.png
CHANGED
File without changes
|
cmb2/images/ui-bg_glass_55_fbf9ee_1x400.png
CHANGED
File without changes
|
cmb2/images/ui-bg_glass_65_ffffff_1x400.png
CHANGED
File without changes
|
cmb2/images/ui-bg_glass_75_dadada_1x400.png
CHANGED
File without changes
|
cmb2/images/ui-bg_glass_75_e6e6e6_1x400.png
CHANGED
File without changes
|
cmb2/images/ui-bg_glass_95_fef1ec_1x400.png
CHANGED
File without changes
|
cmb2/images/ui-bg_highlight-soft_75_cccccc_1x100.png
CHANGED
File without changes
|
cmb2/images/ui-icons_222222_256x240.png
CHANGED
File without changes
|
cmb2/images/ui-icons_2e83ff_256x240.png
CHANGED
File without changes
|
cmb2/images/ui-icons_454545_256x240.png
CHANGED
File without changes
|
cmb2/images/ui-icons_888888_256x240.png
CHANGED
File without changes
|
cmb2/images/ui-icons_cd0a0a_256x240.png
CHANGED
File without changes
|
cmb2/includes/CMB2.php
CHANGED
File without changes
|
cmb2/includes/CMB2_Ajax.php
CHANGED
File without changes
|
cmb2/includes/CMB2_Boxes.php
CHANGED
File without changes
|
cmb2/includes/CMB2_Field.php
CHANGED
File without changes
|
cmb2/includes/CMB2_Options.php
CHANGED
File without changes
|
cmb2/includes/CMB2_Sanitize.php
CHANGED
File without changes
|
cmb2/includes/CMB2_Show_Filters.php
CHANGED
File without changes
|
cmb2/includes/CMB2_Types.php
CHANGED
File without changes
|
cmb2/includes/CMB2_Utils.php
CHANGED
File without changes
|
cmb2/includes/CMB2_hookup.php
CHANGED
File without changes
|
cmb2/includes/helper-functions.php
CHANGED
File without changes
|
cmb2/includes/index.php
CHANGED
File without changes
|
cmb2/index.php
CHANGED
File without changes
|
cmb2/init.php
CHANGED
File without changes
|
cmb2/js/cmb2.js
CHANGED
File without changes
|
cmb2/js/cmb2.min.js
CHANGED
File without changes
|
cmb2/js/index.php
CHANGED
File without changes
|
cmb2/js/jquery.timePicker.min.js
CHANGED
File without changes
|
readme.txt
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
=== Responsive Pricing Table ===
|
|
|
2 |
Tags: pricing table, pricing tables, prices, plans, offer, shortcode, easy, price, responsive, pricing, tables, flexible, pricing plan
|
3 |
Requires at least: 3.6
|
4 |
Tested up to: 4.1.1
|
@@ -73,6 +74,10 @@ The [PRO version](http://wpdarko.com/items/responsive-pricing-table-pro/) gives
|
|
73 |
5. Finding the shortcode (admin view)
|
74 |
|
75 |
== Changelog ==
|
|
|
|
|
|
|
|
|
76 |
= 4.0 =
|
77 |
* SAFE UPDATE: No data loss for those upgrading from version 3.0 or higher
|
78 |
* New admin interface (new framework)
|
1 |
=== Responsive Pricing Table ===
|
2 |
+
Contributors: spwebguy
|
3 |
Tags: pricing table, pricing tables, prices, plans, offer, shortcode, easy, price, responsive, pricing, tables, flexible, pricing plan
|
4 |
Requires at least: 3.6
|
5 |
Tested up to: 4.1.1
|
74 |
5. Finding the shortcode (admin view)
|
75 |
|
76 |
== Changelog ==
|
77 |
+
= 4.0.1 =
|
78 |
+
* SAFE UPDATE: No data loss for those upgrading from version 3.0 or higher
|
79 |
+
* Fixed a bug when removing currency sign (e.g.. for free plans)
|
80 |
+
|
81 |
= 4.0 =
|
82 |
* SAFE UPDATE: No data loss for those upgrading from version 3.0 or higher
|
83 |
* New admin interface (new framework)
|
rpt.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Responsive Pricing Table
|
4 |
Plugin URI: http://wpdarko.com/support/documentation/get-started-responsive-pricing-table/
|
5 |
Description: A responsive, easy and elegant way to present your offer to your visitors. Just create a new pricing table (custom type) and copy-paste the shortcode into your posts/pages. Find support and information on the <a href="http://wpdarko.com/responsive-pricing-table/">plugin's page</a>. This free version is NOT limited and does not contain any ad. Check out the <a href='http://wpdarko.com/items/responsive-pricing-table-pro/'>PRO version</a> for more great features.
|
6 |
-
Version: 4.0
|
7 |
Author: WP Darko
|
8 |
Author URI: http://wpdarko.com
|
9 |
License: GPL2
|
@@ -207,14 +207,14 @@ function rpt_register_plan_group_metabox() {
|
|
207 |
'type' => 'textarea',
|
208 |
'attributes' => array(
|
209 |
'placeholder' => 'one per line',
|
210 |
-
'rows' =>
|
211 |
),
|
212 |
'row_classes' => 'de_first de_fifty de_textarea de_input',
|
213 |
));
|
214 |
|
215 |
$main_group->add_group_field( $rpt_plan_group, array(
|
216 |
'name' => 'Tips & Tricks',
|
217 |
-
'desc' => '<span class="dashicons dashicons-yes"></span> Add images (not recommended)<br/><span style="color:#bbb;"><img src="http://yoursite.com/yourimage.png"/></span><br/><br/><span class="dashicons dashicons-yes"></span> Add links<br/><span style="color:#bbb;"><a href="http://yoursite.com">Go to yoursite.com</a></span><br/><br/><span class="dashicons dashicons-yes"></span> Add bold text<br/><span style="color:#bbb;"><strong>Something <strong>important</strong></strong></span><br/><br/><span style="color:#8a7463;"><span class="dashicons dashicons-lock"></span> PRO Add Tooltips<br/>Tooltips are info bubbles for your features.</span>',
|
218 |
'id' => $prefix . 'features_desc',
|
219 |
'type' => 'title',
|
220 |
'row_classes' => 'de_fifty de_info',
|
@@ -461,11 +461,30 @@ function rpt_register_plan_group_metabox() {
|
|
461 |
|
462 |
$pro_group->add_field( array(
|
463 |
'name' => '',
|
464 |
-
'desc' => 'This free version is <strong>not</strong> limited and does <strong>not</strong> contain any ad. Check out the PRO version for more great features.<br/><br/><a target="_blank" href="http://wpdarko.com/items/responsive-pricing-table-pro"><span class="dashicons dashicons-arrow-right-alt2"></span> See plugin\'s page</a>',
|
465 |
'id' => $prefix . 'pro_desc',
|
466 |
'type' => 'title',
|
467 |
'row_classes' => 'de_hundred de_info de_info_side',
|
468 |
));
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
469 |
}
|
470 |
|
471 |
add_action( 'cmb2_init', 'rpt_register_plan_group_metabox' );
|
@@ -511,7 +530,7 @@ foreach($custom_posts as $post) : setup_postdata($post);
|
|
511 |
// Forcing original fonts?
|
512 |
$original_font = get_post_meta( $post->ID, '_rpt_original_font', true );
|
513 |
if ($original_font == true){
|
514 |
-
$ori_f = '
|
515 |
} else {
|
516 |
$ori_f = '';
|
517 |
}
|
@@ -627,7 +646,7 @@ foreach($custom_posts as $post) : setup_postdata($post);
|
|
627 |
|
628 |
if (!empty($plans['_rpt_free'])){
|
629 |
if ($plans['_rpt_free'] == true ){
|
630 |
-
$output2 .= '';
|
631 |
} else {
|
632 |
$output2 .= '<span class="rpt_currency"></span>' . $plans['_rpt_price'];
|
633 |
}
|
@@ -719,12 +738,12 @@ foreach($custom_posts as $post) : setup_postdata($post);
|
|
719 |
|
720 |
// Foot
|
721 |
if (!empty($plans['_rpt_btn_text'])){
|
722 |
-
$output2 .= '<a '. $link_behavior .' href="' . $btn_link . '" style="background:' . $plans['_rpt_color'] . '" class="rpt_foot rpt_foot_' . $key . '">';
|
723 |
} else {
|
724 |
$output2 .= '<a '. $link_behavior .' style="background:' . $plans['_rpt_color'] . '" class="rpt_foot rpt_foot_' . $key . '">';
|
725 |
}
|
726 |
|
727 |
-
$output2 .= $btn_text;
|
728 |
|
729 |
// Closing foot
|
730 |
$output2 .= '</a>';
|
3 |
Plugin Name: Responsive Pricing Table
|
4 |
Plugin URI: http://wpdarko.com/support/documentation/get-started-responsive-pricing-table/
|
5 |
Description: A responsive, easy and elegant way to present your offer to your visitors. Just create a new pricing table (custom type) and copy-paste the shortcode into your posts/pages. Find support and information on the <a href="http://wpdarko.com/responsive-pricing-table/">plugin's page</a>. This free version is NOT limited and does not contain any ad. Check out the <a href='http://wpdarko.com/items/responsive-pricing-table-pro/'>PRO version</a> for more great features.
|
6 |
+
Version: 4.0.1
|
7 |
Author: WP Darko
|
8 |
Author URI: http://wpdarko.com
|
9 |
License: GPL2
|
207 |
'type' => 'textarea',
|
208 |
'attributes' => array(
|
209 |
'placeholder' => 'one per line',
|
210 |
+
'rows' => 13,
|
211 |
),
|
212 |
'row_classes' => 'de_first de_fifty de_textarea de_input',
|
213 |
));
|
214 |
|
215 |
$main_group->add_group_field( $rpt_plan_group, array(
|
216 |
'name' => 'Tips & Tricks',
|
217 |
+
'desc' => '<span class="dashicons dashicons-yes"></span> Add images (not recommended)<br/><span style="color:#bbb;"><img src="http://yoursite.com/yourimage.png"/></span><br/><br/><span class="dashicons dashicons-yes"></span> Add links<br/><span style="color:#bbb;"><a href="http://yoursite.com">Go to yoursite.com</a></span><br/><br/><span class="dashicons dashicons-yes"></span> Add bold text<br/><span style="color:#bbb;"><strong>Something <strong>important</strong></strong></span><br/><br/><span class="dashicons dashicons-yes"></span> Show feature as unavailable with "-n"<br/><span style="color:#bbb;">-nMy feature</span><br/><br/><span style="color:#8a7463;"><span class="dashicons dashicons-lock"></span> PRO Add Tooltips<br/>Tooltips are info bubbles for your features.</span>',
|
218 |
'id' => $prefix . 'features_desc',
|
219 |
'type' => 'title',
|
220 |
'row_classes' => 'de_fifty de_info',
|
461 |
|
462 |
$pro_group->add_field( array(
|
463 |
'name' => '',
|
464 |
+
'desc' => 'This free version is <strong>not</strong> limited and does <strong>not</strong> contain any ad. Check out the PRO version for more great features.<br/><br/><a target="_blank" href="http://wpdarko.com/items/responsive-pricing-table-pro"><span class="dashicons dashicons-arrow-right-alt2"></span> See plugin\'s page</a><br/><br/><span style="font-size:13px; color:#88acbc;">Coupon code <strong>7832949</strong> (20% OFF).</span>',
|
465 |
'id' => $prefix . 'pro_desc',
|
466 |
'type' => 'title',
|
467 |
'row_classes' => 'de_hundred de_info de_info_side',
|
468 |
));
|
469 |
+
|
470 |
+
// Shortcode group
|
471 |
+
$show_group = new_cmb2_box( array(
|
472 |
+
'id' => $prefix . 'shortcode_metabox',
|
473 |
+
'title' => '<span class="dashicons dashicons-visibility"></span> Display my Pricing Table',
|
474 |
+
'object_types' => array( 'rpt_pricing_table' ),
|
475 |
+
'context' => 'side',
|
476 |
+
'priority' => 'low',
|
477 |
+
'closed' => false,
|
478 |
+
'row_classes' => 'de_hundred de_heading',
|
479 |
+
));
|
480 |
+
|
481 |
+
$show_group->add_field( array(
|
482 |
+
'name' => '',
|
483 |
+
'desc' => 'To display your Pricing Table on your site, copy-paste the Pricing Table\'s [Shortcode] in your post/page. <br/><br/>You can find this shortcode by clicking on the "Pricing Tables" tab in the menu on the left.',
|
484 |
+
'id' => $prefix . 'short_desc',
|
485 |
+
'type' => 'title',
|
486 |
+
'row_classes' => 'de_hundred de_info de_info_side',
|
487 |
+
));
|
488 |
}
|
489 |
|
490 |
add_action( 'cmb2_init', 'rpt_register_plan_group_metabox' );
|
530 |
// Forcing original fonts?
|
531 |
$original_font = get_post_meta( $post->ID, '_rpt_original_font', true );
|
532 |
if ($original_font == true){
|
533 |
+
$ori_f = 'rpt_tab_ori';
|
534 |
} else {
|
535 |
$ori_f = '';
|
536 |
}
|
646 |
|
647 |
if (!empty($plans['_rpt_free'])){
|
648 |
if ($plans['_rpt_free'] == true ){
|
649 |
+
$output2 .= $plans['_rpt_price'];
|
650 |
} else {
|
651 |
$output2 .= '<span class="rpt_currency"></span>' . $plans['_rpt_price'];
|
652 |
}
|
738 |
|
739 |
// Foot
|
740 |
if (!empty($plans['_rpt_btn_text'])){
|
741 |
+
$output2 .= '<a '. $link_behavior .' href="' . do_shortcode($btn_link) . '" style="background:' . $plans['_rpt_color'] . '" class="rpt_foot rpt_foot_' . $key . '">';
|
742 |
} else {
|
743 |
$output2 .= '<a '. $link_behavior .' style="background:' . $plans['_rpt_color'] . '" class="rpt_foot rpt_foot_' . $key . '">';
|
744 |
}
|
745 |
|
746 |
+
$output2 .= do_shortcode($btn_text);
|
747 |
|
748 |
// Closing foot
|
749 |
$output2 .= '</a>';
|