Plugin Directory

Changeset 2255403


Ignore:
Timestamp:
03/06/2020 05:29:32 AM (6 years ago)
Author:
sweans
Message:

1.0.9

  • Bug Fixes
Location:
guteblock/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • guteblock/trunk/plugin.php

    r2255400 r2255403  
    66 * Author: Sweans
    77 * Author URI: https://www.sweans.com/
    8  * Version: 1.0.8
     8 * Version: 1.0.9
    99 * Text Domain: guteblock
    1010 * Tested up to: 5.3
     
    5151}
    5252
    53 $post_grid_attributes = array(
    54     'numberofposts' => array(
    55         'type' => 'number',
    56         'default' => 2
    57     ),
    58     'postCategories' => array(
    59         'type' => 'string'
    60     ),
    61     'columns' => array(
    62         'type' => 'number',
    63         'default' => 3
    64     ),
    65     'align' => array(
    66         'type' => 'string',
    67         'default' => 'wide'
    68     ),
    69     'alignment' => array(
    70         'type' => 'string',
    71         'default' => 'center'
    72     ),
    73     'numberofwords' => array(
    74         'type' => 'number',
    75         'default' => 20
    76     )
    77 );
    7853
    7954// $newsletter_attr_json = '{"title":{"type":"string","source":"html","selector":"h4","default":""},"bgColor":{"type":"string","default":"#f1fbff"},"bgColorTwo":{"type":"string","default":"transparent"},"borderLeftRadius":{"type":"number","default":0},"borderRightRadius":{"type":"number","default":0},"align":{"type":"string","default":"wide"},"alignment":{"type":"string","default":"center"},"buttonTitle":{"type":"string","source":"html","selector":"span","default":"Subscribe"},"verticalOuterPadding":{"type":"number","default":25},"horizontalOuterPadding":{"type":"number","default":15},"verticalInnerPadding":{"type":"number","default":15},"horizontalPadding":{"type":"number","default":15},"inputBackgroundColor":{"type":"string","default":"#3c3c3c"},"inputTextColor":{"type":"string","default":"#cecece"},"inputTextFontWeight":{"type":"string","default":"normal"},"inputTextTransform":{"type":"string","default":"none"},"buttonBackgroundColor":{"type":"string","default":"#21ade5"},"buttonBackgroundColorTwo":{"type":"string","default":"#eae03d"},"buttonTextColor":{"type":"string","default":"#ffffff"},"fontSize":{"type":"number","default":14},"buttonTextFontWeight":{"type":"string","default":"normal"},"buttonTextTransform":{"type":"string","default":"none"},"buttonLetterSpacing":{"type":"number","default":0},"borderTopLeftRadius":{"type":"number","default":100},"borderBottomLeftRadius":{"type":"number","default":100},"borderBottomLeftRadiusTwo":{"type":"number","default":0},"buttonHorizontalPadding":{"type":"number","default":25},"icon":{"type":"string","default":"arrow-right-alt"},"iconColor":{"type":"string","default":"#fffff"},"iconSize":{"type":"number","default":15},"hoverButtonBackgroundColor":{"type":"string"},"hoverButtonTextColor":{"type":"string"},"doubleOptIn":{"type":"boolean","default":0}}';
     
    9469// }
    9570
    96 $newsletter_attributes = array(
    97     "title" => array(
    98         "type" => "string",
    99         "default" => ""
    100     ),
    101     "bgColor" => array(
    102         "type" => "string",
    103         "default" => "#f1fbff"
    104     ),
    105     "bgColorTwo" => array(
    106         "type" => "string",
    107         "default" => "transparent"
    108     ),
    109     "borderLeftRadius" => array(
    110         "type" => "number",
    111         "default" => 0
    112     ),
    113     "borderRightRadius" => array(
    114         "type" => "number",
    115         "default" => 0
    116     ),
    117     "align" => array(
    118         "type" => "string",
    119         "default" => "wide"
    120     ),
    121     "alignment" => array(
    122         "type" => "string",
    123         "default" => "center"
    124     ),
    125     "buttonTitle" => array(
    126         "type" => "string",
    127         "default" => "Subscribe"
    128     ),
    129     "verticalOuterPadding" => array(
    130         "type" => "number",
    131         "default" => 25
    132     ),
    133     "horizontalOuterPadding" => array(
    134         "type" => "number",
    135         "default" => 15
    136     ),
    137     "verticalInnerPadding" => array(
    138         "type" => "number",
    139         "default" => 15
    140     ),
    141     "horizontalPadding" => array(
    142         "type" => "number",
    143         "default" => 15
    144     ),
    145     "inputBackgroundColor" => array(
    146         "type" => "string",
    147         "default" => "#3c3c3c"
    148     ),
    149     "inputTextColor" => array(
    150         "type" => "string",
    151         "default" => "#cecece"
    152     ),
    153     "inputTextFontWeight" => array(
    154         "type" => "string",
    155         "default" => "normal"
    156     ),
    157     "inputTextTransform" => array(
    158         "type" => "string",
    159         "default" => "none"
    160     ),
    161     "buttonBackgroundColor" => array(
    162         "type" => "string",
    163         "default" => "#21ade5"
    164     ),
    165     "buttonBackgroundColorTwo" => array(
    166         "type" => "string",
    167         "default" => "#eae03d"
    168     ),
    169     "buttonTextColor" => array(
    170         "type" => "string",
    171         "default" => "#ffffff"
    172     ),
    173     "fontSize" => array(
    174         "type" => "number",
    175         "default" => 14
    176     ),
    177     "buttonTextFontWeight" => array(
    178         "type" => "string",
    179         "default" => "normal"
    180     ),
    181     "buttonTextTransform" => array(
    182         "type" => "string",
    183         "default" => "none"
    184     ),
    185     "buttonLetterSpacing" => array(
    186         "type" => "number",
    187         "default" => 0
    188     ),
    189     "borderTopLeftRadius" => array(
    190         "type" => "number",
    191         "default" => 100
    192     ),
    193     "borderBottomLeftRadius" => array(
    194         "type" => "number",
    195         "default" => 100
    196     ),
    197     "borderBottomLeftRadiusTwo" => array(
    198         "type" => "number",
    199         "default" => 0
    200     ),
    201     "buttonHorizontalPadding" => array(
    202         "type" => "number",
    203         "default" => 25
    204     ),
    205     "icon" => array(
    206         "type" => "string",
    207         "default" => "arrow-right-alt"
    208     ),
    209     "iconColor" => array(
    210         "type" => "string",
    211         "default" => "#fffff"
    212     ),
    213     "iconSize" => array(
    214         "type" => "number",
    215         "default" => 15
    216     ),
    217     "hoverButtonBackgroundColor" => array(
    218         "type" => "string",
    219         "default" => ""
    220     ),
    221     "hoverButtonTextColor" => array(
    222         "type" => "string",
    223         "default" => ""
    224     ),
    225     "doubleOptIn" => array(
    226         "type" => "boolean",
    227         "default" => 0
    228     )
    229 );
     71
    23072
    23173add_action('init', 'guteblock_register');
     
    265107    guteblock_register_block_type('number-box');
    266108    guteblock_register_block_type('separator');
     109
     110    $post_grid_attributes = array(
     111        'numberofposts' => array(
     112            'type' => 'number',
     113            'default' => 2
     114        ),
     115        'postCategories' => array(
     116            'type' => 'string'
     117        ),
     118        'columns' => array(
     119            'type' => 'number',
     120            'default' => 3
     121        ),
     122        'align' => array(
     123            'type' => 'string',
     124            'default' => 'wide'
     125        ),
     126        'alignment' => array(
     127            'type' => 'string',
     128            'default' => 'center'
     129        ),
     130        'numberofwords' => array(
     131            'type' => 'number',
     132            'default' => 20
     133        )
     134    );
    267135   
    268136    guteblock_register_block_type('post-grid', array(
     
    270138        'attributes' => $post_grid_attributes
    271139    ));
     140
     141    $newsletter_attributes = array(
     142        "title" => array(
     143            "type" => "string",
     144            "default" => ""
     145        ),
     146        "bgColor" => array(
     147            "type" => "string",
     148            "default" => "#f1fbff"
     149        ),
     150        "bgColorTwo" => array(
     151            "type" => "string",
     152            "default" => "transparent"
     153        ),
     154        "borderLeftRadius" => array(
     155            "type" => "number",
     156            "default" => 0
     157        ),
     158        "borderRightRadius" => array(
     159            "type" => "number",
     160            "default" => 0
     161        ),
     162        "align" => array(
     163            "type" => "string",
     164            "default" => "wide"
     165        ),
     166        "alignment" => array(
     167            "type" => "string",
     168            "default" => "center"
     169        ),
     170        "buttonTitle" => array(
     171            "type" => "string",
     172            "default" => "Subscribe"
     173        ),
     174        "verticalOuterPadding" => array(
     175            "type" => "number",
     176            "default" => 25
     177        ),
     178        "horizontalOuterPadding" => array(
     179            "type" => "number",
     180            "default" => 15
     181        ),
     182        "verticalInnerPadding" => array(
     183            "type" => "number",
     184            "default" => 15
     185        ),
     186        "horizontalPadding" => array(
     187            "type" => "number",
     188            "default" => 15
     189        ),
     190        "inputBackgroundColor" => array(
     191            "type" => "string",
     192            "default" => "#3c3c3c"
     193        ),
     194        "inputTextColor" => array(
     195            "type" => "string",
     196            "default" => "#cecece"
     197        ),
     198        "inputTextFontWeight" => array(
     199            "type" => "string",
     200            "default" => "normal"
     201        ),
     202        "inputTextTransform" => array(
     203            "type" => "string",
     204            "default" => "none"
     205        ),
     206        "buttonBackgroundColor" => array(
     207            "type" => "string",
     208            "default" => "#21ade5"
     209        ),
     210        "buttonBackgroundColorTwo" => array(
     211            "type" => "string",
     212            "default" => "#eae03d"
     213        ),
     214        "buttonTextColor" => array(
     215            "type" => "string",
     216            "default" => "#ffffff"
     217        ),
     218        "fontSize" => array(
     219            "type" => "number",
     220            "default" => 14
     221        ),
     222        "buttonTextFontWeight" => array(
     223            "type" => "string",
     224            "default" => "normal"
     225        ),
     226        "buttonTextTransform" => array(
     227            "type" => "string",
     228            "default" => "none"
     229        ),
     230        "buttonLetterSpacing" => array(
     231            "type" => "number",
     232            "default" => 0
     233        ),
     234        "borderTopLeftRadius" => array(
     235            "type" => "number",
     236            "default" => 100
     237        ),
     238        "borderBottomLeftRadius" => array(
     239            "type" => "number",
     240            "default" => 100
     241        ),
     242        "borderBottomLeftRadiusTwo" => array(
     243            "type" => "number",
     244            "default" => 0
     245        ),
     246        "buttonHorizontalPadding" => array(
     247            "type" => "number",
     248            "default" => 25
     249        ),
     250        "icon" => array(
     251            "type" => "string",
     252            "default" => "arrow-right-alt"
     253        ),
     254        "iconColor" => array(
     255            "type" => "string",
     256            "default" => "#fffff"
     257        ),
     258        "iconSize" => array(
     259            "type" => "number",
     260            "default" => 15
     261        ),
     262        "hoverButtonBackgroundColor" => array(
     263            "type" => "string",
     264            "default" => ""
     265        ),
     266        "hoverButtonTextColor" => array(
     267            "type" => "string",
     268            "default" => ""
     269        ),
     270        "doubleOptIn" => array(
     271            "type" => "boolean",
     272            "default" => 0
     273        )
     274    );
    272275
    273276    guteblock_register_block_type('newsletter', array(
  • guteblock/trunk/readme.txt

    r2255400 r2255403  
    101101== Changelog ==
    102102
     103= 1.0.9 =
     104
     105* Bug Fixes
     106
    103107= 1.0.8 =
    104108
Note: See TracChangeset for help on using the changeset viewer.