Plugin Directory

Changeset 2414070

Timestamp:
11/06/2020 07:55:36 PM (4 years ago)
Author:
wpessential
Message:

07/11/2020 1.0.0.00002

  • Add Contact Form 7 widget.
  • Add MC4WP widget.
  • Add Coldera Form widget.
  • Add WPForms widget.
  • Add Ninja Form widget.
Location:
wpessential
Files:
245 added
10 edited

Legend:

Unmodified
Added
Removed
  • wpessential/trunk/inc/Builders/Elementor/Shortcodes/BlogPost/Post.php

    r2409553 r2414070  
    2626     * Retrieve widget keywords.
    2727     *
    28      * @return array Widget icon.
     28     * @return array Widget .
    2929     * @access public
    3030     * @since 1.0.0
  • wpessential/trunk/inc/Builders/Elementor/Shortcodes/Forms/ContactForm7.php

    r2409384 r2414070  
    99class ContactForm7 extends Base implements Shortcodes
    1010{
     11
    1112    /**
    1213     * Set widget keywords.
     
    2425
    2526    /**
     27
     28
     29
     30
     31
     32
     33
     34
     35
     36
     37
     38
     39
     40
     41
    2642     * Register widget controls.
    2743     *
     
    3652            'section_1',
    3753            [
    38                 'label' => __( 'Shortcode', 'wpessential-blog-post-pro' )
     54                'label' => __( 'Shortcode', 'wpessential' )
    3955            ]
    4056        );
  • wpessential/trunk/inc/Builders/Elementor/Shortcodes/Forms/FormidableForm.php

    r2409384 r2414070  
    2424
    2525    /**
     26
     27
     28
     29
     30
     31
     32
     33
     34
     35
     36
     37
     38
     39
     40
    2641     * Register widget controls.
    2742     *
     
    3651            'section_1',
    3752            [
    38                 'label' => __( 'Shortcode', 'wpessential-blog-post-pro' )
     53                'label' => __( 'Shortcode', 'wpessential' )
    3954            ]
    4055        );
  • wpessential/trunk/inc/Builders/Elementor/Utility/Elementor.php

    r2409384 r2414070  
    5454        if ( function_exists( 'load_formidable_forms' ) ) {
    5555            self::$list[ 'FormidableForm' ] = 'WPEssential\Plugins\Builders\Elementor\Shortcodes\Forms\FormidableForm';
     56
     57
     58
     59
     60
     61
     62
     63
     64
     65
     66
     67
    5668        }
    5769    }
  • wpessential/trunk/inc/Helper/SetShortcodeBase.php

    r2409384 r2414070  
    5555    public function set_widget_icon ()
    5656    {
    57         return "";
     57        return "";
    5858    }
    5959
  • wpessential/trunk/inc/Loader.php

    r2409384 r2414070  
    33namespace WPEssential\Plugins;
    44
     5
    56use WPEssential\Plugins\Utility\BuildersInit;
    67use WPEssential\Plugins\Utility\Requesting;
     
    5556    public static function autoload ()
    5657    {
    57         $psr = [
    58             'WPEssential\\Plugins\\' => WPE_DIR . 'inc/'
     58        $theme_name = wp_get_theme();
     59        $theme_name = $theme_name->get( 'Name' );
     60        $psr        = [
     61            'WPEssential\\Plugins\\'                        => WPE_DIR . 'inc/',
     62            "WPEssential\\Theme\\{$theme_name}\\" => get_template_directory() . '/inc/',
    5963        ];
    6064
     
    8185        RegisterAssets::constructor();
    8286        Enqueue::constructor();
     87
    8388    }
    8489
     
    8893        BuildersInit::constructor();
    8994        load_plugin_textdomain( 'wpessential', false, WPE_DIR . 'language' );
    90         self::add_image_sizes();
    9195    }
    9296
     
    102106        return $boolean;
    103107    }
    104 
    105     public static function add_image_sizes ()
    106     {
    107         $size = apply_filters( 'wpe/images/sizing', [] );
    108         foreach ( $size as $name => $value ) {
    109             add_image_size( $name, $value[ 0 ], $value[ 1 ], true );
    110         }
    111     }
    112108}
  • wpessential/trunk/inc/Utility/Enqueue.php

    r2409384 r2414070  
    3434
    3535        $list = [
     36
    3637            'wpessential'
    3738        ];
     
    7071        $localization = [
    7172            'ajaxurl'   => admin_url( 'admin-ajax.php' ),
    72             'weburl'    => WPE_URL,
     73            'web  => WPE_URL,
    7374            'nonce'     => wp_create_nonce( 'wpe_request_nonce' ),
    74             'ajaxshort' => '/wp-admin/admin-ajax.php'
     75            'ajaxshort' => '/wp-admin/admin-ajax.php',
     76            'root'      => home_url( '/' ),
    7577        ];
    76         $localization = apply_filters( 'wpe_loco', $localization );
    77         $localization = json_encode( $localization );
    78         ?>
    79         <script id="wpessential-localization">
    80             var WPEssential = <?php echo $localization; ?>;
    81         </script>
    82         <?php
    83         //wp_localize_script( 'jquery', 'WPEssential', $localization );
     78        $localization = apply_filters( 'wpe/localization', $localization );
     79        wp_localize_script( 'jquery', 'WPEssential', $localization );
    8480    }
    8581
  • wpessential/trunk/inc/query-functions.php

    r2409384 r2414070  
    1919    }
    2020}
     21
     22
     23
     24
     25
     26
     27
     28
     29
     30
     31
     32
     33
     34
     35
     36
     37
     38
     39
     40
     41
     42
     43
     44
     45
     46
     47
     48
     49
     50
     51
     52
     53
     54
     55
     56
     57
     58
     59
     60
     61
  • wpessential/trunk/readme.txt

    r2409553 r2414070  
    88WC requires at least: 4.0
    99WC tested up to: 4.5
    10 Stable tag: 1.0.0.00001
     10Stable tag: 1.0.0.0000
    1111License: GPLv3
    1212License URI: https://www.gnu.org/licenses/gpl-3.0.html
     
    2222- [WordPress](https://codex.wordpress.org/Shortcode_API/)
    2323- [Elementor](https://wordpress.org/plugins/elementor/)
     24
     25
     26
     27
     28
     29
     30
    2431
    2532
     
    4047== Changelog ==
    4148
     49
     50
     51
     52
     53
     54
     55
    4256= 30/10/2020 1.0.0.00001 =
    4357- Fix Blog post already class exist error
  • wpessential/trunk/wpessential.php

    r2409553 r2414070  
    55 * Plugin URI: https://wp.wpessential.org/plugins/wpessential/
    66 * Author: WPEssential
    7  * Version: 1.0.0.00001
     7 * Version: 1.0.0.0000
    88 * Author URI: https://wpessential.org/
    99 * Text Domain: wpessential
Note: See TracChangeset for help on using the changeset viewer.