Plugin Directory

Changeset 2215484


Ignore:
Timestamp:
12/20/2019 04:17:49 AM (6 years ago)
Author:
alithemes
Message:

update to 2.0

Location:
post-kits-for-elementor
Files:
6 added
13 edited

Legend:

Unmodified
Added
Removed
  • post-kits-for-elementor/trunk/assets/css/backend-style.css

    r2213994 r2215484  
    3434.alith_block_post_grid_5{background-position:-0px -90px!important;}
    3535.alith_block_post_grid_6{background-position:-60px -90px!important;}
     36.alith_block_post_grid_7{background-position:0px -135px!important;}
     37.alith_block_post_grid_8{background-position:-60px -135px!important;}
     38.alith_block_post_grid_9{background-position:0 -180px!important;}
     39.alith_block_post_grid_10{background-position:-60px -180px!important;}
     40.alith_block_post_grid_11{background-position:0px -225px!important;}
     41.alith_block_post_grid_12{background-position:-60px -225px!important;}
  • post-kits-for-elementor/trunk/assets/css/frontend-style.css

    r2213994 r2215484  
    312312.epk-social-share li{width:100%;text-align:center;max-width:0px;opacity:0;-webkit-transition:0.3s;-o-transition:0.3s;transition:0.3s;float:left;margin-left:5px;}
    313313.epk-social-share li:first-child{max-width:30px;opacity:1;pointer-events:none;}
    314 .epk-social-share li a{display:block;width:30px;height:30px;line-height:30px;text-align:center;border-radius:50%;background:#fff;font-size:12px;}
     314.epk-social-share li a{display:block;width:30px;height:30px;line-height:32px;text-align:center;border-radius:50%;background:#fff;font-size:12px;}
    315315.epk-social-share:hover li:nth-child(1){opacity:0;max-width:0;}
    316316.epk-social-share:hover li{opacity:1;max-width:30px;}
     
    422422.alith_epk_grid_post .alith-epk-meta{margin-top:5px;}
    423423.alith-epk-grid-container .swiper-container-horizontal > .swiper-pagination-bullets{bottom:-15px;}
     424.elementor-widget-alth_post_grid_7 .alith-epk-grid-container .swiper-container-horizontal > .swiper-pagination-bullets {bottom: 0;}
  • post-kits-for-elementor/trunk/includes/helper.php

    r2213994 r2215484  
    337337    function alith_grid_big_post_render($atts, $div_class='', $image_src='') {
    338338        $str = '';
    339         $str .= '<article class="mb-sm-15 mb-md-0 alith_epk_grid_post alith-grid-custom-height">
    340                     <div class="alith_epk_grid_post_grid_cover position-relative custom-rounded '.$div_class.'">
     339        $str .= '<article class="mb-sm-15 mb-md-0 alith_epk_grid_post">
     340                    <div class="alith_epk_grid_post_grid_cover position-relative alith-grid-custom-height custom-rounded '.$div_class.'">
    341341                        <div class="alith_epk_grid_post_grid_background position-relative" style="background-image: url('.$image_src.')"></div>
    342342                        '. alith_epk_share_icons($atts) . alith_epk_post_format_icons($atts) .'
  • post-kits-for-elementor/trunk/includes/widget-register.php

    r2213994 r2215484  
    2626                'post-grid-5'       => 'Elementor_Post_Grid_Widgets_5',
    2727                'post-grid-6'       => 'Elementor_Post_Grid_Widgets_6',
     28                'post-grid-7'       => 'Elementor_Post_Grid_Widgets_7',
     29                'post-grid-8'       => 'Elementor_Post_Grid_Widgets_8',
     30                'post-grid-9'       => 'Elementor_Post_Grid_Widgets_9',
     31                'post-grid-10'      => 'Elementor_Post_Grid_Widgets_10',
     32                'post-grid-11'      => 'Elementor_Post_Grid_Widgets_11',
     33                'post-grid-12'      => 'Elementor_Post_Grid_Widgets_12',
    2834            );
    2935            foreach ( $widgets as $widget => $class ) {
  • post-kits-for-elementor/trunk/post-kits-for-elementor.php

    r2214104 r2215484  
    44    Description: News, Magazine, Blog Kits for Elementor plugin.
    55    Plugin URI: https://alithemes.com
    6     Version: 1.0.1
     6    Version: 2.0.0
    77    Author: AliThemes
    88    Author URI: alithemes.com
  • post-kits-for-elementor/trunk/readme.txt

    r2214104 r2215484  
    1818With Post Kits for Elementor, you can easily create unique news, blog or magazine website using Elementor. There is a simple drag and drop feature to insert this plugin’s widget to any page you were editing with Elementor page builder.
    1919
    20 [Live Demos](https://wp.alithemes.com/plugins/elementor-post-kits/demos)
     20[Live Demos](https://wp.alithemes.com/plugins/post-kits-for-elementor/demos)
    2121
    22 [Online Document](https://wp.alithemes.com/plugins/elementor-post-kits/document)
     22[Online Document](https://wp.alithemes.com/plugins/post-kits-for-elementor/document)
    2323
    2424== Main Features ==
     
    6464
    6565== Changelog ==
     66= 2.0.0 (2019-12-20) =
     67* Add more 6 post grid layouts.
     68* Add some options for post title, format, share...
    6669
    6770= 1.0.1 (2019-12-18) =
  • post-kits-for-elementor/trunk/widgets/post-grid/post-grid-base.php

    r2213994 r2215484  
    18951895        );
    18961896
     1897        $this->add_control(
     1898            'alith_block_post_post_format_color',
     1899            [
     1900                'label' => esc_html__( 'Post Format Color', 'alith_epk' ),
     1901                'type' => Controls_Manager::COLOR,
     1902                'scheme' => [
     1903                    'type' => Scheme_Color::get_type(),
     1904                    'value' => Scheme_Color::COLOR_1,
     1905                ],
     1906                'selectors' => [
     1907                    '{{WRAPPER}} .alith-epk-format-icon .format-icon' => 'color: {{VALUE}} !important',
     1908                ],
     1909                'default' => '#ffffff',
     1910                'condition' => [
     1911                    'alith_block_post_post_format_show' => 'true',
     1912                ],
     1913            ]
     1914        );
     1915
    18971916        $this->end_controls_section();
    18981917
     
    19121931                'return_value' => 'true',
    19131932                'default' => 'true',
     1933            ]
     1934        );
     1935
     1936        $this->add_control(
     1937            'alith_block_post_post_share_background',
     1938            [
     1939                'label' => esc_html__( 'Post Share Icon Background', 'alith_epk' ),
     1940                'type' => Controls_Manager::COLOR,
     1941                'scheme' => [
     1942                    'type' => Scheme_Color::get_type(),
     1943                    'value' => Scheme_Color::COLOR_1,
     1944                ],
     1945                'selectors' => [
     1946                    '{{WRAPPER}} .epk-social-share li a' => 'background-color: {{VALUE}} !important',
     1947                ],
     1948                'default' => '#ffffff',
     1949                'condition' => [
     1950                    'alith_block_post_post_share_show' => 'true',
     1951                ],
     1952            ]
     1953        );
     1954
     1955        $this->add_control(
     1956            'alith_block_post_post_share_color',
     1957            [
     1958                'label' => esc_html__( 'Post Share Icon Color', 'alith_epk' ),
     1959                'type' => Controls_Manager::COLOR,
     1960                'scheme' => [
     1961                    'type' => Scheme_Color::get_type(),
     1962                    'value' => Scheme_Color::COLOR_1,
     1963                ],
     1964                'selectors' => [
     1965                    '{{WRAPPER}} .epk-social-share li a' => 'color: {{VALUE}} !important',
     1966                ],
     1967                'default' => '#F90248',
     1968                'condition' => [
     1969                    'alith_block_post_post_share_show' => 'true',
     1970                ],
    19141971            ]
    19151972        );
  • post-kits-for-elementor/trunk/widgets/post-grid/post-grid-class.php

    r2213994 r2215484  
    1313class Elementor_Post_Grid_Widgets_1 extends Elementor_Post_Grid_Base_Widgets {
    1414    public function __construct( $data = [], $args = null ){
    15         $this->alith_title          = esc_html__('Post Grid 1', 'alith_epk');
     15        $this->alith_title          = esc_html__('EPK Grid 1', 'alith_epk');
    1616        $this->alith_name           = 'alth_post_grid_1';
    1717        $this->alith_icon           = 'alith_block_post_grid_1';
     
    2323class Elementor_Post_Grid_Widgets_2 extends Elementor_Post_Grid_Base_Widgets {
    2424    public function __construct( $data = [], $args = null ){
    25         $this->alith_title          = esc_html__('Post Grid 2', 'alith_epk');
     25        $this->alith_title          = esc_html__('EPK Grid 2', 'alith_epk');
    2626        $this->alith_name           = 'alth_post_grid_2';
    2727        $this->alith_icon           = 'alith_block_post_grid_2';
     
    3333class Elementor_Post_Grid_Widgets_3 extends Elementor_Post_Grid_Base_Widgets {
    3434    public function __construct( $data = [], $args = null ){
    35         $this->alith_title          = esc_html__('Post Grid 3', 'alith_epk');
     35        $this->alith_title          = esc_html__('EPK Grid 3', 'alith_epk');
    3636        $this->alith_name           = 'alth_post_grid_3';
    3737        $this->alith_icon           = 'alith_block_post_grid_3';
     
    4343class Elementor_Post_Grid_Widgets_4 extends Elementor_Post_Grid_Base_Widgets {
    4444    public function __construct( $data = [], $args = null ){
    45         $this->alith_title          = esc_html__('Post Grid 4', 'alith_epk');
     45        $this->alith_title          = esc_html__('EPK Grid 4', 'alith_epk');
    4646        $this->alith_name           = 'alth_post_grid_4';
    4747        $this->alith_icon           = 'alith_block_post_grid_4';
     
    5353class Elementor_Post_Grid_Widgets_5 extends Elementor_Post_Grid_Base_Widgets {
    5454    public function __construct( $data = [], $args = null ){
    55         $this->alith_title          = esc_html__('Post Grid 5', 'alith_epk');
     55        $this->alith_title          = esc_html__('EPK Grid 5', 'alith_epk');
    5656        $this->alith_name           = 'alth_post_grid_5';
    5757        $this->alith_icon           = 'alith_block_post_grid_5';
     
    6363class Elementor_Post_Grid_Widgets_6 extends Elementor_Post_Grid_Base_Widgets {
    6464    public function __construct( $data = [], $args = null ){
    65         $this->alith_title          = esc_html__('Post Grid 6', 'alith_epk');
     65        $this->alith_title          = esc_html__('EPK Grid 6', 'alith_epk');
    6666        $this->alith_name           = 'alth_post_grid_6';
    6767        $this->alith_icon           = 'alith_block_post_grid_6';
     
    7070    }
    7171}
     72
     73class Elementor_Post_Grid_Widgets_7 extends Elementor_Post_Grid_Base_Widgets {
     74    public function __construct( $data = [], $args = null ){
     75        $this->alith_title          = esc_html__('EPK Grid 7', 'alith_epk');
     76        $this->alith_name           = 'alth_post_grid_7';
     77        $this->alith_icon           = 'alith_block_post_grid_7';
     78        $this->alith_grid_layout    = 'post-grid-7';
     79        parent::__construct( $data, $args );
     80    }
     81}
     82
     83class Elementor_Post_Grid_Widgets_8 extends Elementor_Post_Grid_Base_Widgets {
     84    public function __construct( $data = [], $args = null ){
     85        $this->alith_title          = esc_html__('EPK Grid 8', 'alith_epk');
     86        $this->alith_name           = 'alth_post_grid_8';
     87        $this->alith_icon           = 'alith_block_post_grid_8';
     88        $this->alith_grid_layout    = 'post-grid-8';
     89        parent::__construct( $data, $args );
     90    }
     91}
     92
     93class Elementor_Post_Grid_Widgets_9 extends Elementor_Post_Grid_Base_Widgets {
     94    public function __construct( $data = [], $args = null ){
     95        $this->alith_title          = esc_html__('EPK Grid 9', 'alith_epk');
     96        $this->alith_name           = 'alth_post_grid_9';
     97        $this->alith_icon           = 'alith_block_post_grid_9';
     98        $this->alith_grid_layout    = 'post-grid-9';
     99        parent::__construct( $data, $args );
     100    }
     101}
     102
     103class Elementor_Post_Grid_Widgets_10 extends Elementor_Post_Grid_Base_Widgets {
     104    public function __construct( $data = [], $args = null ){
     105        $this->alith_title          = esc_html__('EPK Grid 10', 'alith_epk');
     106        $this->alith_name           = 'alth_post_grid_10';
     107        $this->alith_icon           = 'alith_block_post_grid_10';
     108        $this->alith_grid_layout    = 'post-grid-10';
     109        parent::__construct( $data, $args );
     110    }
     111}
     112
     113class Elementor_Post_Grid_Widgets_11 extends Elementor_Post_Grid_Base_Widgets {
     114    public function __construct( $data = [], $args = null ){
     115        $this->alith_title          = esc_html__('EPK Grid 11', 'alith_epk');
     116        $this->alith_name           = 'alth_post_grid_11';
     117        $this->alith_icon           = 'alith_block_post_grid_11';
     118        $this->alith_grid_layout    = 'post-grid-11';
     119        parent::__construct( $data, $args );
     120    }
     121}
     122
     123class Elementor_Post_Grid_Widgets_12 extends Elementor_Post_Grid_Base_Widgets {
     124    public function __construct( $data = [], $args = null ){
     125        $this->alith_title          = esc_html__('EPK Grid 12', 'alith_epk');
     126        $this->alith_name           = 'alth_post_grid_12';
     127        $this->alith_icon           = 'alith_block_post_grid_12';
     128        $this->alith_grid_layout    = 'post-grid-12';
     129        parent::__construct( $data, $args );
     130    }
     131}
  • post-kits-for-elementor/trunk/widgets/post-modules/post-modules-base.php

    r2213994 r2215484  
    18491849        );
    18501850
     1851        $this->add_control(
     1852            'alith_block_post_post_format_color',
     1853            [
     1854                'label' => esc_html__( 'Post Format Color', 'alith_epk' ),
     1855                'type' => Controls_Manager::COLOR,
     1856                'scheme' => [
     1857                    'type' => Scheme_Color::get_type(),
     1858                    'value' => Scheme_Color::COLOR_1,
     1859                ],
     1860                'selectors' => [
     1861                    '{{WRAPPER}} .alith-epk-format-icon .format-icon' => 'color: {{VALUE}} !important',
     1862                ],
     1863                'default' => '#ffffff',
     1864                'condition' => [
     1865                    'alith_block_post_post_format_show' => 'true',
     1866                ],
     1867            ]
     1868        );
     1869
    18511870        $this->end_controls_section();
    18521871
     
    18691888        );
    18701889
    1871          $this->add_control(
     1890        $this->add_control(
    18721891            'alith_block_post_post_share_background',
    18731892            [
     
    18881907        );
    18891908
     1909        $this->add_control(
     1910            'alith_block_post_post_share_color',
     1911            [
     1912                'label' => esc_html__( 'Post Share Icon Color', 'alith_epk' ),
     1913                'type' => Controls_Manager::COLOR,
     1914                'scheme' => [
     1915                    'type' => Scheme_Color::get_type(),
     1916                    'value' => Scheme_Color::COLOR_1,
     1917                ],
     1918                'selectors' => [
     1919                    '{{WRAPPER}} .epk-social-share li a' => 'color: {{VALUE}} !important',
     1920                ],
     1921                'default' => '#F90248',
     1922                'condition' => [
     1923                    'alith_block_post_post_share_show' => 'true',
     1924                ],
     1925            ]
     1926        );
    18901927
    18911928        $this->end_controls_section();
  • post-kits-for-elementor/trunk/widgets/post-modules/post-modules-class.php

    r2213994 r2215484  
    1313class Elementor_Post_Module_Widgets_1 extends Elementor_Post_Module_Base_Widgets {
    1414    public function __construct( $data = [], $args = null ){
    15         $this->alith_title     = esc_html__('Post Module 1', 'alith_epk');
     15        $this->alith_title     = esc_html__('EPK Module 1', 'alith_epk');
    1616        $this->alith_name      = 'alth_post_module_1';
    1717        $this->alith_icon      = 'alith_block_post_module_1';
     
    2323class Elementor_Post_Module_Widgets_2 extends Elementor_Post_Module_Base_Widgets {
    2424    public function __construct( $data = [], $args = null ){
    25         $this->alith_title     = esc_html__('Post Module 2', 'alith_epk');
     25        $this->alith_title     = esc_html__('EPK Module 2', 'alith_epk');
    2626        $this->alith_name      = 'alth_post_module_2';
    2727        $this->alith_icon      = 'alith_block_post_module_2';
     
    3333class Elementor_Post_Module_Widgets_3 extends Elementor_Post_Module_Base_Widgets {
    3434    public function __construct( $data = [], $args = null ){
    35         $this->alith_title     = esc_html__('Post Module 3', 'alith_epk');
     35        $this->alith_title     = esc_html__('EPK Module 3', 'alith_epk');
    3636        $this->alith_name      = 'alth_post_module_3';
    3737        $this->alith_icon      = 'alith_block_post_module_3';
     
    4343class Elementor_Post_Module_Widgets_4 extends Elementor_Post_Module_Base_Widgets {
    4444    public function __construct( $data = [], $args = null ){
    45         $this->alith_title     = esc_html__('Post Module 4', 'alith_epk');
     45        $this->alith_title     = esc_html__('EPK Module 4', 'alith_epk');
    4646        $this->alith_name      = 'alth_post_module_4';
    4747        $this->alith_icon      = 'alith_block_post_module_4';
     
    5353class Elementor_Post_Module_Widgets_5 extends Elementor_Post_Module_Base_Widgets {
    5454    public function __construct( $data = [], $args = null ){
    55         $this->alith_title     = esc_html__('Post Module 5', 'alith_epk');
     55        $this->alith_title     = esc_html__('EPK Module 5', 'alith_epk');
    5656        $this->alith_name      = 'alth_post_module_5';
    5757        $this->alith_icon      = 'alith_block_post_module_5';
     
    6363class Elementor_Post_Module_Widgets_6 extends Elementor_Post_Module_Base_Widgets {
    6464    public function __construct( $data = [], $args = null ){
    65         $this->alith_title     = esc_html__('Post Module 6', 'alith_epk');
     65        $this->alith_title     = esc_html__('EPK Module 6', 'alith_epk');
    6666        $this->alith_name      = 'alth_post_module_6';
    6767        $this->alith_icon      = 'alith_block_post_module_6';
     
    7373class Elementor_Post_Module_Widgets_7 extends Elementor_Post_Module_Base_Widgets {
    7474    public function __construct( $data = [], $args = null ){
    75         $this->alith_title     = esc_html__('Post Module 7', 'alith_epk');
     75        $this->alith_title     = esc_html__('EPK Module 7', 'alith_epk');
    7676        $this->alith_name      = 'alth_post_module_7';
    7777        $this->alith_icon      = 'alith_block_post_module_7';
     
    8383class Elementor_Post_Module_Widgets_8 extends Elementor_Post_Module_Base_Widgets {
    8484    public function __construct( $data = [], $args = null ){
    85         $this->alith_title     = esc_html__('Post Module 8', 'alith_epk');
     85        $this->alith_title     = esc_html__('EPK Module 8', 'alith_epk');
    8686        $this->alith_name      = 'alth_post_module_8';
    8787        $this->alith_icon      = 'alith_block_post_module_8';
     
    9393class Elementor_Post_Module_Widgets_9 extends Elementor_Post_Module_Base_Widgets {
    9494    public function __construct( $data = [], $args = null ){
    95         $this->alith_title     = esc_html__('Post Module 9', 'alith_epk');
     95        $this->alith_title     = esc_html__('EPK Module 9', 'alith_epk');
    9696        $this->alith_name      = 'alth_post_module_9';
    9797        $this->alith_icon      = 'alith_block_post_module_9';
     
    103103class Elementor_Post_Module_Widgets_10 extends Elementor_Post_Module_Base_Widgets {
    104104    public function __construct( $data = [], $args = null ){
    105         $this->alith_title     = esc_html__('Post Module 10', 'alith_epk');
     105        $this->alith_title     = esc_html__('EPK Module 10', 'alith_epk');
    106106        $this->alith_name      = 'alth_post_module_10';
    107107        $this->alith_icon      = 'alith_block_post_module_10';
     
    113113class Elementor_Post_Module_Widgets_11 extends Elementor_Post_Module_Base_Widgets {
    114114    public function __construct( $data = [], $args = null ){
    115         $this->alith_title     = esc_html__('Post Module 11', 'alith_epk');
     115        $this->alith_title     = esc_html__('EPK Module 11', 'alith_epk');
    116116        $this->alith_name      = 'alth_post_module_11';
    117117        $this->alith_icon      = 'alith_block_post_module_11';
     
    123123class Elementor_Post_Module_Widgets_12 extends Elementor_Post_Module_Base_Widgets {
    124124    public function __construct( $data = [], $args = null ){
    125         $this->alith_title     = esc_html__('Post Module 12', 'alith_epk');
     125        $this->alith_title     = esc_html__('EPK Module 12', 'alith_epk');
    126126        $this->alith_name      = 'alth_post_module_12';
    127127        $this->alith_icon      = 'alith_block_post_module_12';
     
    133133class Elementor_Post_Module_Widgets_13 extends Elementor_Post_Module_Base_Widgets {
    134134    public function __construct( $data = [], $args = null ){
    135         $this->alith_title     = esc_html__('Post Module 13', 'alith_epk');
     135        $this->alith_title     = esc_html__('EPK Module 13', 'alith_epk');
    136136        $this->alith_name      = 'alth_post_module_13';
    137137        $this->alith_icon      = 'alith_block_post_module_13';
     
    143143class Elementor_Post_Module_Widgets_14 extends Elementor_Post_Module_Base_Widgets {
    144144    public function __construct( $data = [], $args = null ){
    145         $this->alith_title     = esc_html__('Post Module 14', 'alith_epk');
     145        $this->alith_title     = esc_html__('EPK Module 14', 'alith_epk');
    146146        $this->alith_name      = 'alth_post_module_14';
    147147        $this->alith_icon      = 'alith_block_post_module_14';
     
    153153class Elementor_Post_Module_Widgets_15 extends Elementor_Post_Module_Base_Widgets {
    154154    public function __construct( $data = [], $args = null ){
    155         $this->alith_title     = esc_html__('Post Module 15', 'alith_epk');
     155        $this->alith_title     = esc_html__('EPK Module 15', 'alith_epk');
    156156        $this->alith_name      = 'alth_post_module_15';
    157157        $this->alith_icon      = 'alith_block_post_module_15';
     
    163163class Elementor_Post_Module_Widgets_16 extends Elementor_Post_Module_Base_Widgets {
    164164    public function __construct( $data = [], $args = null ){
    165         $this->alith_title     = esc_html__('Post Module 16', 'alith_epk');
     165        $this->alith_title     = esc_html__('EPK Module 16', 'alith_epk');
    166166        $this->alith_name      = 'alth_post_module_16';
    167167        $this->alith_icon      = 'alith_block_post_module_16';
     
    173173class Elementor_Post_Module_Widgets_17 extends Elementor_Post_Module_Base_Widgets {
    174174    public function __construct( $data = [], $args = null ){
    175         $this->alith_title     = esc_html__('Post Module 17', 'alith_epk');
     175        $this->alith_title     = esc_html__('EPK Module 17', 'alith_epk');
    176176        $this->alith_name      = 'alth_post_module_17';
    177177        $this->alith_icon      = 'alith_block_post_module_17';
     
    183183class Elementor_Post_Module_Widgets_18 extends Elementor_Post_Module_Base_Widgets {
    184184    public function __construct( $data = [], $args = null ){
    185         $this->alith_title     = esc_html__('Post Module 18', 'alith_epk');
     185        $this->alith_title     = esc_html__('EPK Module 18', 'alith_epk');
    186186        $this->alith_name      = 'alth_post_module_18';
    187187        $this->alith_icon      = 'alith_block_post_module_18';
Note: See TracChangeset for help on using the changeset viewer.