Changeset 2422759
- Timestamp:
- 11/21/2020 12:31:50 PM (5 years ago)
- Location:
- i2-pro-cons/trunk
- Files:
-
- 2 edited
-
i2-pros-and-cons.php (modified) (4 diffs)
-
readme.txt (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
i2-pro-cons/trunk/i2-pros-and-cons.php
r2422758 r2422759 3 3 /** 4 4 * Plugin Name: i2 Pros & Cons 5 * Plugin URI: https:// azonbuilder.com/5 * Plugin URI: https://themesfirst.com/ 6 6 * Description: The plugin will allow you to show pro & cons in beautiful style. 7 7 * Author: Ibrar Hussain 8 8 * Author URI: https://github.com/imibrar 9 9 * Text Domain: i2-pros-and-cons 10 * Version: 1.2. 210 * Version: 1.2.7 11 11 * License: GPLv3 12 12 * License URI: http://www.gnu.org/licenses/gpl-3.0.html … … 18 18 } 19 19 20 define('I2PC_MORE_THEMES_PLUGINS_URL', 'https:// azonbuilder.com');21 define('I2PC_VER', '1.2. 2');22 define('I2PC_CSS_VER', '1.2. 2');20 define('I2PC_MORE_THEMES_PLUGINS_URL', 'https://themesfirst.com'); 21 define('I2PC_VER', '1.2.6'); 22 define('I2PC_CSS_VER', '1.2.6'); 23 23 24 24 //include_once('include/ibr-test-block.php'); … … 88 88 'attributes' => [ 89 89 'pros' => [ 90 'type' => 'string', 90 91 'default' => '' 91 92 ], 92 93 'cons' => [ 94 'type' => 'string', 93 95 'default' => '' 94 96 ], 95 97 'pros_title' => [ 98 'type' => 'string', 96 99 'default' => __('Pros', 'i2-pros-and-cons') 97 100 ], 98 101 'cons_title' => [ 102 'type' => 'string', 99 103 'default' => __('Cons', 'i2-pros-and-cons') 100 104 ], 101 105 'show_button' => [ 106 'type' => 'boolean', 102 107 'default' => false 103 108 ], 104 109 'link_text' => [ 110 'type' => 'string', 105 111 'default' => __('Buy on Amazon', 'i2-pros-and-cons') 106 112 ], 107 113 'link' => [ 114 'type' => 'string', 108 115 'default' => '' 109 116 ], 110 117 'show_title' => [ 118 'type' => 'boolean', 111 119 'default' => false 112 120 ], 113 121 'title' => [ 122 'type' => 'string', 114 123 'default' => __('Pros & Cons', 'i2-pros-and-cons') 115 124 ], 116 125 'pros_icon' => [ 126 'type' => 'string', 117 127 'default' => '' 118 128 ], 119 129 'cons_icon' => [ 130 'type' => 'string', 120 131 'default' => '' 121 132 ], 122 133 'button_icon' => [ 134 'type' => 'string', 123 135 'default' => '' 124 136 ], 125 137 'heading_pros_icon' => [ 138 'type' => 'string', 126 139 'default' => '' 127 140 ], 128 141 'heading_cons_icon' => [ 142 'type' => 'string', 129 143 'default' => '' 130 144 ], 131 145 'use_heading_icon' => [ 146 'type' => 'string', 132 147 'default' => '' 133 148 ], 134 149 'button_display_block' => [ 150 'type' => 'boolean', 135 151 'default' => false 136 152 ], 137 153 'className' => [ 154 'type' => 'string', 138 155 'default' => '' 139 156 ] … … 151 168 return $links; 152 169 } 170 171 // add_action('rest_api_init', function () { 172 // global $wp_version; 173 // if (version_compare($wp_version, '5.5.1', '<')) { 174 // register_rest_route( 'wp/v2/block-renderer', '/i2-pros-and-cons/basic',array( 175 // 'methods' => 'POST', 176 // 'callback' => 'i2_pros_and_cons' 177 // )); 178 // } 179 // }); -
i2-pro-cons/trunk/readme.txt
r2422758 r2422759 2 2 Contributors: imibrar 3 3 Tags: Pros & Cons, Amazon Pros & Cons, Pros and Cons, WP Pros & Cons 4 Tested up to: 5. 3.05 Stable tag: 1. 1.34 Tested up to: 5.5.3 5 Stable tag: 1.2.6 6 6 Requires PHP: 5.x 7 7 License: GPLv3 … … 13 13 14 14 **Update** 15 With current version you can use popup to add/edit Pros & Cons in classic editor in similar way as Gutenberg, for editing in classic editor you need to select old shortcode, which automaticlly formated in popup. 15 v1.2.6 bug fix, showing notice "rest_validate_value_from_schema was called incorrectly" in debug mode. 16 v1.2.4 allow to add pros and cons in single popup for gutenberg. 17 v1.2.2 With current version you can use popup to add/edit Pros & Cons in classic editor in similar way as Gutenberg, for editing in classic editor you need to select old shortcode, which automaticlly formated in popup. 16 18 17 19 **Sample Shortcode** … … 61 63 1. Use the "i2 Pros & Cons" settings screen to customize the design 62 64 65 == How to Use == 66 67 1. [How to customize Settings / Options page](https://themesfirst.com/i2-pros-and-cons-settings-the-right-way/ "i2 Pros & Cons customization") 68 1. [How to use in Gutenberg](https://themesfirst.com/how-to-install-and-use-i2-pros-and-cons-gutenberg/ "i2 Pros & Cons in Gutengerg") 69 1. [How to use in Classic Editor](https://themesfirst.com/how-to-install-and-use-i2-pros-and-cons-classic-editor/ "i2 Pros & Cons in Classic editor") 70 71 63 72 == Frequently Asked Questions == 64 73 … … 73 82 = How do I get in touch? = 74 83 75 You can contact me from [here](http ://azonbuilder.com/ "i2 Pros & Cons")76 Or you can send your feedback on [Google Form](https://docs.google.com/forms/d/e/1FAIpQLSfE0jodXwDGAZ5MODvQEDRlulHkjT1VNOPmlpe5rbNzln03mQ/viewform, "i2 Pros & Cons Feedback")84 You can contact me from [here](https://themesfirst.com/ "i2 Pros & Cons") 85 Waiting for your [Suggestion, feedback](https://themesfirst.com/feedback/, "i2 Pros & Cons Feedback") 77 86 78 87 == Screenshots ==
Note: See TracChangeset
for help on using the changeset viewer.