Plugin Directory

Changeset 3115562


Ignore:
Timestamp:
07/10/2024 11:45:00 AM (21 months ago)
Author:
dynamicweblab
Message:

version 1.0.3

Location:
dynamic-post-grid-elementor-addon/trunk
Files:
3 added
5 edited

Legend:

Unmodified
Added
Removed
  • dynamic-post-grid-elementor-addon/trunk/assets/css/main.css

    r3092768 r3115562  
    983983}
    984984
     985/*====================================================
     986grid layout 7
     987==================================================*/
     988
     989
     990.depg-grid-layout-7 .degp-overlay-post-content-wrap {
     991  position: absolute;
     992  top: 0;
     993  left: 0;
     994  text-align: center;
     995  height: 100%;
     996  width: 100%;
     997  padding: 14px;
     998  backdrop-filter: blur(3px);
     999  z-index: 9;
     1000  visibility: hidden;
     1001  opacity: 0;
     1002  transition: all 0.4s ease;
     1003  display: flex;
     1004  flex-direction: column;
     1005  justify-content: center;
     1006  transition: all 0.4s ease;
     1007}
     1008
     1009.depg-grid-layout-7 .degp-overlay-post-content-wrap .dwl-post-title a {
     1010  color: #fff;
     1011}
     1012
     1013.depg-grid-layout-7 .degp-overlay-post-content-wrap .dwl-post-title {
     1014  line-height: 1.3;
     1015  margin: 0 0 7px;
     1016}
     1017
     1018.depg-grid-layout-7 .degp-overlay-post-content-wrap .post-grid-meta > span {
     1019  color: #fff;
     1020}
     1021
     1022.depg-grid-layout-7 .degp-overlay-post-content-wrap .post-grid-excerpt {
     1023  font-size: 14px;
     1024  color: #fff;
     1025}
     1026
     1027.depg-grid-layout-7 .degp-overlay-post-content-wrap .read-more-btn {
     1028  color: #fff;
     1029}
     1030
     1031.depg-grid-layout-7 .depg-title-wrap {
     1032  position: absolute;
     1033  bottom: 0;
     1034  width: 100%;
     1035  padding: 15px;
     1036  text-align: center;
     1037  z-index: 9;
     1038  background: #a84bf8;
     1039  transition: all 0.4s ease;
     1040}
     1041
     1042.depg-grid-layout-7 .depg-title-wrap .dwl-post-title > a {
     1043  color: #fff;
     1044}
     1045
     1046.depg-grid-layout-7 .depg-title-wrap .dwl-post-title {
     1047  font-size: 16px;
     1048  line-height: 1.3;
     1049  margin: 0;
     1050}
     1051
     1052.depg-grid-layout-7 .degp-term-meta a {
     1053  display: inline-block;
     1054  border: 1px solid #fff;
     1055  line-height: 1;
     1056  padding: 4px 8px;
     1057  color: #fff;
     1058  margin-top: 5px;
     1059}
     1060
     1061.depg-grid-layout-7 .post-grid-thumbnail img {
     1062  height: 100%;
     1063  object-fit: cover;
     1064}
     1065
     1066.depg-main.depg-grid-layout-7 .post-grid-thumbnail {
     1067  height: 350px;
     1068}
     1069
     1070.depg-grid-layout-7 .depg-thubnail-wrap:hover .depg-title-wrap{
     1071  bottom: 30px;
     1072  opacity: 0;
     1073  visibility: hidden;
     1074}
     1075
     1076.depg-grid-layout-7 .depg-thubnail-wrap:hover .degp-overlay-post-content-wrap{
     1077  visibility: visible;
     1078  opacity: 1;
     1079}
     1080
     1081/*====================================================
     1082grid layout 8
     1083==================================================*/
     1084.depg-grid-layout-8 .post-grid-inner-style-8 .post-grid-excerpt{
     1085  font-weight: 300;
     1086  line-height: 25px;
     1087}
     1088.depg-list-layout-4 .post-list-inner-style-4 .post-grid-meta > span,
     1089.depg-grid-layout-8 .post-grid-inner-style-8 .post-grid-meta > span {
     1090  font-weight: 300;
     1091}
     1092.depg-grid-layout-8 .post-grid-inner-style-8{
     1093  display: flex;
     1094  flex-wrap: wrap;
     1095  justify-content: space-between;
     1096  box-sizing: border-box;
     1097  border: 1px solid #D9D9D9;
     1098  padding: 18px;
     1099}
     1100
     1101.depg-grid-layout-8 .post-grid-inner-style-8 .post-grid-text-wrap,
     1102.depg-grid-layout-8 .post-grid-inner-style-8 .post-grid-image-wrap{
     1103  width: 48%;
     1104  padding: 0;
     1105}
     1106
     1107.depg-grid-layout-8 .post-grid-thumbnail a img{
     1108  border-radius: 10px;
     1109}
     1110
     1111/*====================================================
     1112list layout 4
     1113==================================================*/
     1114.depg-list-layout-4 .dpg-row{
     1115  padding: 10px;
     1116}
     1117.depg-list-layout-4 article{
     1118  position: relative;
     1119  border: 1px solid #D9D9D9;
     1120  padding-left: 0;
     1121}
     1122
     1123.depg-list-layout-4 .post-grid-thumbnail a{
     1124  display: inline-block;
     1125  width: 100%;
     1126}
     1127
     1128.depg-list-layout-4 .post-grid-thumbnail a img{
     1129  border-radius: 10px;
     1130  width: 100%;
     1131  height: auto;
     1132}
     1133
     1134.depg-list-layout-4 .post-list-inner-style-4 {
     1135  display: flex;
     1136  flex-wrap: wrap;
     1137  justify-content: space-between;
     1138  margin-top: 24px;
     1139  margin-bottom: 20px;
     1140  margin-left: 0;
     1141  padding-left: 0;
     1142}
     1143
     1144.depg-list-layout-4 .post-list-inner-style-4 .post-grid-excerpt{
     1145  font-size: 16px;
     1146  font-weight: 300;
     1147  color: var(--depg-color-light_gray);
     1148  line-height: 25px;
     1149  margin-bottom: 15px;
     1150}
     1151
     1152.depg-list-layout-4 .post-list-image-wrap{
     1153  position: relative;
     1154  border-radius: 5px;
     1155  overflow: hidden;
     1156}
     1157
     1158.depg-list-layout-4 .post-list-inner-style-4 .degp-term-meta {
     1159  display: flex;
     1160  flex-wrap: wrap;
     1161}
     1162
     1163.depg-list-layout-4 .post-list-inner-style-4 .degp-term-meta {
     1164  position: absolute;
     1165  top: 0;
     1166  left: 0;
     1167  margin-top: 15px;
     1168  margin-left: 10px;
     1169}
     1170.depg-list-layout-4 .post-list-inner-style-4 .degp-term-meta a {
     1171  font-size: 14px;
     1172  font-weight: 400;
     1173  text-transform: capitalize;
     1174  padding: 10px;
     1175  color: #FFFFFF;
     1176  background: #2965FF;
     1177  border-radius: 10px;
     1178  margin-right: 10px;
     1179  margin-bottom: 10px;
     1180}
     1181
     1182.depg-list-layout-4 .post-list-inner-style-4 .post-list-image-wrap{
     1183  width: 30%;
     1184}
     1185
     1186.depg-list-layout-4 .post-list-inner-style-4 .post-grid-text-wrap{
     1187  width: 70%;
     1188  padding-left: 22px;
     1189}
     1190
     1191
    9851192@media (max-width: 991px){
    9861193  .depg-list-layout-2 .post-grid-text-wrap{
     
    9931200}
    9941201
     1202
     1203@media (max-width: 767px){
     1204  .depg-list-layout-4 .post-list-inner-style-4 .post-list-image-wrap{
     1205    width: 100%;
     1206  }
     1207 
     1208  .depg-list-layout-4 .post-list-inner-style-4 .post-grid-text-wrap{
     1209    width: 100%;
     1210    padding-left: 0;
     1211  }
     1212  .depg-list-layout-4 .post-list-inner-style-4 {
     1213    padding: 0px 10px 0px 20px;
     1214  }
     1215}
     1216
    9951217@media (max-width: 575px){
    9961218  .depg-list-layout-3 .post-grid-text-wrap {
     
    10081230  }
    10091231}
     1232@media (max-width: 536px){
     1233  .depg-grid-layout-8 .post-grid-inner-style-8 .post-grid-text-wrap,
     1234  .depg-grid-layout-8 .post-grid-inner-style-8 .post-grid-image-wrap{
     1235    width: 100%;
     1236    padding: 0;
     1237  }
     1238}
  • dynamic-post-grid-elementor-addon/trunk/dynamic-post-grid.php

    r3092768 r3115562  
    44 * Requires Plugins: elementor
    55 * Description: Elementor page builder addon to display posts in a grid. Useful for generating post grid from your blog posts with multiple options.
    6  * Version: 1.0.2
     6 * Version: 1.0.3
    77 * Author: DynamicWebLab
    88 * Author URI: https://dynamicweblab.com/
     
    1414if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
    1515
    16 define( 'DPGEA_VERSION', '1.0.2' );
     16define( 'DPGEA_VERSION', '1.0.3' );
    1717define( 'DPGEA_SLUG', 'dynamic-post-grid' );
    1818define( 'DPGEA_URL', rtrim( plugin_dir_url( __FILE__ ), '/' ) );
  • dynamic-post-grid-elementor-addon/trunk/elementor-widgets.php

    r3092768 r3115562  
    5454        wp_register_style( 'depg-grid' , plugins_url( '/assets/css/dwl-grid.css', __FILE__ ), array(), DPGEA_VERSION );
    5555        wp_register_style( 'depg-fontawesome' , plugins_url( '/font/fontawesome/css/all.min.css', __FILE__ ), array(), '6.5.1' );
    56         wp_register_style( 'depg-main' , plugins_url( '/assets/css/main.min.css', __FILE__ ), array(), time() );
     56        wp_register_style( 'depg-main' , plugins_url( '/assets/css/main.css', __FILE__ ), array(), time() );
    5757
    5858        wp_register_script( 'depg-slick' , plugins_url( '/assets/vendors/slick/slick.min.js', __FILE__ ), array('jquery'), '1.8.0', true );
  • dynamic-post-grid-elementor-addon/trunk/readme.txt

    r3092768 r3115562  
    44Requires at least: 5.0
    55Tested up to: 6.5.3
    6 Stable tag: 1.0.2
     6Stable tag: 1.0.3
    77Requires PHP: 5.6
    88License: GPLv2 or later
     
    1616
    1717[Grid Demo](https://dynamicweblab.com/demo/plugins/post-grid-demo/") | [List Demo](https://dynamicweblab.com/demo/plugins/post-list-demo/) | [Slider Demo](https://dynamicweblab.com/demo/plugins/post-slider-demo/)
     18
     19🏆 **How To install Dynamic Post Grid Elementor Addon:**
     20
     21https://www.youtube.com/watch?v=S0aYj4m4wc0
    1822
    1923🏆 **Dynamic Post Grid Elementor Add-on** 🏆
     
    7276== Changelog ==
    7377
     78= 1.0.3 =
     79* [Feature] Added 2 new grid layout
     80* [Feature] Added 1 new List layout
     81
    7482= 1.0.2 =
    75 * [Feature] Added 3 new grid layout
    76 * [Feature] Added 2 new List layout
     83* [Feature] Added 3 new grid layout 
     84* [Feature] Added 2 new List layout 
    7785* [Feature] Added 2 new Slider layout
    7886* Added new settings for elementor widget
  • dynamic-post-grid-elementor-addon/trunk/widgets/post-grid.php

    r3092768 r3115562  
    176176                        'url' => DPGEA_URL .'/assets/icons/grid-6.svg',
    177177                    ],
     178                    '7' => [
     179                        'title' => esc_html__('Layout 7', 'dynamic-post-grid'),
     180                        'url' => DPGEA_URL .'/assets/icons/grid-7.svg',
     181                    ],
     182                    '8' => [
     183                        'title' => esc_html__('Layout 8', 'dynamic-post-grid'),
     184                        'url' => DPGEA_URL .'/assets/icons/grid-8.svg',
     185                    ],
    178186                ],
    179187                'default' => '1',
     
    221229                        'url' => DPGEA_URL .'/assets/icons/list-style-3.svg',
    222230                    ],
     231                    '4' => [
     232                        'title' => esc_html__('Layout 4', 'dynamic-post-grid'),
     233                        'url' => DPGEA_URL .'/assets/icons/list-style-4.svg',
     234                    ],
    223235                ],
    224236                'condition' => [
     
    11741186                    '{{WRAPPER}} .post-list-inner .post-grid-thumbnail' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
    11751187                    '{{WRAPPER}} .post-slider-inner .post-grid-thumbnail' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
     1188                    '{{WRAPPER}} .post-list-image-wrap .post-grid-thumbnail' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
    11761189                ],
    11771190                'condition' => array(
     
    12351248                               {{WRAPPER}} .depg-list-container .post-grid-text-wrap .dwl-post-title > a,
    12361249                               {{WRAPPER}} .depg-title-wrap .dwl-post-title > a,
    1237                                {{WRAPPER}} .depg-slider-container .post-grid-text-wrap .dwl-post-title > a',
     1250                               {{WRAPPER}} .depg-slider-container .post-grid-text-wrap .dwl-post-title > a,
     1251                               {{WRAPPER}} .degp-overlay-post-content-wrap .dwl-post-title > a',
    12381252            ]
    12391253        );
     
    12601274                     {{WRAPPER}} .depg-list-container .post-grid-text-wrap .dwl-post-title > a,
    12611275                     {{WRAPPER}} .depg-title-wrap .dwl-post-title > a,
     1276                     {{WRAPPER}} .degp-overlay-post-content-wrap .dwl-post-title > a,
    12621277                     {{WRAPPER}} .depg-slider-container .post-grid-text-wrap .dwl-post-title > a' => 'color: {{VALUE}};',
    12631278                ],
     
    12881303                     {{WRAPPER}} .depg-list-container .post-grid-text-wrap .dwl-post-title > a:hover,
    12891304                     {{WRAPPER}} .depg-title-wrap .dwl-post-title > a:hover,
     1305                     {{WRAPPER}} .degp-overlay-post-content-wrap .dwl-post-title > a:hover,
    12901306                     {{WRAPPER}} .depg-slider-container .post-grid-text-wrap .dwl-post-title > a:hover' => 'color: {{VALUE}};',
    12911307                ),
     
    13071323                    '{{WRAPPER}} .depg-grid-container .post-grid-text-wrap .dwl-post-title > a,
    13081324                     {{WRAPPER}} .depg-list-container .post-grid-text-wrap .dwl-post-title > a,
     1325                     {{WRAPPER}} .degp-overlay-post-content-wrap .dwl-post-title > a,
    13091326                     {{WRAPPER}} .depg-slider-container .post-grid-text-wrap .dwl-post-title > a' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
    13101327                ],
     
    13361353                    'default' => Global_Typography::TYPOGRAPHY_TEXT,
    13371354                ],
    1338                 'selector' => '{{WRAPPER}} .post-grid-meta span
    1339                                 {{WRAPPER}}  .depg-list-date,
    1340                                 {{WRAPPER}} .degp-meta-data a',
     1355                'selector' => '{{WRAPPER}} .post-grid-meta span,
     1356                {{WRAPPER}}  .depg-list-date,
     1357                {{WRAPPER}} .degp-meta-data a',
    13411358            ]
    13421359        );
     
    13671384                    '{{WRAPPER}} .post-grid-text-wrap .post-grid-meta' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
    13681385                    '{{WRAPPER}} .post-grid-inner .post-grid-meta span' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
     1386                    '{{WRAPPER}} .post-grid-meta span' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
    13691387                ],
    13701388            ]
     
    15191537                ],
    15201538                'selector'  => '{{WRAPPER}} .post-grid-text-wrap .post-grid-excerpt p,
    1521                                 {{WRAPPER}} .post-grid-inner .post-grid-excerpt',
    1522                                
     1539                    {{WRAPPER}} .post-grid-inner .post-grid-excerpt,
     1540                    {{WRAPPER}} .post-grid-text-wrap .post-grid-excerpt,
     1541                    {{WRAPPER}} .degp-overlay-post-content-wrap .post-grid-excerpt',
     1542                                   
    15231543            ]
    15241544        );
     
    15361556                    '{{WRAPPER}} .post-grid-text-wrap .post-grid-excerpt p' => 'color: {{VALUE}};',
    15371557                    '{{WRAPPER}} .post-grid-inner .post-grid-excerpt' => 'color: {{VALUE}};',
     1558                    '{{WRAPPER}} .post-grid-text-wrap .post-grid-excerpt' => 'color: {{VALUE}};',
     1559                    '{{WRAPPER}} .degp-overlay-post-content-wrap .post-grid-excerpt' => 'color: {{VALUE}};',
    15381560                ],
    15391561            ]
     
    15491571                'selectors'  => [
    15501572                    '{{WRAPPER}} .post-grid-text-wrap .post-grid-excerpt p' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
     1573                    '{{WRAPPER}} .post-grid-text-wrap .post-grid-excerpt' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
    15511574                    '{{WRAPPER}} .post-grid-inner .post-grid-excerpt' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
     1575                    '{{WRAPPER}} .degp-overlay-post-content-wrap .post-grid-excerpt' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
    15521576                ],
    15531577            ]
     
    18201844            data-tablet-column = "<?php echo esc_attr($columns_tablet); ?>"
    18211845            data-mobile-column = "<?php echo esc_attr($columns_mobile); ?>"
    1822             <?php if('slider' == $layout_type): ?>
     1846            <?php
     1847           
     1848            if('slider' == $layout_type): ?>
    18231849                data-arrows = "<?php echo esc_attr($slider_arrows); ?>"
    18241850                data-dots = "<?php echo esc_attr($slider_dots); ?>" 
    18251851                data-autoplay = "<?php echo esc_attr($slider_autoplay); ?>"
    18261852                data-speed = "<?php echo esc_attr($slider_speed); ?>"
    1827             <?php endif; ?>
    1828             >
    1829                 <?php
     1853            <?php
     1854           
     1855            endif;
    18301856
    18311857                $post_type = ( ! empty( $settings['post_type'] ) ?  $settings['post_type'] : 'post' );
     
    19371963
    19381964                if ( $depg_get_all_posts->have_posts() ) :
    1939                     // $layout_file = __DIR__ . "/layouts/{$layout_type}/{$layout_type}-layout-{$grid_style}.php";
    19401965               
    1941                     // if( file_exists( $layout_file ) ){
    1942                     //  include_once( $layout_file );
    1943                     // }
    19441966                   
    1945                    
    1946 
    19471967                    if( 'grid'  == $layout_type ){
    1948                         include_once( __DIR__ . "/layouts/grid/grid-layout-{$grid_style}.php" );
     1968                        include_once( __DIR__ . "/layouts/grid/grid-layout-{$grid_style}.php");
    19491969                    }elseif( 'list' ==  $layout_type ){
    19501970                        include_once( __DIR__ . "/layouts/list/list-layout-{$list_style}.php" );
     
    19541974                        include_once( __DIR__ . "/layouts/filter/filter-layout-{$settings['filter_style']}.php" );
    19551975                    }
    1956                    
     1976
    19571977                endif;
    19581978               
    19591979                ?>
    1960             </div>
     1980                </div>
    19611981            <?php
    19621982                if ( isset( $settings['pagination_type']) && 'none' !== $settings['pagination_type'] && 'slider' != $settings['layout_type'] ) {
     
    19641984                }
    19651985            ?>
    1966         </div>
     1986        </div><!-- .depg-main -->
    19671987        <?php
    19681988
Note: See TracChangeset for help on using the changeset viewer.