Plugin Directory

Changeset 2422759


Ignore:
Timestamp:
11/21/2020 12:31:50 PM (5 years ago)
Author:
imibrar
Message:

update readme

Location:
i2-pro-cons/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • i2-pro-cons/trunk/i2-pros-and-cons.php

    r2422758 r2422759  
    33/**
    44 * Plugin Name: i2 Pros & Cons
    5  * Plugin URI: https://azonbuilder.com/
     5 * Plugin URI: https://themesfirst.com/
    66 * Description: The plugin will allow you to show pro & cons in beautiful style.
    77 * Author: Ibrar Hussain
    88 * Author URI: https://github.com/imibrar
    99 * Text Domain: i2-pros-and-cons
    10  * Version: 1.2.2
     10 * Version: 1.2.7
    1111 * License: GPLv3
    1212 * License URI: http://www.gnu.org/licenses/gpl-3.0.html
     
    1818}
    1919
    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');
     20define('I2PC_MORE_THEMES_PLUGINS_URL', 'https://themesfirst.com');
     21define('I2PC_VER', '1.2.6');
     22define('I2PC_CSS_VER', '1.2.6');
    2323
    2424//include_once('include/ibr-test-block.php');
     
    8888        'attributes' => [
    8989            'pros' => [
     90                'type' => 'string',
    9091                'default' => ''
    9192            ],
    9293            'cons' => [
     94                'type' => 'string',
    9395                'default' => ''
    9496            ],
    9597            'pros_title' => [
     98                'type' => 'string',
    9699                'default' => __('Pros', 'i2-pros-and-cons')
    97100            ],
    98101            'cons_title' => [
     102                'type' => 'string',
    99103                'default' => __('Cons', 'i2-pros-and-cons')
    100104            ],
    101105            'show_button' => [
     106                'type' => 'boolean',
    102107                'default' => false
    103108            ],
    104109            'link_text' => [
     110                'type' => 'string',
    105111                'default' => __('Buy on Amazon', 'i2-pros-and-cons')
    106112            ],
    107113            'link' => [
     114                'type' => 'string',
    108115                'default' => ''
    109116            ],
    110117            'show_title' => [
     118                'type' => 'boolean',
    111119                'default' => false
    112120            ],
    113121            'title' => [
     122                'type' => 'string',
    114123                'default' => __('Pros & Cons', 'i2-pros-and-cons')
    115124            ],
    116125            'pros_icon' => [
     126                'type' => 'string',
    117127                'default' => ''
    118128            ],
    119129            'cons_icon' => [
     130                'type' => 'string',
    120131                'default' => ''
    121132            ],
    122133            'button_icon' => [
     134                'type' => 'string',
    123135                'default' => ''
    124136            ],
    125137            'heading_pros_icon' => [
     138                'type' => 'string',
    126139                'default' => ''
    127140            ],
    128141            'heading_cons_icon' => [
     142                'type' => 'string',
    129143                'default' => ''
    130144            ],
    131145            'use_heading_icon' => [
     146                'type' => 'string',
    132147                'default' => ''
    133148            ],
    134149            'button_display_block' => [
     150                'type' => 'boolean',
    135151                'default' => false
    136152            ],
    137153            'className' => [
     154                'type' => 'string',
    138155                'default' => ''
    139156            ]
     
    151168    return $links;
    152169}
     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  
    22Contributors: imibrar
    33Tags: Pros & Cons, Amazon Pros & Cons, Pros and Cons, WP Pros & Cons
    4 Tested up to: 5.3.0
    5 Stable tag: 1.1.3
     4Tested up to: 5.5.3
     5Stable tag: 1.2.6
    66Requires PHP: 5.x
    77License: GPLv3
     
    1313
    1414**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.
     15v1.2.6 bug fix, showing notice "rest_validate_value_from_schema was called incorrectly" in debug mode.
     16v1.2.4 allow to add pros and cons in single popup for gutenberg.
     17v1.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.
    1618
    1719**Sample Shortcode**
     
    61631. Use the "i2 Pros & Cons" settings screen to customize the design
    6264
     65== How to Use ==
     66
     671. [How to customize Settings / Options page](https://themesfirst.com/i2-pros-and-cons-settings-the-right-way/ "i2 Pros & Cons customization")
     681. [How to use in Gutenberg](https://themesfirst.com/how-to-install-and-use-i2-pros-and-cons-gutenberg/ "i2 Pros & Cons in Gutengerg")
     691. [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
    6372== Frequently Asked Questions ==
    6473
     
    7382= How do I get in touch? =
    7483
    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")
     84You can contact me from [here](https://themesfirst.com/ "i2 Pros & Cons")
     85Waiting for your [Suggestion, feedback](https://themesfirst.com/feedback/, "i2 Pros & Cons Feedback")
    7786
    7887== Screenshots ==
Note: See TracChangeset for help on using the changeset viewer.