Make WordPress Themes

Changeset 287972

Timestamp:
09/09/2025 11:16:52 AM (3 months ago)
Author:
themedropbox
Message:

New version of Data Analytics Center - 2.8

Location:
data-analytics-center/2.8
Files:
1 added
23 edited
1 copied

Legend:

Unmodified
Added
Removed
  • data-analytics-center/2.8/archive.php

    r262216 r287972  
    55      <div class="feature-post-thumbnail">
    66        <div class="slider-alternate">
    7           <img src="<?php echo get_stylesheet_directory_uri() . '/assets/images/banner.png'; ?>">
     7          <img src="<?php echo get_stylesheet_directory_uri() . '/assets/images/header-banner.png'; ?>">
    88        </div>
    99        <h1 class="post-title feature-header-title"><?php echo(esc_html_e('Archive Post','data-analytics-center')); ?></h1>
     
    1818    <div class="row">
    1919      <?php if(get_theme_mod('data_analytics_center_archive_sidebar_layout', 'Right Sidebar') == 'Right Sidebar'){ ?>
    20       <div class="col-lg-8 col-md-8 mt-5">
     20      <div class="col-lg-9 col-md-8 mt-5">
     21        <div class="row">
     22          <?php
     23            if ( have_posts() ) :
     24
     25              while ( have_posts() ) :
     26                the_post();
     27                ?>
     28                <div class="col-lg-6 col-md-12 mb-4"> <!-- Each post will take half width -->
     29                  <?php get_template_part( 'template-parts/content', get_post_format() ); ?>
     30                </div>
     31                <?php
     32              endwhile;
     33
     34            else:
     35              get_template_part( 'nothing-found' );
     36
     37            endif;
     38
     39            get_template_part( 'template-parts/pagination' );
     40          ?>
     41        </div>
     42      </div>
     43      <div class="col-lg-3 col-md-4">
     44        <?php get_sidebar(); ?>
     45      </div>
     46      <?php } elseif(get_theme_mod('data_analytics_center_archive_sidebar_layout', 'Right Sidebar') == 'Left Sidebar'){ ?>
     47      <div class="col-lg-3 col-md-4">
     48        <?php get_sidebar(); ?>
     49      </div>
     50      <div class="col-lg-9 col-md-8 mt-5">
     51        <div class="row">
     52          <?php
     53            if ( have_posts() ) :
     54
     55              while ( have_posts() ) :
     56                the_post();
     57                ?>
     58                <div class="col-lg-6 col-md-12 mb-4"> <!-- Each post will take half width -->
     59                  <?php get_template_part( 'template-parts/content', get_post_format() ); ?>
     60                </div>
     61                <?php
     62              endwhile;
     63
     64            else:
     65              get_template_part( 'nothing-found' );
     66
     67            endif;
     68
     69            get_template_part( 'template-parts/pagination' );
     70          ?>
     71        </div>
     72      </div>
     73      <?php } elseif(get_theme_mod('data_analytics_center_archive_sidebar_layout', 'Right Sidebar') == 'Three Column'){ ?>
     74      <div class="col-lg-3 col-md-4">
     75        <?php get_sidebar(); ?>
     76      </div>
     77      <div class="col-lg-6 col-md-6 mt-5">
    2178        <div class="row">
    2279          <?php
     
    4097        </div>
    4198      </div>
    42       <div class="col-lg-4 col-md-4">
    43         <?php get_sidebar(); ?>
    44       </div>
    45       <?php } elseif(get_theme_mod('data_analytics_center_archive_sidebar_layout', 'Right Sidebar') == 'Left Sidebar'){ ?>
    46       <div class="col-lg-4 col-md-4">
    47         <?php get_sidebar(); ?>
    48       </div>
    49       <div class="col-lg-8 col-md-8 mt-5">
     99      <div class="col-lg-3 col-md-4 sidebar-area mt-5">
     100        <?php dynamic_sidebar('data-analytics-center-sidebar-2'); ?>
     101      </div>
     102      <?php } elseif(get_theme_mod('data_analytics_center_archive_sidebar_layout', 'Right Sidebar') == 'Four Column'){ ?>
     103      <div class="col-lg-3 col-md-4">
     104        <?php get_sidebar(); ?>
     105      </div>
     106      <div class="col-lg-3 col-md-4 sidebar-area mt-5">
     107        <?php dynamic_sidebar('data-analytics-center-sidebar-2'); ?>
     108      </div>
     109      <div class="col-lg-3 col-md-4 mt-5">
    50110        <div class="row">
    51111          <?php
     
    69129        </div>
    70130      </div>
    71       <?php } elseif(get_theme_mod('data_analytics_center_archive_sidebar_layout', 'Right Sidebar') == 'Three Column'){ ?>
    72       <div class="col-lg-3 col-md-3">
    73         <?php get_sidebar(); ?>
    74       </div>
    75       <div class="col-lg-6 col-md-6 mt-5">
    76         <div class="row">
    77           <?php
    78             if ( have_posts() ) :
    79 
    80               while ( have_posts() ) :
    81 
    82                 the_post();
    83                 get_template_part( 'template-parts/content', get_post_format() );
    84 
    85               endwhile;
    86 
    87             else:
    88 
    89               get_template_part( 'nothing-found' );
    90 
    91             endif;
    92 
    93             get_template_part( 'template-parts/pagination' );
    94           ?>
    95         </div>
    96       </div>
    97       <div class="col-lg-3 col-md-3 sidebar-area mt-5">
    98         <?php dynamic_sidebar('data-analytics-center-sidebar-2'); ?>
    99       </div>
    100       <?php } elseif(get_theme_mod('data_analytics_center_archive_sidebar_layout', 'Right Sidebar') == 'Four Column'){ ?>
    101       <div class="col-lg-3 col-md-3">
    102         <?php get_sidebar(); ?>
    103       </div>
    104       <div class="col-lg-3 col-md-3 sidebar-area mt-5">
    105         <?php dynamic_sidebar('data-analytics-center-sidebar-2'); ?>
    106       </div>
    107       <div class="col-lg-3 col-md-3 mt-5">
    108         <div class="row">
    109           <?php
    110             if ( have_posts() ) :
    111 
    112               while ( have_posts() ) :
    113 
    114                 the_post();
    115                 get_template_part( 'template-parts/content', get_post_format() );
    116 
    117               endwhile;
    118 
    119             else:
    120 
    121               get_template_part( 'nothing-found' );
    122 
    123             endif;
    124 
    125             get_template_part( 'template-parts/pagination' );
    126           ?>
    127         </div>
    128       </div>
    129       <div class="col-lg-3 col-md-3 sidebar-area mt-5">
     131      <div class="col-lg-3 col-md-4 sidebar-area mt-5">
    130132        <?php dynamic_sidebar('data-analytics-center-sidebar-3'); ?>
    131133      </div>
     
    153155      <?php } elseif(get_theme_mod('data_analytics_center_archive_sidebar_layout', 'Right Sidebar') == 'Grid Layout With Right Sidebar'){ ?>
    154156        <div class="row">
    155           <div class="col-lg-8 col-md-8 mt-5">
     157          <div class="col-lg-9 col-md-8 mt-5">
    156158            <div class="row">
    157159              <?php
     
    175177            </div>
    176178          </div>
    177           <div class="col-lg-4 col-md-4">
     179          <div class="col-lg-3 col-md-4">
    178180            <?php get_sidebar(); ?>
    179181          </div>
     
    181183      <?php } elseif(get_theme_mod('data_analytics_center_archive_sidebar_layout', 'Right Sidebar') == 'Grid Layout With Left Sidebar'){ ?>
    182184        <div class="row">
    183           <div class="col-lg-4 col-md-4">
     185          <div class="col-lg-3 col-md-4">
    184186            <?php get_sidebar(); ?>
    185187          </div>
    186           <div class="col-lg-8 col-md-8 mt-5">
     188          <div class="col-lg-9 col-md-8 mt-5">
    187189            <div class="row">
    188190              <?php
  • data-analytics-center/2.8/core/includes/customizer.php

    r283834 r287972  
    660660            'option3' => esc_html__( 'Post Title', 'data-analytics-center' ),
    661661            'option4' => esc_html__( 'Post Content', 'data-analytics-center' ),
    662             'option5' => esc_html__( 'Post Categories', 'data-analytics-center' ),
     662            'option5' => esc_html__( 'Post Button', 'data-analytics-center' ),
    663663        ],
    664664    ]
     
    670670        'label'       => esc_html__( 'Post Content Range', 'data-analytics-center' ),
    671671        'section'     => 'data_analytics_center_section_post',
    672         'default'     => 15,
     672        'default'     => 10,
    673673        'choices'     => [
    674674            'min'  => 0,
  • data-analytics-center/2.8/core/includes/inline.php

    r279776 r287972  
    1212    $data_analytics_center_custom_css .= '}';
    1313
    14     $data_analytics_center_custom_css .= 'body,h1,h2,h3,h4,h5,p,#main-menu ul li a,.woocommerce .woocommerce-ordering select, .woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea,a,.logo span{';
     14    $data_analytics_center_custom_css .= 'body,h1,h2,h3,h4,h5,p,.main-navigation ul li a,.woocommerce .woocommerce-ordering select, .woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea,a,.logo span{';
    1515    $data_analytics_center_custom_css .= 'color: #fff;';
    1616    $data_analytics_center_custom_css .= '}';
     
    4242    if($data_analytics_center_text_transform == 'CAPITALISE'){
    4343
    44         $data_analytics_center_custom_css .='#main-menu ul li a{';
     44        $data_analytics_center_custom_css .='.main-navigation ul li a{';
    4545
    4646            $data_analytics_center_custom_css .='text-transform: capitalize;';
     
    5050    }else if($data_analytics_center_text_transform == 'UPPERCASE'){
    5151
    52         $data_analytics_center_custom_css .='#main-menu ul li a{';
     52        $data_analytics_center_custom_css .='.main-navigation ul li a{';
    5353
    5454            $data_analytics_center_custom_css .='text-transform: uppercase;';
     
    5858    }else if($data_analytics_center_text_transform == 'LOWERCASE'){
    5959
    60         $data_analytics_center_custom_css .='#main-menu ul li a{';
     60        $data_analytics_center_custom_css .='.main-navigation ul li a{';
    6161
    6262            $data_analytics_center_custom_css .='text-transform: lowercase;';
     
    7171    if($data_analytics_center_menu_zoom == 'Zoomout'){
    7272
    73         $data_analytics_center_custom_css .='#main-menu ul li a{';
     73        $data_analytics_center_custom_css .='.main-navigation ul li a{';
    7474
    7575            $data_analytics_center_custom_css .='';
     
    7979    }else if($data_analytics_center_menu_zoom == 'Zoominn'){
    8080
    81         $data_analytics_center_custom_css .='#main-menu ul li a:hover{';
     81        $data_analytics_center_custom_css .='.main-navigation ul li a:hover{';
    8282
    8383            $data_analytics_center_custom_css .='transition: all 0.3s ease-in-out !important; transform: scale(1.2) !important; color: var(--second-color);';
  • data-analytics-center/2.8/core/includes/main.php

    r283834 r287972  
    148148                <div class="insidee theme-bundle">
    149149                    <p class="offer"><?php esc_html_e('Get 90+ Perfect WordPress Theme In A Single Package at just $89."','data-analytics-center'); ?></p>
    150                     <p class="coupon"><?php esc_html_e('Get Our Theme Pack of 80+ WordPress Themes At 15% Off','data-analytics-center'); ?><span class="coupon-code"><?php esc_html_e('"Bundleup15"','data-analytics-center'); ?></span></p>
     150                    <p class="coupon"><?php esc_html_e('Get Our Theme Pack of 90+ WordPress Themes At 15% Off','data-analytics-center'); ?><span class="coupon-code"><?php esc_html_e('"Bundleup15"','data-analytics-center'); ?></span></p>
    151151                    <div id="admin_pro_linkss">
    152152                        <a class="blue-button-1" href="<?php echo esc_url( DATA_ANALYTICS_CENTER_THEME_BUNDLE ); ?>" target="_blank"><?php esc_html_e( 'Theme Bundle', 'data-analytics-center' ) ?></a>
  • data-analytics-center/2.8/css/media.css

    r279776 r287972  
    11@media screen and (min-width : 320px) and (max-width : 767px) {
    2   .page-template-frontpage #site-navigation{
     2  .page-template-frontpage #site-navigationn{
    33    position: static;
    44    background: var(--second-color);
     
    3535    text-decoration: none !important;
    3636  }
    37   .menu-toggle,
    38   .dropdown-toggle {
    39     display: inline-block;
    40     font-size: 20px;
    41     font-weight: 600;
    42     background: var(--first-color);
    43     color: #fff;
    44     border: none;
    45   }
    46   #main-menu {
    47     display: none;
    48   }
    49   .header.toggled #main-menu {
    50     display: block;
    51   }
    52   button.close-menu{
    53     display: inline-block;
    54     background: var(--first-color);
    55     border: none;
    56     color: #fff;
    57   }
    58   #main-menu ul li {
    59     float: left;
    60     width: 100%;
    61   }
    62   #main-menu > li > ul.children,
    63   #main-menu > li > ul.sub-menu {
    64     position: absolute;
    65     top:-100%;
    66     background: #fff;
    67   }
    68   #main-menu li.focus > ul.children,
    69   #main-menu li.focus > ul.sub-menu ,
    70   #main-menu li:hover > ul.children,
    71   #main-menu li:hover > ul.sub-menu ,
    72   #main-menu li:focus > ul.children,
    73   #main-menu li:focus > ul.sub-menu {
    74     width: 100%;
    75     top:0;
    76     left: 0 !important;
    77     position: relative;
    78   }
    79   #main-menu ul {
    80     padding: 0;
    81     float: none;
    82   }
    83   #main-menu ul.children li a ,
    84   #main-menu ul.sub-menu li a {
    85     padding: 0;
    86     line-height:53px;
    87     color: #fff;
    88   }
    89   #main-menu ul li.menu-item-has-children:after {
    90     content: '';
    91     position: absolute;
    92     border: solid #fff;
    93     right: 10px;
    94     top: 50%;
    95     border-width: 0 3px 3px 0;
    96     display: inline-block;
    97     padding: 3px;
    98     -webkit-transform: translate(0,-50%) rotate(-45deg);
    99     transform: translate(0,-50%) rotate(-45deg);
    100   }
    101   #main-menu ul.children li,
    102   #main-menu ul.sub-menu li {
    103     width: 100%;
    104     font-size: 12px;
    105     padding-left: 10px;
    106   }
    107   #main-menu ul li.menu-item-has-children:hover:after ,
    108   #main-menu ul li.menu-item-has-children:focus:after,
    109   #main-menu ul li.menu-item-has-children.focus:after {
    110     top: 20px;
    111     -webkit-transform:  rotate(45deg);
    112     transform:  rotate(45deg);
    113   }
    114   #main-menu a:hover,
    115   #main-menu ul li a:hover,
    116   #main-menu li:hover > a,
    117   #main-menu a:focus,
    118   #main-menu ul li a:focus,
    119   #main-menu li.focus > a,
    120   #main-menu li:focus > a,
    121   #main-menu ul li.current-menu-item > a,
    122   #main-menu ul li.current_page_item > a,
    123   #main-menu ul li.current-menu-parent > a,
    124   #main-menu ul li.current_page_ancestor > a,
    125   #main-menu ul li.current-menu-ancestor > a {
    126     background:none;
    127   }
    12837}
    12938
    13039@media (max-width: 782px){
    131   .page-template-frontpage #site-navigation{
     40  .page-template-frontpage #site-navigationn{
    13241    position: static;
    13342    background: var(--second-color);
     
    218127  }
    219128}
     129
     130@media screen and (max-width: 1000px){
     131  .main-navigation ul .menu-item.menu-item-has-children a:after,
     132  .main-navigation ul .page_item.page_item_has_children a:after{
     133    content: none;
     134  }
     135  .main-navigation .menu{
     136        display: inline-block;
     137        padding: 20px;
     138        margin-top: 65px;
     139        width: 100%;
     140    }
     141    .main-navigation .menu ul{
     142        display: inline-block;
     143        width: 100%;
     144    }
     145    .main-navigation .menu li{
     146        border: none;
     147    }
     148  ul#menu-testing-menu li.current-menu-item.current_page_item a{
     149    border: none;
     150    color: #ffffff;
     151  }
     152  .main-navigation ul.sub-menu li a,
     153  .main-navigation ul.children li a {
     154    color: #ffffff !important;
     155  }
     156  .main-navigation ul.sub-menu > li > a:hover, .main-navigation ul.sub-menu > li > a:focus,
     157  .main-navigation ul.children > li > a:hover, .main-navigation ul.children > li > a:focus{
     158    background: transparent;
     159  }
     160  .toggle-nav.mobile-menu {
     161    text-align: center;
     162  }
     163  .nav-box {
     164    outline: none;
     165    background: transparent;
     166  }
     167  .main-navigation .sub-menu > li,
     168  .main-navigation .children > li{
     169    border: none;
     170  }
     171  .toggle-nav {
     172    display: none;
     173    cursor: pointer;
     174    z-index: 999999;
     175  }
     176  .toggle-nav i {
     177    font-size: 30px;
     178    color: #000000;
     179  }
     180  .toggle-nav button {
     181    border: none;
     182    background: transparent;
     183    padding: 0;
     184  }
     185  .sidenav {
     186    height: 100%;
     187    width: 0;
     188    position: fixed;
     189    z-index: 99999999;
     190    right: 0;
     191    top: 0;
     192    overflow-x: hidden;
     193    transition: 0.5s ;
     194    overflow-y: scroll;
     195    background: #1E192D;
     196    visibility: hidden;
     197  }
     198  .sidenav.show {
     199    visibility: visible;
     200    width: 100%;
     201  }
     202  .sidenav .closebtn {
     203    position: absolute;
     204    top: 45px;
     205    margin-left: 10px;
     206    display: block;
     207    font-size: 13px;
     208    color: #fff;
     209    text-align: center;
     210    right: 14px;
     211    background:var(--second-color);
     212    padding: 6px;
     213    border-radius: 4px;
     214  }
     215  .sidenav #site-navigation {
     216    width: 100%;
     217    background-color: #212529;
     218    padding-left: 6px;
     219  }
     220  .toggle-nav,
     221  .toggle-nav.mobile-menu,
     222  a.closebtn.mobile-menu,
     223  .main-navigation ul ul li,
     224  .nav ul li a{
     225    display: block;
     226  }
     227  .nav ul li ul li a:before{
     228    content:"\00BB \00a0";
     229  }
     230  .nav ul li ul li a{
     231    padding-left:20px !important;
     232  }
     233  .nav ul li ul li ul li a{
     234    padding-left:30px !important;
     235  }
     236  .main-navigation li{
     237    padding: 0;
     238  }
     239  .main-navigation ul li a,.main-navigation .menu > li > a,.main-navigation .sub-menu > li > a, .main-navigation .sub-menu > li > .menu-item-link-return,
     240  .main-navigation .menu > li > a,.main-navigation .children > li > a, .main-navigation .children > li > .menu-item-link-return,.menu ul li a {
     241    color: #ffffff !important;
     242    display: block;
     243    border: none;
     244    text-align: left;
     245    padding: 10px 0px;
     246    border-bottom: 1px solid rgba(255, 255, 255, .15);
     247  }
     248  .sidebar-area .menu ul li a{
     249    color: #000 !important;
     250    padding: 3px 0;
     251    border-bottom: unset;
     252  }
     253  footer .sidebar-area .menu ul li a{
     254    color: #fff !important;
     255    padding: 3px 0;
     256    border-bottom: unset;
     257  }
     258  #site-navigation .menu ul li a:hover{
     259    color: var(--first-color);
     260  }
     261  /*NEW*/
     262  .main-navigation .menu .menu-item-has-children:not(.off-canvas):hover > .sub-menu{
     263    border: none;
     264  }
     265  .main-navigation .sub-menu li ul.sub-menu,.main-navigation .children li ul.children{
     266    left: 0px !important;
     267  }
     268  .navigation_header .nav, .navbar-expand-xl {
     269    display: inline-block;
     270  }
     271  .main-navigation .sub-menu, .main-navigation .children{
     272    background: transparent;
     273  }
     274  .caret {
     275        display: none;
     276    }
     277    /* mobile menu */
     278
     279    .footer-widgets-wrapper .widget-column {
     280        margin: 70px 0;
     281    }
     282
     283    .footer-widgets-wrapper .widget-column:last-child {
     284        margin-bottom: 0;
     285    }
     286
     287    .main-navigation ul li ul a {
     288        background: 0 0
     289    }
     290
     291    .main-navigation .menu .menu-item-has-children ul li a{
     292      font-weight: 400;
     293    }
     294
     295    .main-navigation ul li ul li ul li a {
     296        background: 0 0;
     297        padding-left: 22px;
     298        font-size: 13px;
     299        color: rgba(255, 255, 255, .5)
     300    }
     301
     302    .main-navigation a.current,
     303    .main-navigation li.current>a {
     304        color: #c5a47e
     305    }
     306
     307    .main-navigation ul li {
     308        position: relative;
     309        display: block;
     310        border-bottom: 1px solid rgba(255, 255, 255, .15)
     311    }
     312
     313    .main-navigation ul .dropdown:focus-within>ul {
     314        display: block !important
     315    }
     316
     317    .main-navigation ul>li>ul {
     318        background-color: #2a2a2a
     319    }
     320    .main-navigation ul li a {
     321        color: #fff;
     322        display: block;
     323        font-weight: 400;
     324        padding: 12px 15px;
     325        position: relative;
     326        cursor: pointer;
     327        line-height: 18px;
     328        font-size: 12px;
     329        width: 100%;
     330        text-align: left;
     331    }
     332    .main-navigation ul.menu>li>ul>li>a {
     333        padding-left: 22px;
     334        font-size: 14px;
     335        color: rgba(255, 255, 255, .5)
     336    }
     337
     338    .main-navigation ul.menu>li>ul>li.dropdown>a {
     339        padding-left: 22px
     340    }
     341
     342    .main-navigation ul.menu>li>ul>li.dropdown {
     343        width: auto
     344    }
     345
     346    .main-navigation ul li.dropdown .la {
     347        border-left: 1px solid rgba(130, 130, 130, .58);
     348        color: #fff;
     349        text-align: center;
     350        -webkit-transition: .3s ease-in-out;
     351        transition: .3s ease-in-out
     352    }
     353
     354    .main-navigation .menu .dropdown-menu {
     355        position: relative;
     356        z-index: 1;
     357        display: none;
     358        float: none;
     359        min-width: 100%;
     360        padding: 5px 0;
     361        margin: 2px 50px 0 0;
     362        font-size: 14px;
     363        text-align: center;
     364        list-style: none;
     365        background-color: transparent;
     366        -webkit-background-clip: padding-box;
     367        background-clip: padding-box;
     368        border: none;
     369        border-radius: 1px;
     370        -webkit-box-shadow: none;
     371        box-shadow: none;
     372        opacity: 1 !important;
     373        left: 0 !important;
     374    }
     375
     376    #site-navigation .menu li.dropdown .bi,.main-navigation .menu li i,.menu li.page_item ul.children i {
     377        display: block;
     378        border-left: 1px solid rgba(255, 255, 255, .13);
     379        color: #b3b3b9;
     380        text-align: center;
     381        -webkit-transition: .3s ease-in-out;
     382        transition: .3s ease-in-out
     383    }
     384
     385    #site-navigation .menu li.dropdown .bi,
     386    .main-navigation ul li.dropdown .bi,.main-navigation .menu li i,ul.children.dropdown-menu li i,.menu li.page_item ul.children i {
     387        position: absolute;
     388        z-index: 99;
     389        width: 60px;
     390        right: 0;
     391        top: 0;
     392        line-height: 50px;
     393        font-size: 18px;
     394        cursor: pointer;
     395    }
     396    .menu li.page_item i{
     397        right: -254px !important;
     398        top: -10px !important;
     399        width: 40px !important;
     400    }
     401    .menu li.page_item ul.children li.page_item i{
     402        right: 0 !important;
     403    }
     404
     405    .main-navigation ul.menu>li {
     406        padding: 0;
     407    }
     408
     409    .main-navigation ul li:last-child,
     410    .main-navigation ul.menu>li>ul>li:last-child,
     411    .main-navigation .menu>li>ul>li:last-child,
     412    .main-navigation .menu>li>ul>li>ul>li:last-child {
     413        border-bottom: none;
     414    }
     415  .main-navigation span.dashicons.dashicons-arrow-down-alt2 {
     416        right: 0;
     417        position: absolute;
     418        margin-top: 0px;
     419        top: 12px;
     420        z-index: 999;
     421  }
     422  .main-navigation .dashicons-arrow-down-alt2:before {
     423    color: #fff;
     424  }
     425.toggle-nav.mobile-menu {
     426    display: flex;
     427    justify-content: center;
     428}
     429.dashicons-menu:before {
     430    content: "\f333";
     431    background: var(--first-color);
     432    padding: 8px;
     433    border-radius: 4px;
     434    color: #fff;
     435}
     436.top-menu-wrapper{
     437  margin: 10px;
     438}
     439}
     440@media screen and (min-width:1001px){
     441    .main-navigation .menu .menu-item-has-children:not(.off-canvas):hover > .sub-menu,.main-navigation .menu .menu-item-has-children:not(.off-canvas):focus > .sub-menu,.main-navigation .menu .menu-item-has-children.is-focused:not(.off-canvas) > .sub-menu,.main-navigation .menu .menu-item-has-children:not(.off-canvas)[focus-within] > .sub-menu,.main-navigation .menu .menu-item-has-children:not(.off-canvas):focus-within > .sub-menu,.main-navigation .menu .page_item_has_children:not(.off-canvas):hover > .children,.main-navigation .menu .page_item_has_children:not(.off-canvas):focus > .children,.main-navigation .menu .page_item_has_children.is-focused:not(.off-canvas) > .children,.main-navigation .menu .page_item_has_children:not(.off-canvas)[focus-within] > .children,.main-navigation .menu .page_item_has_children:not(.off-canvas):focus-within > .children   {
     442    display: block;
     443    left: 0;
     444    margin-top: 0;
     445    width: auto;
     446    min-width: 100%;
     447    opacity: 1;
     448    top: 100%;
     449    border: 1px solid #f3f3f3;
     450}
     451}
  • data-analytics-center/2.8/header.php

    r252108 r287972  
    4242
    4343<div class="<?php if( get_theme_mod( 'data_analytics_center_sticky_header', false) != '') { ?>sticky-header<?php } else { ?>close-sticky main-menus<?php } ?>">
    44     <header id="site-navigation">
     44    <header id="site-navigationn">
    4545        <div class="container">
    4646            <div class="header-inner wow fadeInDown">
    4747                <div class="row">
    48                     <div class="col-lg-2 col-md-12 align-self-center">
     48                    <div class="col-xl-2 col-lg-3 col-md-4 col-12 align-self-center">
    4949                        <div class="logo text-center text-lg-start">
    5050                            <div class="logo-image">
     
    6666                        </div>
    6767                    </div>
    68                     <div class="col-lg-8 col-md-8 align-self-center text-center text-md-start">
    69                         <button class="menu-toggle toggle-menu my-2 py-2 px-3" aria-controls="top-menu" aria-expanded="false" type="button">
    70                             <span aria-hidden="true"><?php esc_html_e( 'Menu', 'data-analytics-center' ); ?></span>
    71                         </button>
    72                         <nav id="main-menu" class="close-panal main-menu">
    73                             <?php
    74                                 wp_nav_menu( array(
    75                                     'theme_location' => 'main-menu',
    76                                     'container' => 'false'
    77                                 ));
    78                             ?>
    79                             <button class="close-menu close-menu my-2 p-2" type="button">
    80                                 <span aria-hidden="true"><i class="fa fa-times"></i></span>
    81                             </button>
    82                         </nav>
     68                    <div class="col-xl-7 col-lg-6 col-md-2 col-2 align-self-center text-center text-md-start">
     69                            <div class="top-menu-wrapper">
     70                                <div class="navigation_header">
     71                                    <div class="toggle-nav mobile-menu">
     72                                        <button onclick="data_analytics_center_openNav()">
     73                                            <span class="dashicons dashicons-menu"></span>
     74                                        </button>
     75                                    </div>
     76                                    <div id="mySidenav" class="nav sidenav">
     77                                        <nav id="site-navigation" class="main-navigation navbar navbar-expand-xl" aria-label="<?php esc_attr_e( 'Top Menu', 'data-analytics-center' ); ?>">
     78                                            <?php {
     79                                                wp_nav_menu(
     80                                                    array(
     81                                                        'theme_location' => 'main-menu',
     82                                                        'container_class' => 'navi clearfix navbar-nav',
     83                                                        'menu_class'     => 'menu clearfix',
     84                                                        'items_wrap'     => '<ul id="%1$s" class="%2$s">%3$s</ul>',
     85                                                        'fallback_cb'    => 'wp_page_menu',
     86                                                    )
     87                                                );
     88                                            } ?>
     89                                        </nav>
     90                                        <a href="javascript:void(0)" class="closebtn mobile-menu" onclick="data_analytics_center_closeNav()">
     91                                            <span class="dashicons dashicons-no"></span>
     92                                        </a>
     93                                    </div>
     94                                </div>
     95                            </div>
    8396                    </div>
    84                     <div class="col-lg-2 col-md-4 text-center text-md-end align-self-center">
     97                    <div class="col-xl-3 col-lg-3 col-md-6 col-10 text-center text-md-end align-self-center">
    8598                        <?php if ( get_theme_mod('data_analytics_center_phone_number') ) : ?>
    8699                            <p class="mb-0 call_number"><i class="fas fa-phone me-2"></i><?php echo esc_html(get_theme_mod('data_analytics_center_phone_number'));?></p>
  • data-analytics-center/2.8/index.php

    r262216 r287972  
    55      <div class="feature-post-thumbnail">
    66        <div class="slider-alternate">
    7           <img src="<?php echo get_stylesheet_directory_uri() . '/assets/images/banner.png'; ?>">
     7          <img src="<?php echo get_stylesheet_directory_uri() . '/assets/images/header-banner.png'; ?>">
    88        </div>
    99        <h1 class="post-title feature-header-title"><?php echo(esc_html_e('Archive Post','data-analytics-center')); ?></h1>
     
    1818    <div class="row">
    1919      <?php if(get_theme_mod('data_analytics_center_archive_sidebar_layout', 'Right Sidebar') == 'Right Sidebar'){ ?>
    20       <div class="col-lg-8 col-md-8 mt-5">
     20      <div class="col-lg-9 col-md-8 mt-5">
     21        <div class="row">
     22          <?php
     23            if ( have_posts() ) :
     24
     25              while ( have_posts() ) :
     26                the_post();
     27                ?>
     28                <div class="col-lg-6 col-md-12 mb-4"> <!-- Each post will take half width -->
     29                  <?php get_template_part( 'template-parts/content', get_post_format() ); ?>
     30                </div>
     31                <?php
     32              endwhile;
     33
     34            else:
     35              get_template_part( 'nothing-found' );
     36
     37            endif;
     38
     39            get_template_part( 'template-parts/pagination' );
     40          ?>
     41        </div>
     42      </div>
     43      <div class="col-lg-3 col-md-4">
     44        <?php get_sidebar(); ?>
     45      </div>
     46      <?php } elseif(get_theme_mod('data_analytics_center_archive_sidebar_layout', 'Right Sidebar') == 'Left Sidebar'){ ?>
     47      <div class="col-lg-3 col-md-4">
     48        <?php get_sidebar(); ?>
     49      </div>
     50      <div class="col-lg-9 col-md-8 mt-5">
     51        <div class="row">
     52          <?php
     53            if ( have_posts() ) :
     54
     55              while ( have_posts() ) :
     56                the_post();
     57                ?>
     58                <div class="col-lg-6 col-md-12 mb-4"> <!-- Each post will take half width -->
     59                  <?php get_template_part( 'template-parts/content', get_post_format() ); ?>
     60                </div>
     61                <?php
     62              endwhile;
     63
     64            else:
     65              get_template_part( 'nothing-found' );
     66
     67            endif;
     68
     69            get_template_part( 'template-parts/pagination' );
     70          ?>
     71        </div>
     72      </div>
     73      <?php } elseif(get_theme_mod('data_analytics_center_archive_sidebar_layout', 'Right Sidebar') == 'Three Column'){ ?>
     74      <div class="col-lg-3 col-md-4">
     75        <?php get_sidebar(); ?>
     76      </div>
     77      <div class="col-lg-6 col-md-6 mt-5">
    2178        <div class="row">
    2279          <?php
     
    4097        </div>
    4198      </div>
    42       <div class="col-lg-4 col-md-4">
    43         <?php get_sidebar(); ?>
    44       </div>
    45       <?php } elseif(get_theme_mod('data_analytics_center_archive_sidebar_layout', 'Right Sidebar') == 'Left Sidebar'){ ?>
    46       <div class="col-lg-4 col-md-4">
    47         <?php get_sidebar(); ?>
    48       </div>
    49       <div class="col-lg-8 col-md-8 mt-5">
     99      <div class="col-lg-3 col-md-4 sidebar-area mt-5">
     100        <?php dynamic_sidebar('data-analytics-center-sidebar-2'); ?>
     101      </div>
     102      <?php } elseif(get_theme_mod('data_analytics_center_archive_sidebar_layout', 'Right Sidebar') == 'Four Column'){ ?>
     103      <div class="col-lg-3 col-md-4">
     104        <?php get_sidebar(); ?>
     105      </div>
     106      <div class="col-lg-3 col-md-4 sidebar-area mt-5">
     107        <?php dynamic_sidebar('data-analytics-center-sidebar-2'); ?>
     108      </div>
     109      <div class="col-lg-3 col-md-4 mt-5">
    50110        <div class="row">
    51111          <?php
     
    69129        </div>
    70130      </div>
    71       <?php } elseif(get_theme_mod('data_analytics_center_archive_sidebar_layout', 'Right Sidebar') == 'Three Column'){ ?>
    72       <div class="col-lg-3 col-md-3">
    73         <?php get_sidebar(); ?>
    74       </div>
    75       <div class="col-lg-6 col-md-6 mt-5">
    76         <div class="row">
    77           <?php
    78             if ( have_posts() ) :
    79 
    80               while ( have_posts() ) :
    81 
    82                 the_post();
    83                 get_template_part( 'template-parts/content', get_post_format() );
    84 
    85               endwhile;
    86 
    87             else:
    88 
    89               get_template_part( 'nothing-found' );
    90 
    91             endif;
    92 
    93             get_template_part( 'template-parts/pagination' );
    94           ?>
    95         </div>
    96       </div>
    97       <div class="col-lg-3 col-md-3 sidebar-area mt-5">
    98         <?php dynamic_sidebar('data-analytics-center-sidebar-2'); ?>
    99       </div>
    100       <?php } elseif(get_theme_mod('data_analytics_center_archive_sidebar_layout', 'Right Sidebar') == 'Four Column'){ ?>
    101       <div class="col-lg-3 col-md-3">
    102         <?php get_sidebar(); ?>
    103       </div>
    104       <div class="col-lg-3 col-md-3 sidebar-area mt-5">
    105         <?php dynamic_sidebar('data-analytics-center-sidebar-2'); ?>
    106       </div>
    107       <div class="col-lg-3 col-md-3 mt-5">
    108         <div class="row">
    109           <?php
    110             if ( have_posts() ) :
    111 
    112               while ( have_posts() ) :
    113 
    114                 the_post();
    115                 get_template_part( 'template-parts/content', get_post_format() );
    116 
    117               endwhile;
    118 
    119             else:
    120 
    121               get_template_part( 'nothing-found' );
    122 
    123             endif;
    124 
    125             get_template_part( 'template-parts/pagination' );
    126           ?>
    127         </div>
    128       </div>
    129       <div class="col-lg-3 col-md-3 sidebar-area mt-5">
     131      <div class="col-lg-3 col-md-4 sidebar-area mt-5">
    130132        <?php dynamic_sidebar('data-analytics-center-sidebar-3'); ?>
    131133      </div>
     
    153155      <?php } elseif(get_theme_mod('data_analytics_center_archive_sidebar_layout', 'Right Sidebar') == 'Grid Layout With Right Sidebar'){ ?>
    154156        <div class="row">
    155           <div class="col-lg-8 col-md-8 mt-5">
     157          <div class="col-lg-9 col-md-8 mt-5">
    156158            <div class="row">
    157159              <?php
     
    175177            </div>
    176178          </div>
    177           <div class="col-lg-4 col-md-4">
     179          <div class="col-lg-3 col-md-4">
    178180            <?php get_sidebar(); ?>
    179181          </div>
     
    181183      <?php } elseif(get_theme_mod('data_analytics_center_archive_sidebar_layout', 'Right Sidebar') == 'Grid Layout With Left Sidebar'){ ?>
    182184        <div class="row">
    183           <div class="col-lg-4 col-md-4">
     185          <div class="col-lg-3 col-md-4">
    184186            <?php get_sidebar(); ?>
    185187          </div>
    186           <div class="col-lg-8 col-md-8 mt-5">
     188          <div class="col-lg-9 col-md-8 mt-5">
    187189            <div class="row">
    188190              <?php
  • data-analytics-center/2.8/js/navigation.js

    r238925 r287972  
    1 /**
    2  * File navigation.js.
    3  *
    4  * Handles toggling the navigation menu for small screens and enables TAB key
    5  * navigation support for dropdown menus.
    6  */
     1// Menu Functions
     2function data_analytics_center_openNav() {
     3  jQuery(".sidenav").addClass('show');
     4}
    75
    8 // For the left menu
    9 ( function() {
    10     const siteNavigation = document.getElementById( 'site-navigation' );
     6function data_analytics_center_closeNav() {
     7  jQuery(".sidenav").removeClass('show');
     8}
    119
    12     // Return early if the navigation don't exist.
    13     if ( ! siteNavigation ) {
    14         return;
    15     }
     10/////////////////////// Focus handling ///////////////////////
     11(function(window, document) {
     12  function data_analytics_center_handleMobileMenuNavigation() {
     13    document.addEventListener('keydown', function(e) {
     14      if (window.innerWidth > 991) return;
     15      const nav = document.querySelector('.sidenav.show');
     16      if (!nav) return;
     17      const focusableElements = Array.from(nav.querySelectorAll(
     18        'a, button, [tabindex="0"], input, [tabindex]:not([tabindex="-1"])'
     19      )).filter(el => el.offsetParent !== null);
    1620
    17     const button = siteNavigation.getElementsByTagName( 'button' )[ 0 ];
     21      if (focusableElements.length === 0) return;
    1822
    19     // Return early if the button don't exist.
    20     if ( 'undefined' === typeof button ) {
    21         return;
    22     }
     23      const firstElement = focusableElements[0];
     24      const lastElement = focusableElements[focusableElements.length - 1];
     25      const activeElement = document.activeElement;
    2326
    24     const menu = siteNavigation.getElementsByTagName( 'ul' )[ 0 ];
     27      if (e.key === 'Tab') {
     28        if (!e.shiftKey && activeElement === lastElement) {
     29          e.preventDefault();
     30          firstElement.focus();
     31        }
     32        else if (e.shiftKey && activeElement === firstElement) {
     33          e.preventDefault();
     34          lastElement.focus();
     35        }
     36        else if (!nav.contains(activeElement)) {
     37          e.preventDefault();
     38          firstElement.focus();
     39        }
     40        return;
     41      }
    2542
    26     // Hide menu toggle button if menu is empty and return early.
    27     if ( 'undefined' === typeof menu ) {
    28         button.style.display = 'none';
    29         return;
    30     }
     43      if (e.key === 'Tab' && e.shiftKey) {
     44        const activeElement = document.activeElement;
    3145
    32     if ( ! menu.classList.contains( 'nav-menu' ) ) {
    33         menu.classList.add( 'nav-menu' );
    34     }
     46        if (activeElement.closest('.dropdown-menu')) {
     47          e.preventDefault();
     48         
     49          //current submenu
     50          const currentSubmenu = activeElement.closest('.dropdown-menu');
     51          const submenuItems = Array.from(currentSubmenu.querySelectorAll('a, button, [tabindex="0"]'))
     52            .filter(el => el.offsetParent !== null);
     53          const currentIndex = submenuItems.indexOf(activeElement);
     54          if (currentIndex > 0) {
     55            submenuItems[currentIndex - 1].focus();
     56          } else {
     57            const parentDropdown = currentSubmenu.closest('.dropdown, .page_item_has_children');
     58            if (parentDropdown) {
     59              // Find all focusable elements in parent
     60              const allFocusable = Array.from(parentDropdown.querySelectorAll('a, button, [tabindex="0"]'))
     61                .filter(el => el.offsetParent !== null);
     62             
     63              // Filter to only direct children of parentDropdown
     64              const parentItems = allFocusable.filter(el => el.parentElement === parentDropdown);
     65             
     66              if (parentItems.length > 0) {
     67                parentItems[0].focus();
     68              }
     69            }
     70          }
     71        }
     72      }
     73    });
     74  }
    3575
    36     // Toggle the .toggled class and the aria-expanded value each time the button is clicked.
    37     button.addEventListener( 'click', function() {
    38         siteNavigation.classList.toggle( 'toggled' );
     76  document.addEventListener('DOMContentLoaded', function() {
     77    data_analytics_center_handleMobileMenuNavigation();
    3978
    40         if ( button.getAttribute( 'aria-expanded' ) === 'true' ) {
    41             button.setAttribute( 'aria-expanded', 'false' );
    42         } else {
    43             button.setAttribute( 'aria-expanded', 'true' );
    44         }
    45     } );
     79    document.addEventListener('focusin', function(e) {
     80      if (window.innerWidth > 991) return;
     81     
     82      const focusedItem = e.target;
     83      const submenu = focusedItem.closest('.dropdown-menu');
     84      if (submenu) {
     85        submenu.style.display = 'block';
     86        submenu.classList.add('show');
     87      }
     88    });
     89  });
     90})(window, document);
    4691
    47     // Remove the .toggled class and set aria-expanded to false when the user clicks outside the navigation.
    48     document.addEventListener( 'click', function( event ) {
    49         const isClickInside = siteNavigation.contains( event.target );
     92jQuery(document).ready(function ($) {
     93  /*--- adding dropdown class to menu -----*/
     94$("#site-navigation ul.sub-menu,#site-navigation ul.children").parent().addClass("dropdown");
     95  $("#site-navigation ul.sub-menu,#site-navigation ul.children").addClass("dropdown-menu");
     96  $("#site-navigation ul#menuid li.dropdown a,#site-navigation ul.children li.dropdown a").addClass("dropdown-toggle");
     97  $("#site-navigation ul.sub-menu li a,#site-navigation ul.children li a").removeClass("dropdown-toggle");
     98  $('#site-navigation nav li.dropdown > a,#site-navigation .page_item_has_children a').append('<span class="caret"></span>');
     99  $('#site-navigation a.dropdown-toggle').attr('data-toggle', 'dropdown');
    50100
    51         if ( ! isClickInside ) {
    52             siteNavigation.classList.remove( 'toggled' );
    53             button.setAttribute( 'aria-expanded', 'false' );
    54         }
    55     } );
     101  /-- Mobile menu --/
     102  if ($('#site-navigation').length) {
     103    $('#site-navigation .menu li.dropdown, #site-navigation li.page_item_has_children').append(function () {
     104      // Changed Bootstrap icon to Dashicon (arrow down)
     105      return '<span class="dashicons dashicons-arrow-down-alt2" aria-hidden="true"></span>';
     106    });
    56107
    57     // Get all the link elements within the menu.
    58     const links = menu.getElementsByTagName( 'a' );
     108    $('#site-navigation .menu li.dropdown .dashicons, #site-navigation li.page_item_has_children .dashicons').on('click', function () {
     109      $(this).parent('li').children('ul').slideToggle().toggleClass('show');
     110    });
     111  }
    59112
    60     // Get all the link elements with children within the menu.
    61     const linksWithChildren = menu.querySelectorAll( '.menu-item-has-children > a, .page_item_has_children > a' );
     113  $(window).on('scroll', function () {
     114    if ($(this).scrollTop() > 200)
     115      $('.btntoTop').addClass('active');
     116    else
     117      $('.btntoTop').removeClass('active');
     118  });
    62119
    63     // Toggle focus each time a menu link is focused or blurred.
    64     for ( const link of links ) {
    65         link.addEventListener( 'focus', toggleFocus, true );
    66         link.addEventListener( 'blur', toggleFocus, true );
    67     }
     120  /*-- Reload page when width is between 320 and 768px and only from desktop */
     121  var isMobile = /Android|webOS|iPhone|iPad|iPod|BlackBerry/i.test(navigator.userAgent) ? true : false;
     122  $(window).on('resize', function () {
     123    var win = $(this); //this = window
     124    if (win.width() > 320 && win.width() < 991 && isMobile == false && !$("body").hasClass("elementor-editor-active")) {
     125      location.reload();
     126    }
     127  });
     128});
    68129
    69     // Toggle focus each time a menu link with children receive a touch event.
    70     for ( const link of linksWithChildren ) {
    71         link.addEventListener( 'touchstart', toggleFocus, false );
    72     }
    73130
    74     /**
    75      * Sets or removes .focus class on an element.
    76      */
    77     function toggleFocus() {
    78         if ( event.type === 'focus' || event.type === 'blur' ) {
    79             let self = this;
    80             // Move up through the ancestors of the current link until we hit .nav-menu.
    81             while ( ! self.classList.contains( 'nav-menu' ) ) {
    82                 // On li elements toggle the class .focus.
    83                 if ( 'li' === self.tagName.toLowerCase() ) {
    84                     self.classList.toggle( 'focus' );
    85                 }
    86                 self = self.parentNode;
    87             }
    88         }
    89 
    90         if ( event.type === 'touchstart' ) {
    91             const menuItem = this.parentNode;
    92             // event.preventDefault();
    93             for ( const link of menuItem.parentNode.children ) {
    94                 if ( menuItem !== link ) {
    95                     link.classList.remove( 'focus' );
    96                 }
    97             }
    98             menuItem.classList.toggle( 'focus' );
    99         }
    100     }
    101 }() );
     131/////////////////////// end ///////////////////////
  • data-analytics-center/2.8/languages/data-analytics-center.pot

    r283834 r287972  
    15021502
    15031503#: core/includes/main.php:150
    1504 msgid "Get Our Theme Pack of 80+ WordPress Themes At 15% Off"
     1504msgid "Get Our Theme Pack of 90+ WordPress Themes At 15% Off"
    15051505msgstr ""
    15061506
  • data-analytics-center/2.8/page.php

    r257878 r287972  
    22
    33<div id="content">
    4      <div class="feature-header">
    5         <div class="feature-post-thumbnail">
    6           <?php
    7               if ( has_post_thumbnail() ) :
    8                 the_post_thumbnail();
    9               else:
    10                 ?>
    11                 <div class="slider-alternate">
    12                   <img src="<?php echo get_stylesheet_directory_uri() . '/assets/images/banner.png'; ?>">
    13                 </div>
    14                 <?php
    15               endif;
    16             ?>
    17           <h1 class="post-title feature-header-title"><?php the_title(); ?></h1>
    18           <?php if ( get_theme_mod('data_analytics_center_breadcrumb_enable',true) ) : ?>
     4    <div class="feature-header">
     5      <div class="feature-post-thumbnail">
     6         <?php
     7            if ( has_post_thumbnail() ) :
     8              the_post_thumbnail();
     9            else:
     10              ?>
     11              <div class="slider-alternate">
     12                <img src="<?php echo get_stylesheet_directory_uri() . '/assets/images/header-banner.png'; ?>">
     13              </div>
     14              <?php
     15            endif;
     16          ?>
     17        <h1 class="post-title feature-header-title"><?php the_title(); ?></h1>
     18        <?php if ( get_theme_mod('data_analytics_center_breadcrumb_enable',true) ) : ?>
    1919          <div class="bread_crumb text-center">
    2020            <?php data_analytics_center_breadcrumb();  ?>
    2121          </div>
    2222        <?php endif; ?>
    23         </div>
     23      </div>
    2424    </div>
    2525  <div class="container">
     
    2828                <?php while ( have_posts() ) : the_post();
    2929                    get_template_part( 'template-parts/content-page');
    30 
    3130                    wp_link_pages(
    32                         array(
    33                           'before' => '<div class="data-analytics-center-pagination">',
    34                           'after' => '</div>',
    35                           'link_before' => '<span>',
    36                           'link_after' => '</span>'
    37                         )
    38                     );
    39                     comments_template();
     31                            array(
     32                              'before' => '<div class="data-analytics-center-pagination">',
     33                              'after' => '</div>',
     34                              'link_before' => '<span>',
     35                              'link_after' => '</span>'
     36                            )
     37                          );
     38                          comments_template();
    4039                endwhile; ?>
    4140                <?php echo esc_html (data_analytics_center_edit_link()); ?>
    4241        <?php }else if($data_analytics_center_theme_layout == 'Right Sidebar'){ ?>
    4342            <div class="row">
    44                 <div class="col-lg-8 col-md-8 mt-5">
     43                <div class="col-lg-9 col-md-8 mt-5">
    4544                    <?php
    4645                        while ( have_posts() ) :
     
    6160                      ?>
    6261                </div>
    63                 <div id="sidebar" class="col-lg-4 col-md-4">
     62                <div id="sidebar" class="col-lg-3 col-md-4">
    6463                    <?php get_sidebar(); ?>
    6564                </div>
     
    6766        <?php }else if($data_analytics_center_theme_layout == 'Left Sidebar'){ ?>
    6867            <div class="row">
    69                 <div id="sidebar" class="col-lg-4 col-md-4">
     68                <div id="sidebar" class="col-lg-3 col-md-4">
    7069                    <?php get_sidebar(); ?>
    7170                </div>
    72                 <div class="col-lg-8 col-md-8 mt-5">
     71                <div class="col-lg-9 col-md-8 mt-5">
    7372                    <?php
    7473                        while ( have_posts() ) :
     
    9291        <?php }else {?>
    9392            <div class="row">
    94                <div class="col-lg-8 col-md-8 mt-5">
     93               <div class="col-lg-9 col-md-8 mt-5">
    9594                    <?php
    9695                        while ( have_posts() ) :
     
    111110                      ?>
    112111                </div>
    113                 <div id="sidebar" class="col-lg-4 col-md-4">
     112                <div id="sidebar" class="col-lg-3 col-md-4">
    114113                    <?php get_sidebar(); ?>
    115114                </div>
  • data-analytics-center/2.8/readme.txt

    r283834 r287972  
    33Tags: news, portfolio, education, one-column, two-columns, three-columns, four-columns, right-sidebar, left-sidebar, grid-layout, custom-background, custom-colors, custom-header, custom-logo, custom-menu, featured-images, footer-widgets, full-width-template, featured-image-header, editor-style, post-formats, rtl-language-support, theme-options, threaded-comments, translation-ready
    44Requires at least: 5.0
    5 Stable tag: 2.7
     5Stable tag: 2.8
    66Requires PHP: 7.2
    77Tested up to: 6.8
     
    131131* Updated POT file.
    132132
     133= 2.8 = September - 06 - 2025
     134
     135* Remove old menus from theme.
     136* Added new menus & styling in theme.
     137* Changed banner image.
     138* Resolve minor issues.
     139* Updated sidebar CSS.
     140* Updated layout for themes.
     141* Updated woocommerce page.
     142* Added variable in footer.
     143* Updated getstarted theme count.
     144
    133145== Resources ==
    134146
  • data-analytics-center/2.8/search.php

    r262216 r287972  
    55      <div class="feature-post-thumbnail">
    66        <div class="slider-alternate">
    7           <img src="<?php echo get_stylesheet_directory_uri() . '/assets/images/banner.png'; ?>">
     7          <img src="<?php echo get_stylesheet_directory_uri() . '/assets/images/header-banner.png'; ?>">
    88        </div>
    99        <h1 class="post-title feature-header-title"><?php echo(esc_html_e('Search Result','data-analytics-center')); ?></h1>
     
    1818    <div class="row">
    1919      <?php if(get_theme_mod('data_analytics_center_search_sidebar_layout', 'Right Sidebar') == 'Right Sidebar'){ ?>
    20       <div class="col-lg-8 col-md-8 mt-5">
    21         <?php echo '<h1>' . esc_html__('You searched: ', 'data-analytics-center') . get_search_query() . '</h1>'; ?>
    22         <div class="row">
    23           <?php
    24             if ( have_posts() ) :
    25 
    26               while ( have_posts() ) :
    27 
    28                 the_post();
    29                 get_template_part( 'template-parts/content' );
    30 
    31               endwhile;
    32 
    33             else:
    34 
    35               get_template_part( 'nothing-found' );
    36 
    37             endif;
    38 
    39             get_template_part( 'template-parts/pagination' );
    40           ?>
    41         </div>
    42       </div>
    43       <div class="col-lg-4 col-md-4">
     20      <div class="col-lg-9 col-md-8 mt-5">
     21        <div class="row">
     22          <?php
     23            if ( have_posts() ) :
     24
     25              while ( have_posts() ) :
     26                the_post();
     27                ?>
     28                <div class="col-lg-6 col-md-12 mb-4"> <!-- Each post will take half width -->
     29                  <?php get_template_part( 'template-parts/content', get_post_format() ); ?>
     30                </div>
     31                <?php
     32              endwhile;
     33
     34            else:
     35              get_template_part( 'nothing-found' );
     36
     37            endif;
     38
     39            get_template_part( 'template-parts/pagination' );
     40          ?>
     41        </div>
     42      </div>
     43      <div class="col-lg-3 col-md-4">
    4444        <?php get_sidebar(); ?>
    4545      </div>
    4646      <?php } elseif(get_theme_mod('data_analytics_center_search_sidebar_layout', 'Right Sidebar') == 'Left Sidebar'){ ?>
    47       <div class="col-lg-4 col-md-4">
    48         <?php get_sidebar(); ?>
    49       </div>
    50       <div class="col-lg-8 col-md-8 mt-5">
    51         <?php echo '<h1>' . esc_html__('You searched: ', 'data-analytics-center') . get_search_query() . '</h1>'; ?>
    52         <div class="row">
    53           <?php
    54             if ( have_posts() ) :
    55 
    56               while ( have_posts() ) :
    57 
    58                 the_post();
    59                 get_template_part( 'template-parts/content' );
    60 
    61               endwhile;
    62 
    63             else:
    64 
     47      <div class="col-lg-3 col-md-4">
     48        <?php get_sidebar(); ?>
     49      </div>
     50      <div class="col-lg-9 col-md-8 mt-5">
     51        <div class="row">
     52          <?php
     53            if ( have_posts() ) :
     54
     55              while ( have_posts() ) :
     56                the_post();
     57                ?>
     58                <div class="col-lg-6 col-md-12 mb-4"> <!-- Each post will take half width -->
     59                  <?php get_template_part( 'template-parts/content', get_post_format() ); ?>
     60                </div>
     61                <?php
     62              endwhile;
     63
     64            else:
    6565              get_template_part( 'nothing-found' );
    6666
     
    7272      </div>
    7373      <?php } elseif(get_theme_mod('data_analytics_center_search_sidebar_layout', 'Right Sidebar') == 'Three Column'){ ?>
    74       <div class="col-lg-3 col-md-3">
     74      <div class="col-lg-3 col-md-4">
    7575        <?php get_sidebar(); ?>
    7676      </div>
     
    9898        </div>
    9999      </div>
    100       <div class="col-lg-3 col-md-3 sidebar-area mt-5">
     100      <div class="col-lg-3 col-md-4 sidebar-area mt-5">
    101101        <?php dynamic_sidebar('data-analytics-center-sidebar-2'); ?>
    102102      </div>
    103103      <?php } elseif(get_theme_mod('data_analytics_center_search_sidebar_layout', 'Right Sidebar') == 'Four Column'){ ?>
    104       <div class="col-lg-3 col-md-3">
    105         <?php get_sidebar(); ?>
    106       </div>
    107       <div class="col-lg-3 col-md-3 sidebar-area mt-5">
     104      <div class="col-lg-3 col-md-4">
     105        <?php get_sidebar(); ?>
     106      </div>
     107      <div class="col-lg-3 col-md-4 sidebar-area mt-5">
    108108        <?php dynamic_sidebar('data-analytics-center-sidebar-2'); ?>
    109109      </div>
    110       <div class="col-lg-3 col-md-3 mt-5">
     110      <div class="col-lg-3 col-md-4 mt-5">
    111111        <?php echo '<h1>' . esc_html__('You searched: ', 'data-analytics-center') . get_search_query() . '</h1>'; ?>
    112112        <div class="row">
     
    131131        </div>
    132132      </div>
    133       <div class="col-lg-3 col-md-3 sidebar-area mt-5">
     133      <div class="col-lg-3 col-md-4 sidebar-area mt-5">
    134134        <?php dynamic_sidebar('data-analytics-center-sidebar-3'); ?>
    135135      </div>
     
    160160        <?php } elseif(get_theme_mod('data_analytics_center_search_sidebar_layout', 'Right Sidebar') == 'Grid Layout With Right Sidebar'){ ?>
    161161        <div class="row">
    162           <div class="col-lg-8 col-md-8 mt-5">
     162          <div class="col-lg-9 col-md-8 mt-5">
    163163            <?php echo '<h1>' . esc_html__('You searched: ', 'data-analytics-center') . get_search_query() . '</h1>'; ?>
    164164            <div class="row">
     
    183183            </div>
    184184          </div>
    185           <div class="col-lg-4 col-md-4">
     185          <div class="col-lg-3 col-md-4">
    186186            <?php get_sidebar(); ?>
    187187          </div>
     
    189189        <?php } elseif(get_theme_mod('data_analytics_center_search_sidebar_layout', 'Right Sidebar') == 'Grid Layout With Left Sidebar'){ ?>
    190190        <div class="row">
    191           <div class="col-lg-4 col-md-4">
     191          <div class="col-lg-3 col-md-4">
    192192            <?php get_sidebar(); ?>
    193193          </div>
    194           <div class="col-lg-8 col-md-8 mt-5">
     194          <div class="col-lg-9 col-md-8 mt-5">
    195195            <?php echo '<h1>' . esc_html__('You searched: ', 'data-analytics-center') . get_search_query() . '</h1>'; ?>
    196196            <div class="row">
  • data-analytics-center/2.8/sidebar.php

    r247338 r287972  
    3232            wp_get_archives(array(
    3333                'type' => 'postbypost',
    34                 'format' => 'html',
    35                 'before' => '<li>',
    36                 'after' => '</li>',
     34                'format' => 'html'
    3735            ));
    3836            ?>
  • data-analytics-center/2.8/single.php

    r265768 r287972  
    2626    <div class="row">
    2727      <?php if(get_theme_mod('data_analytics_center_single_post_sidebar_layout', 'Right Sidebar') == 'Right Sidebar'){ ?>
    28       <div class="col-lg-8 col-md-8 mt-5">
     28      <div class="col-lg-9 col-md-8 mt-5">
    2929        <?php
    3030          while ( have_posts() ) :
     
    4747      <!-- Related Posts -->
    4848      <div class="related-posts">
    49           <h3 class="py-4"><?php esc_html_e('Related Posts:-', 'data-analytics-center'); ?></h3>
     49          <h3 class="py-2"><?php esc_html_e('Related Posts:-', 'data-analytics-center'); ?></h3>
    5050          <div class="row">
    5151              <?php
     
    6161                      'post__not_in' => array(get_the_ID()),
    6262                      'posts_per_page' => 3,
    63                       'orderby' => 'rand'
     63                      'orderby' => 'random'
    6464                  );
    6565                 
     
    7171                          <div class="col-lg-4 col-md-6 related-post-item py-2">
    7272                              <div class="related-post-thumbnail">
    73                                      <?php
    74                                         if ( has_post_thumbnail() ) :
    75                                           the_post_thumbnail();
    76                                         else:
    77                                           ?>
    78                                           <div class="slider-alternate">
    79                                             <img src="<?php echo get_stylesheet_directory_uri() . '/assets/images/banner.png'; ?>">
    80                                           </div>
    81                                           <?php
    82                                         endif;
    83                                       ?>
    84                                   <h4 class="mt-2 post-title"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h4>
     73                                <?php get_template_part( 'template-parts/content', get_post_format() ); ?>
    8574                              </div>
    8675                          </div>
     
    9685      <!-- End Related Posts -->
    9786      </div>
    98       <div class="col-lg-4 col-md-4">
     87      <div class="col-lg-3 col-md-4">
    9988        <?php get_sidebar(); ?>
    10089      </div>
    10190      <?php } elseif(get_theme_mod('data_analytics_center_single_post_sidebar_layout', 'Right Sidebar') == 'Left Sidebar'){ ?>
    102       <div class="col-lg-4 col-md-4">
     91      <div class="col-lg-3 col-md-4">
    10392        <?php get_sidebar(); ?>
    10493      </div>
    105       <div class="col-lg-8 col-md-8 mt-5">
     94      <div class="col-lg-9 col-md-8 mt-5">
    10695        <?php
    10796          while ( have_posts() ) :
     
    124113      <!-- Related Posts -->
    125114      <div class="related-posts">
    126           <h3 class="py-4"><?php esc_html_e('Related Posts:-', 'data-analytics-center'); ?></h3>
     115          <h3 class="py-2"><?php esc_html_e('Related Posts:-', 'data-analytics-center'); ?></h3>
    127116          <div class="row">
    128117              <?php
     
    138127                      'post__not_in' => array(get_the_ID()),
    139128                      'posts_per_page' => 3,
    140                       'orderby' => 'rand'
     129                      'orderby' => 'random'
    141130                  );
    142131                 
     
    148137                          <div class="col-lg-4 col-md-6 related-post-item py-2">
    149138                              <div class="related-post-thumbnail">
    150                                      <?php
    151                                         if ( has_post_thumbnail() ) :
    152                                           the_post_thumbnail();
    153                                         else:
    154                                           ?>
    155                                           <div class="slider-alternate">
    156                                             <img src="<?php echo get_stylesheet_directory_uri() . '/assets/images/banner.png'; ?>">
    157                                           </div>
    158                                           <?php
    159                                         endif;
    160                                       ?>
    161                                   <h4 class="mt-2 post-title"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h4>
     139                                <?php get_template_part( 'template-parts/content', get_post_format() ); ?>
    162140                              </div>
    163141                          </div>
  • data-analytics-center/2.8/style.css

    r283834 r287972  
    55Theme URI: https://www.misbahwp.com/products/free-analytics-wordpress-theme
    66Author URI: https://www.misbahwp.com/
    7 Version: 2.7
     7Version: 2.8
    88Requires PHP: 7.2
    99Tested up to: 6.8
     
    138138  transform: rotate(90deg);
    139139}
    140 .page-template-frontpage #site-navigation {
     140.page-template-frontpage #site-navigationn {
    141141  position: absolute;
    142142  width: 100%;
     
    144144  background: transparent;
    145145}
    146 #site-navigation {
     146#site-navigationn{
    147147  background: var(--second-color);
    148148}
    149149
    150 /* ===============================================
    151    MENU BOX
    152    ============================================= */
    153 
    154 #main-menu {
    155     display:block;
    156     position:relative;
    157     margin:0 auto;
    158 }
    159 #main-menu ul {
    160     margin:0;
    161   padding: 0;
    162     display:block;
    163 }
    164 #main-menu ul li {
    165     position:relative;
    166     display:block;
    167     float:left;
    168     text-align:left;
    169 }
    170 #main-menu ul li a {
    171   display: block;
    172   z-index: 1;
    173   padding: 25px 20px;
    174   font-size: 16px;
    175   font-weight: 400;
    176   color: #fff;
    177 }
    178 #main-menu a:hover,
    179 #main-menu ul li a:hover,
    180 #main-menu li:hover > a,
    181 #main-menu a:focus,
    182 #main-menu ul li a:focus,
    183 #main-menu li.focus > a,
    184 #main-menu li:focus > a,
    185 #main-menu ul li.current-menu-item > a,
    186 #main-menu ul li.current_page_item > a,
    187 #main-menu ul li.current-menu-parent > a,
    188 #main-menu ul li.current_page_ancestor > a,
    189 #main-menu ul li.current-menu-ancestor > a {
    190     color: var(--first-color);
    191 }
    192 li.menu-item-has-children:after {
    193     color: #fff;
    194     content: ' ▾';
    195     position: absolute;
    196     top: 24px;
    197     right: 0px;
    198 }
    199 
    200 #main-menu ul.children ,
    201 #main-menu ul.sub-menu {
    202     opacity:0;
    203     position: absolute;
    204     top: 45px;
    205     left: -9999em;
    206     background:var(--second-color);
    207     z-index:10001;
    208     width:213px;
    209     padding-left:0;
    210     -webkit-transition: opacity 0.3s ease 0s;
    211     -moz-transition: opacity 0.3s ease 0s;
    212     -o-transition: opacity 0.3s ease 0s;
    213     transition: opacity 0.3s ease 0s;
    214 }
    215 #main-menu ul.children li ,
    216 #main-menu ul.sub-menu li {
    217     position:relative;
    218     margin:0;
    219     line-height:1.2em;
    220     text-transform:none;
    221     width:213px;
    222     min-height: inherit;
    223     margin:0;
    224 }
    225 #main-menu li li:hover > ul,
    226 #main-menu li li:focus > ul,
    227 #main-menu li li.focus > ul {
    228     top:0px;
    229     left: -100%;
    230 }
    231 #main-menu ul.children li a ,
    232 #main-menu ul.sub-menu li a {
    233     text-decoration:none;
    234     text-align:left;
    235     display:block;
    236     padding:20px 15px;
    237     margin:0;
    238     border:none;
    239     line-height:inherit;
    240     color: #fff;
    241 }
    242 #main-menu ul.children li a:hover,
    243 #main-menu ul.sub-menu li a:hover,
    244 #main-menu ul.children li.current-menu-item a,
    245 #main-menu ul.sub-menu li.current-menu-item a {
    246   background: var(--first-color);
    247   color: #fff;
    248 }
    249 #main-menu ul.children li ul:before,
    250 #main-menu ul.sub-menu li ul:before,
    251 .menu-toggle,
    252 .dropdown-toggle,
    253 button.close-menu {
    254     display:none;
    255 }
    256 #main-menu li:hover > ul,
    257 #main-menu li:focus > ul,
    258 #main-menu li.focus > ul {
    259     opacity:1;
    260     left: 0;
    261 }
     150/**
     151====================================================================
     152  Navigation
     153====================================================================
     154*/
     155.top-menu-wrapper {
     156    padding: 10px 0;
     157}
     158.main-navigation ul .menu-item.menu-item-has-children a,
     159.main-navigation ul .page_item.page_item_has_children a{
     160    position: relative;
     161}
     162.main-navigation .menu > li i,.menu li i{
     163    font-size: 16px;
     164}
     165.main-navigation li.current_page_item > a, .main-navigation li.current-menu-item > a {
     166    color: var(--first-color);
     167    font-weight: 500 !important;
     168}
     169.main-navigation ul li a{
     170  text-transform: capitalize;
     171  color: #ffffff;
     172}
     173.main-navigation ul .menu-item.menu-item-has-children .sub-menu a:after,
     174.main-navigation ul .page_item.page_item_has_children .children a:after{
     175    content: none;
     176}
     177.main-navigation .menu ul {
     178    margin-bottom: 0px;
     179    padding: 0px;
     180}
     181.main-navigation .menu li {
     182    display: inline;
     183    position: relative;
     184    list-style: none;
     185}
     186.top-menu-wrapper ul {
     187    gap: 5px 40px;
     188    display: inline-flex;
     189    flex-wrap: wrap;
     190    margin: 0;
     191    padding: 0;
     192}
     193.main-navigation .menu > li > a ,
     194.page_item a{
     195    display: inline-block; 
     196    font-size: 16px;
     197    font-weight: 400;
     198}
     199#site-navigation .page_item_has_children ul li a,#site-navigation .main-navigation .menu .menu-item-has-children ul li a {
     200    font-size: 16px;
     201    position: relative;   
     202    display: block;
     203    color: var(--first-color);
     204    text-align: left;
     205    padding: 12px 20px !important;
     206    line-height: 22px;
     207    font-weight: 500;
     208}
     209#site-navigation .menu ul.sub-menu li a,
     210#site-navigation .menu ul.children li a{
     211    line-height: 1.5;
     212}
     213nav#site-navigation{
     214    padding: 0;
     215}
     216.main-navigation ul.sub-menu > li > a,
     217.main-navigation ul.children > li > a {
     218    position: relative;
     219    z-index: 1;
     220    overflow: hidden;
     221    display: block;
     222    transition: color 0.3s ease;
     223}
     224
     225.main-navigation ul.sub-menu > li > a::before,
     226.main-navigation ul.children > li > a::before {
     227    content: "";
     228    position: absolute;
     229    top: 0;
     230    left: -100%;
     231    width: 100%;
     232    height: 100%;
     233    background-color: var(--first-color);
     234    color: #fff;
     235    z-index: -1;
     236    transition: left 0.4s ease;
     237}
     238
     239.main-navigation ul.sub-menu > li > a:hover::before,
     240.main-navigation ul.sub-menu > li > a:focus::before,
     241.main-navigation ul.children > li > a:hover::before,
     242.main-navigation ul.children > li > a:focus::before {
     243    left: 0;
     244}
     245
     246.main-navigation ul.sub-menu > li > a:hover,
     247.main-navigation ul.sub-menu > li > a:focus,
     248.main-navigation ul.children > li > a:hover,
     249.main-navigation ul.children > li > a:focus {
     250    color: #fff !important;
     251}
     252.main-navigation .menu,.main-navigation .menu ul {
     253    display: flex;
     254    gap: 5px 40px;
     255    flex-wrap: wrap;
     256}
     257div#mySidenav {
     258    display: inline-flex;
     259}
     260.main-navigation .menu > li ,.main-navigation .menu li{
     261    display: inline;
     262    position: relative;
     263}
     264.main-navigation .menu > li > a:hover{
     265    color: var(--first-color);
     266}
     267.main-navigation .sub-menu,
     268.main-navigation .children {
     269    background-color: #ffffff;
     270    list-style: none;
     271    padding-left: 0;
     272    position: absolute;
     273    opacity: 0;
     274    left: -9999px;
     275    z-index: 99999;
     276    width: 200px !important;
     277    border:none;
     278}
     279.main-navigation ul.sub-menu.dropdown-menu {
     280    border: none;
     281    border-radius: unset;
     282}
     283.main-navigation .sub-menu > li > a:hover,
     284.main-navigation .sub-menu > li > a:focus,
     285.main-navigation .children > li > a:hover,
     286.main-navigation .children > li > a:focus {
     287    background: #000;
     288    color: #fff;
     289}
     290.main-navigation .sub-menu li ul.sub-menu,
     291.main-navigation .children li ul.children {
     292    left: 200px !important;
     293    top: -1px !important;
     294}
     295.main-navigation .sub-menu > li,
     296.main-navigation .children > li {
     297    display: block;
     298    float: none;
     299    position: relative;
     300    width: 100%;
     301}
     302.main-navigation .sub-menu > li.menu-item-has-children .submenu-expand,
     303.main-navigation .children > li.page_item_has_children .submenu-expand {
     304    display: inline-block;
     305    position: absolute;
     306    width: calc( 24px + 1rem);
     307    right: 0;
     308    top: calc( .125 * 1rem);
     309    bottom: 0;
     310    color: white;
     311    line-height: 1;
     312    padding: calc( .5 * 1rem);
     313}
     314.main-navigation .sub-menu > li.menu-item-has-children .submenu-expand,
     315.main-navigation .children > li.page_item_has_children .submenu-expand {
     316    margin-right: 0;
     317}
     318.main-navigation .sub-menu > li > a,
     319.main-navigation .sub-menu > li > .menu-item-link-return,
     320.main-navigation .children > li > .menu-item-link-return {
     321    color: #000;
     322    display: block;
     323    padding: 14px;
     324    font-weight: 400;
     325}
     326.main-navigation .sub-menu > li > .menu-item-link-return,
     327.main-navigation .children > li > .menu-item-link-return {
     328    width: 100%;
     329    font-size: 16px;
     330    font-weight: normal;
     331    text-align: left;
     332}
     333.main-navigation .sub-menu > li > a:empty,
     334.main-navigation .children > li > a:empty {
     335    display: none;
     336}
     337.main-navigation .sub-menu > li.mobile-parent-nav-menu-item,
     338.main-navigation .children > li.mobile-parent-nav-menu-item {
     339    display: none;
     340    font-size: 0.88889em;
     341    font-weight: normal;
     342}
     343.main-navigation .sub-menu > li:last-child,
     344.main-navigation .children > li:last-child {
     345    border-bottom: none;
     346}
     347
     348.toggle-nav, a.closebtn{
     349  display: none;
     350}
     351
     352.sub-menu span.dashicons.dashicons-arrow-down-alt2{
     353  position: absolute;
     354  top: 10px;
     355  right: 0;
     356}
     357
     358.main-navigation .dashicons-arrow-down-alt2:before {
     359    content: "\f347";
     360    font-size: 15px;
     361    color: #ffffff;
     362}
     363
     364.children.dropdown-menu span.dashicons.dashicons-arrow-down-alt2 {
     365    position: absolute;
     366    top: 10px;
     367    right: 0;
     368}
     369
    262370
    263371/* ===============================================
     
    267375.post-box{
    268376  border: 1px solid rgba(0, 0, 0, 0.125);
     377  border-radius: 10px;
     378  padding: 10px;
    269379}
    270380.post-thumbnail {
    271381  line-height: 0;
    272382}
    273 h3.post-title {
     383h3.post-title a {
    274384  font-size: 20px;
    275   word-wrap: break-word;
    276 }
    277 h1.post-title {
    278   word-wrap: break-word;
     385  text-transform: capitalize;
     386  font-weight: 500;
     387  color: #000000;
    279388}
    280389.post-content p{
    281     color: #707072;
     390  color: #898d94;
    282391}
    283392.post-content{
     
    285394}
    286395.post-meta i{
    287     color: var(--second-color);
     396  color: var(--first-color);
    288397}
    289398.post-meta span {
     
    291400  text-transform: capitalize;
    292401  font-size: 15px;
    293   font-weight: 600;
    294   color: #626B7D;
     402  font-weight: 500;
     403  color: #000;
    295404}
    296405pre {
    297     display: block;
    298     padding: 9.5px;
    299     margin: 0 0 10px;
    300     font-size: 13px;
    301     line-height: 1.42857143;
    302     color: var(--first-color);
    303     white-space: break-spaces;
    304     background-color: #f5f5f5;
    305     border: 1px solid #ccc;
    306     border-radius: 4px;
     406  display: block;
     407  padding: 9.5px;
     408  margin: 0 0 10px;
     409  font-size: 13px;
     410  line-height: 1.42857143;
     411  color: #000000;
     412  white-space: break-spaces;
     413  background-color: #f5f5f5;
     414  border: 1px solid #ccc;
     415    border-radius: 4px;
    307416}
    308417.post-content img,
     
    311420.post-content object,
    312421.post-content embed {
    313     max-width: 100%;
     422  max-width: 100%;
    314423}
    315424.post-content img,
    316425.post-thumbnail img {
    317     max-height:100%;
    318     height:auto;
     426  max-height:100%;
     427  height:300px;
    319428  width: 100%;
    320429  object-fit: cover;
     430  border-radius: 10px;
     431  background: #dfdcdc;
     432}
     433.post-content{
     434  color: #3c3c3c;
    321435}
    322436.post-content:after {
     
    328442  float: left;
    329443  width: 100%;
     444}
     445.post-meta.my-3 {
     446  display: flex;
     447  justify-content: start;
     448  border-radius: 4px;
     449  gap: 50px;
     450}
     451.post-meta a{
     452  color: #000;
     453}
     454.more-btn i {
     455  font-size: 15px;
     456  margin-left: 10px;
     457}
     458.blog-grid-layout .post-meta{
     459 gap: 20px;
    330460}
    331461
     
    335465===================================================================================
    336466*/
    337 
    338 .related-post-thumbnail img {
    339     height: 225px;
    340     object-fit: cover;
    341     width: 100%;
    342 }
    343 
    344 .related-post-thumbnail {
    345     box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.2);
    346     padding: 15px;
    347 }
    348467
    349468.related-post-item h4.post-title {
     
    9561075   SIDEBARS
    9571076   =============================================== */
    958 
     1077.sidebar-area{
     1078  color: #000;
     1079}
    9591080.sidebar-area .textwidget img{
    9601081  width: 100%;
     
    9621083}
    9631084.sidebar-area .sidebar-widget {
    964     margin-bottom: 25px;
     1085  margin-bottom: 25px;
     1086  background: #f5f6f7;
     1087  border-radius: 10px;
     1088  padding: 0px 10px;
    9651089}
    9661090.sidebar-area a,
     
    9731097.sidebar-area th,
    9741098.sidebar-area .textwidget {
    975     line-height:1.9em;
    976     font-weight: normal;
     1099  line-height:1.9em;
     1100  font-weight: normal;
     1101  color: #000000;
     1102}
     1103footer .sidebar-area a,
     1104footer .sidebar-area p,
     1105footer .sidebar-area li,
     1106footer .sidebar-area address,
     1107footer .sidebar-area dd,
     1108footer .sidebar-area blockquote,
     1109footer .sidebar-area td,
     1110footer .sidebar-area th,
     1111footer .sidebar-area .textwidget {
     1112  color: #ffffff;
    9771113}
    9781114.sidebar-area ul,#calendar_wrap,.sidebar-area .textwidget,.tagcloud {
    979   list-style: none;
     1115  list-style: circle;
    9801116  margin: 0;
    9811117  padding: 0 0px;
     1118}
     1119footer .sidebar-area ul,footer #calendar_wrap,footer .sidebar-area .textwidget,footer .tagcloud {
     1120  list-style: none;
    9821121}
    9831122.sidebar-area li a,
    9841123.sidebar-area li {
    9851124  font-size: 15px;
    986   font-weight: 500;
    9871125  word-wrap: break-word;
    9881126}
    9891127.sidebar-area li {
    9901128  padding-bottom: 5px;
     1129  list-style: circle;
     1130  margin-left: 25px;
     1131}
     1132.sidebar-area ul li{
     1133  position: relative;
     1134  margin-left: 25px;
     1135  list-style: circle;
     1136}
     1137footer .sidebar-area ul li{
     1138  list-style: none;
     1139  margin-left: 0;
     1140}
     1141.sidebar-area ul li ul.children li,.sidebar-area ul li ul.sub-menu li{
     1142  margin-left: 0;
     1143}
     1144.sidebar-area ul li::marker,.sidebar-area li::marker{
     1145  color: var(--second-color);
     1146}
     1147.sidebar-area h4.title:before, .sidebar-area h1.wp-block-heading:before, 
     1148.sidebar-area h2.wp-block-heading:before, 
     1149.sidebar-area h3.wp-block-heading:before, 
     1150.sidebar-area h4.wp-block-heading:before, 
     1151.sidebar-area h5.wp-block-heading:before, 
     1152.sidebar-area h6.wp-block-heading:before,
     1153.sidebar-area .wp-block-search__label:before {
     1154    content: '';
     1155    position: absolute;
     1156    height: 4px;
     1157    width: 16%;
     1158    bottom: 12px;
     1159    left: 0;
     1160    background-color: var(--second-color);
     1161}
     1162.footer-area h4.title:before, .footer-area h1.wp-block-heading:before, 
     1163.footer-area h2.wp-block-heading:before, 
     1164.footer-area h3.wp-block-heading:before, 
     1165.footer-area h4.wp-block-heading:before, 
     1166.footer-area h5.wp-block-heading:before, 
     1167.footer-area h6.wp-block-heading:before,
     1168.footer-area .wp-block-search__label:before{
     1169  display: none;
    9911170}
    9921171.sidebar-area h4.title, .sidebar-area h1.wp-block-heading, 
     
    9971176.sidebar-area h6.wp-block-heading,
    9981177.sidebar-area .wp-block-search__label {
    999   padding: 20px 15px;
    1000   color: #fff;
    1001   font-size: 18px;
    1002   background: var(--second-color);
    1003   border-left: solid 5px #33302d;
    1004 }
    1005 .footer-area h4.title, .footer-area h1.wp-block-heading, 
    1006 .footer-area h2.wp-block-heading, 
    1007 .footer-area h3.wp-block-heading, 
    1008 .footer-area h4.wp-block-heading, 
    1009 .footer-area h5.wp-block-heading, 
    1010 .footer-area h6.wp-block-heading,
    1011 .footer-area .wp-block-search__label{
    1012   background: none !important;
    1013   border-left: none;
    1014 }
    1015 footer .wp-block-search__label, footer .sidebar-area h1.wp-block-heading, footer .sidebar-area h2.wp-block-heading, footer .sidebar-area h3.wp-block-heading, footer .sidebar-area h4.wp-block-heading, footer .sidebar-area h5.wp-block-heading, footer .sidebar-area h6.wp-block-heading{
    1016   background: none !important;
    1017   border-left: none !important;
    1018   padding: 20px 0px !important;
    1019   color: #fff !important;
    1020   font-size: 25px !important;
     1178    padding: 20px 0px;
     1179    color: #000;
     1180    font-size: 22px;
     1181    border-bottom: 1px dashed #dfe0e4;
     1182    font-weight: 500;
     1183    position: relative;
    10211184}
    10221185.wp-block-search__inside-wrapper {
    10231186  margin-top: 10px;
    10241187}
    1025 .sidebar-area .tagcloud a {
     1188
     1189footer .sidebar-area form {
     1190  padding: 0px;
     1191}
     1192.sidebar-area .wp-block-search__button {
     1193  background: var(--first-color);
     1194  color: #ffffff;
     1195}
     1196.sidebar-area .tagcloud a, p.wp-block-tag-cloud a {
    10261197  font-size: 15px !important;
    1027   background: var(--second-color);
     1198  background: var(--first-color);
    10281199  color: #fff;
    1029   padding: 5px;
    1030   padding-top: 5px;
    1031   padding-right: 5px;
    1032   padding-bottom: 5px;
    1033   padding-left: 5px;
     1200  padding: 5px 10px;
    10341201  display: inline-block;
    10351202  margin: 5px 0;
    10361203  text-decoration: none;
     1204  border-radius: 6px;
     1205}
     1206footer .sidebar-area .tagcloud a, footer p.wp-block-tag-cloud a{
     1207  background: #000;
     1208}
     1209footer .sidebar-area .tagcloud a:hover, footer p.wp-block-tag-cloud a:hover{
     1210  background: #fff;
     1211  color: #000;
    10371212}
    10381213.sidebar-area .tagcloud a:hover{
    1039     background: var(--first-color);
     1214  background: #000000;
    10401215}
    10411216.sidebar-area form {
     
    10611236#comments input[type="email"],
    10621237#comments input[type="url"]{
    1063     -webkit-border-radius: 0;
    1064     -moz-border-radius: 0;
    1065     border-radius: 0;
    1066     width:100%;
    1067     padding: 5px 2%;
    1068     border: solid 1px var(--first-color);
     1238  -webkit-border-radius: 0;
     1239  -moz-border-radius: 0;
     1240  border-radius: 0;
     1241  width:100%;
     1242  padding: 5px 2%;
     1243  border: solid 1px #000000;
    10691244}
    10701245#wp-calendar th,
     
    12591434.bypostauthor {
    12601435}
     1436
     1437/* ===============================================
     1438 STICKY POST
     1439 =============================================== */
     1440
     1441.post-box.sticky {
     1442    border-radius: 10px;
     1443    border: 1px solid rgba(0, 0, 0, 0.125);
     1444}
     1445.post-box{
     1446  position: relative;
     1447}
     1448.sticky .post-thumbnail::before {
     1449    content: '\f08d';
     1450    font-family: "Font Awesome\ 5 Free";
     1451    font-size: 30px;
     1452    font-weight: 900;
     1453    color: #fff;
     1454    margin-top: 10px;
     1455    z-index: 9;
     1456    position: absolute;
     1457    top: 27px;
     1458    left: 27px;
     1459    transform: rotate(312deg);
     1460}
  • data-analytics-center/2.8/template-parts/content-audio.php

    r254638 r287972  
    99  ?>
    1010  <div class="blog-grid-layout">
    11       <div id="post-<?php the_ID(); ?>" <?php post_class('post-box mb-4 p-3 wow zoomIn'); ?>>
     11      <div id="post-<?php the_ID(); ?>" <?php post_class('post-box mb-4 wow zoomIn'); ?>>
    1212        <?php
    1313            if ( ! is_single() ) {
     
    3636              if($value === 'option3') { ?>
    3737                <div class="post-content mb-2">
    38                   <?php echo wp_trim_words(get_the_content(), get_theme_mod('data_analytics_center_post_excerpt_number', 15)); ?>
     38                  <?php echo wp_trim_words(get_the_content(), get_theme_mod('data_analytics_center_post_excerpt_number', 10)); ?>
    3939              </div>
    4040              <?php }
  • data-analytics-center/2.8/template-parts/content-gallery.php

    r254638 r287972  
    11<div class="blog-grid-layout">
    2     <div id="post-<?php the_ID(); ?>" <?php post_class('post-box mb-4 p-3 wow zoomIn'); ?>>
     2    <div id="post-<?php the_ID(); ?>" <?php post_class('post-box mb-4 wow zoomIn'); ?>>
    33         <?php
    44            if ( ! is_single() ) {
     
    2525            if($value === 'option3') { ?>
    2626              <div class="post-content mb-2">
    27                 <?php echo wp_trim_words(get_the_content(), get_theme_mod('data_analytics_center_post_excerpt_number', 15)); ?>
     27                <?php echo wp_trim_words(get_the_content(), get_theme_mod('data_analytics_center_post_excerpt_number', 10)); ?>
    2828            </div>
    2929            <?php }
  • data-analytics-center/2.8/template-parts/content-grid.php

    r265768 r287972  
    22$data_analytics_center_archive_element_sortable = get_theme_mod('data_analytics_center_archive_element_sortable', array('option1', 'option2', 'option3', 'option4', 'option5'));
    33?>
    4 <div class="col-lg-4 col-md-4">
     4
     5<div class="col-lg-3 col-md-4">
    56<div class="blog-grid-layout">
    6     <div id="post-<?php the_ID(); ?>" <?php post_class('post-box mb-4 p-3 wow zoomIn'); ?>>
     7    <div id="post-<?php the_ID(); ?>" <?php post_class('post-box mb-4 wow zoomIn'); ?>>
    78        <?php foreach ($data_analytics_center_archive_element_sortable as $value) : ?>
    89           
     
    2324            <?php if ($value === 'option2') : ?>
    2425                <div class="post-meta my-3">
    25                     <i class="far fa-user me-2"></i>
    2626                    <a href="<?php echo esc_url(get_author_posts_url(get_the_author_meta('ID'))); ?>">
    27                         <?php the_author(); ?>
     27                    <i class="far fa-user me-2"></i><?php the_author(); ?>
    2828                    </a>
    29                     <span class="ms-3">
     29                    <span>
    3030                        <i class="far fa-comments me-2"></i>
    3131                        <?php comments_number(esc_html__('0', 'data-analytics-center'), esc_html__('1', 'data-analytics-center'), esc_html__('%', 'data-analytics-center')); ?>
    3232                        <?php esc_html_e('comments', 'data-analytics-center'); ?>
    3333                    </span>
     34                    <span><?php echo esc_html(data_analytics_center_edit_link()); ?></span>
    3435                </div>
    3536            <?php endif; ?>
     
    4344            <?php if ($value === 'option4') : ?>
    4445                <div class="post-content mb-2">
    45                     <?php echo wp_trim_words(get_the_content(), get_theme_mod('data_analytics_center_post_excerpt_number', 15)); ?>
     46                    <?php echo wp_trim_words(get_the_content(), get_theme_mod('data_analytics_center_post_excerpt_number', 10)); ?>
    4647                </div>
    4748            <?php endif; ?>
    4849
    4950            <?php if ($value === 'option5') : ?>
    50                 <div class="edit-cat">
    51                    
    52                     <?php $data_analytics_center_categories_list = get_the_category_list(', ');
    53                     if ($data_analytics_center_categories_list) : ?>
    54                         <div class="post-categories">
    55                             <i class="fas fa-folder me-2"></i> <?php echo $data_analytics_center_categories_list; ?>
    56                         </div>
    57                     <?php endif; ?>
    58                 </div>
     51              <div class="more-btn mt-4 mb-4">
     52                <a class="p-1" href="<?php the_permalink(); ?>"><?php esc_html_e( 'Read More', 'data-analytics-center' ); ?><span><i class="fas fa-long-arrow-alt-right"></i></span></a>
     53              </div>
    5954            <?php endif; ?>
    6055        <?php endforeach; ?>
    61         <?php echo esc_html(data_analytics_center_edit_link()); ?>
    6256    </div>
    6357</div>
  • data-analytics-center/2.8/template-parts/content-image.php

    r254638 r287972  
    11<div class="blog-grid-layout">
    2     <div id="post-<?php the_ID(); ?>" <?php post_class('post-box mb-4 p-3 wow zoomIn'); ?>>
     2    <div id="post-<?php the_ID(); ?>" <?php post_class('post-box mb-4 wow zoomIn'); ?>>
    33        <?php if (has_post_thumbnail()) { ?>
    44            <div class="post-thumbnail mb-2">
     
    2222            if($value === 'option3') { ?>
    2323              <div class="post-content mb-2">
    24                 <?php echo wp_trim_words(get_the_content(), get_theme_mod('data_analytics_center_post_excerpt_number', 15)); ?>
     24                <?php echo wp_trim_words(get_the_content(), get_theme_mod('data_analytics_center_post_excerpt_number', 10)); ?>
    2525            </div>
    2626            <?php }
  • data-analytics-center/2.8/template-parts/content-video.php

    r254638 r287972  
    88?>
    99<div class="blog-grid-layout">
    10     <div id="post-<?php the_ID(); ?>" <?php post_class('post-box mb-4 p-3 wow zoomIn'); ?>>
     10    <div id="post-<?php the_ID(); ?>" <?php post_class('post-box mb-4 wow zoomIn'); ?>>
    1111         <?php
    1212          if ( ! is_single() ) {
     
    3535            if($value === 'option3') { ?>
    3636              <div class="post-content mb-2">
    37                 <?php echo wp_trim_words(get_the_content(), get_theme_mod('data_analytics_center_post_excerpt_number', 15)); ?>
     37                <?php echo wp_trim_words(get_the_content(), get_theme_mod('data_analytics_center_post_excerpt_number', 10)); ?>
    3838            </div>
    3939            <?php }
  • data-analytics-center/2.8/template-parts/content.php

    r265768 r287972  
    44
    55<div class="blog-grid-layout">
    6     <div id="post-<?php the_ID(); ?>" <?php post_class('post-box mb-4 p-3 wow zoomIn'); ?>>
     6    <div id="post-<?php the_ID(); ?>" <?php post_class('post-box mb-4 wow zoomIn'); ?>>
    77        <?php foreach ($data_analytics_center_archive_element_sortable as $value) : ?>
    88           
     
    2323            <?php if ($value === 'option2') : ?>
    2424                <div class="post-meta my-3">
    25                     <i class="far fa-user me-2"></i>
    2625                    <a href="<?php echo esc_url(get_author_posts_url(get_the_author_meta('ID'))); ?>">
    27                         <?php the_author(); ?>
     26                    <i class="far fa-user me-2"></i><?php the_author(); ?>
    2827                    </a>
    29                     <span class="ms-3">
     28                    <span>
    3029                        <i class="far fa-comments me-2"></i>
    3130                        <?php comments_number(esc_html__('0', 'data-analytics-center'), esc_html__('1', 'data-analytics-center'), esc_html__('%', 'data-analytics-center')); ?>
    3231                        <?php esc_html_e('comments', 'data-analytics-center'); ?>
    3332                    </span>
     33                    <span><?php echo esc_html(data_analytics_center_edit_link()); ?></span>
    3434                </div>
    3535            <?php endif; ?>
     
    4343            <?php if ($value === 'option4') : ?>
    4444                <div class="post-content mb-2">
    45                     <?php echo wp_trim_words(get_the_content(), get_theme_mod('data_analytics_center_post_excerpt_number', 15)); ?>
     45                    <?php echo wp_trim_words(get_the_content(), get_theme_mod('data_analytics_center_post_excerpt_number', 10)); ?>
    4646                </div>
    4747            <?php endif; ?>
    4848
    4949            <?php if ($value === 'option5') : ?>
    50                 <div class="edit-cat">
    51                    
    52                     <?php $data_analytics_center_categories_list = get_the_category_list(', ');
    53                     if ($data_analytics_center_categories_list) : ?>
    54                         <div class="post-categories">
    55                             <i class="fas fa-folder me-2"></i> <?php echo $data_analytics_center_categories_list; ?>
    56                         </div>
    57                     <?php endif; ?>
    58                 </div>
     50              <div class="more-btn mt-4 mb-4">
     51                <a class="p-1" href="<?php the_permalink(); ?>"><?php esc_html_e( 'Read More', 'data-analytics-center' ); ?><span><i class="fas fa-long-arrow-alt-right"></i></span></a>
     52              </div>
    5953            <?php endif; ?>
    6054        <?php endforeach; ?>
    61         <?php echo esc_html(data_analytics_center_edit_link()); ?>
    6255    </div>
    6356</div>
  • data-analytics-center/2.8/woocommerce/archive-product.php

    r262216 r287972  
    2323  <div class="feature-post-thumbnail">
    2424    <div class="slider-alternate">
    25       <img src="<?php echo get_stylesheet_directory_uri() . '/assets/images/banner.png'; ?>">
     25      <img src="<?php echo get_stylesheet_directory_uri() . '/assets/images/header-banner.png'; ?>">
    2626    </div>
    2727    <h1 class="post-title feature-header-title"><?php esc_html_e('Archive Product Page','data-analytics-center'); ?></h1>
     
    3737        <div class="row m-0">
    3838            <?php if(get_theme_mod('data_analytics_center_shop_page_layout', 'Right Sidebar') == 'Right Sidebar'){ ?>
    39                 <div class="<?php if( get_theme_mod( 'data_analytics_center_shop_sidebar',true) != '') { ?>col-lg-8 col-md-8"<?php } else { ?>col-lg-12 col-md-12 <?php } ?>>
     39                <div class="<?php if( get_theme_mod( 'data_analytics_center_shop_sidebar',true) != '') { ?>col-lg-9 col-md-8"<?php } else { ?>col-lg-12 col-md-12 <?php } ?>>
    4040                    <?php
    4141                        /**
     
    108108                </div>
    109109                <?php if(get_theme_mod('data_analytics_center_shop_sidebar',true)){ ?>         
    110                     <div class="col-lg-4 col-md-4 col-sm-4">
     110                    <div class="col-lg-3 col-md-4 col-sm-4">
    111111                        <?php
    112112                        /**
     
    121121                <?php } elseif(get_theme_mod('data_analytics_center_shop_page_layout', 'Right Sidebar') == 'Left Sidebar'){ ?>
    122122                <?php if(get_theme_mod('data_analytics_center_shop_sidebar',true)){ ?>         
    123                     <div class="col-lg-4 col-md-4 col-sm-4">
     123                    <div class="col-lg-3 col-md-4 col-sm-4">
    124124                        <?php
    125125                        /**
     
    132132                    </div>
    133133                <?php } ?>
    134                 <div class="<?php if( get_theme_mod( 'data_analytics_center_shop_sidebar',true) != '') { ?>col-lg-8 col-md-8"<?php } else { ?>col-lg-12 col-md-12 <?php } ?>>
     134                <div class="<?php if( get_theme_mod( 'data_analytics_center_shop_sidebar',true) != '') { ?>col-lg-9 col-md-8"<?php } else { ?>col-lg-12 col-md-12 <?php } ?>>
    135135                        <?php
    136136                        /**
  • data-analytics-center/2.8/woocommerce/single-product.php

    r262216 r287972  
    2626  <div class="feature-post-thumbnail">
    2727    <div class="slider-alternate">
    28       <img src="<?php echo get_stylesheet_directory_uri() . '/assets/images/banner.png'; ?>">
     28      <img src="<?php echo get_stylesheet_directory_uri() . '/assets/images/header-banner.png'; ?>">
    2929    </div>
    3030    <h1 class="post-title feature-header-title"><?php esc_html_e('Single Product Page','data-analytics-center'); ?></h1>
     
    4040        <div class="row m-0">
    4141            <?php if(get_theme_mod('data_analytics_center_product_page_layout', 'Right Sidebar') == 'Right Sidebar'){ ?>
    42             <div class="<?php if( get_theme_mod( 'data_analytics_center_product_sidebar',true) != '') { ?>col-lg-8 col-md-8"<?php } else { ?>col-lg-12 col-md-12 <?php } ?>>
     42            <div class="<?php if( get_theme_mod( 'data_analytics_center_product_sidebar',true) != '') { ?>col-lg-9 col-md-8"<?php } else { ?>col-lg-12 col-md-12 <?php } ?>>
    4343                <?php
    4444                    /**
     
    6767            </div>
    6868            <?php if(get_theme_mod('data_analytics_center_product_sidebar',true)){ ?>           
    69                 <div class="col-lg-4 col-md-4 col-sm-4">
     69                <div class="col-lg-3 col-md-4 col-sm-4">
    7070                    <?php
    7171                        /**
     
    8080            <?php } elseif(get_theme_mod('data_analytics_center_product_page_layout', 'Right Sidebar') == 'Left Sidebar'){ ?>
    8181                <?php if(get_theme_mod('data_analytics_center_product_sidebar',true)){ ?>
    82                     <div class="col-lg-4 col-md-4 col-sm-4">
     82                    <div class="col-lg-3 col-md-4 col-sm-4">
    8383                        <?php
    8484                            /**
     
    9191                    </div>
    9292                <?php } ?>
    93                 <div class="<?php if( get_theme_mod( 'data_analytics_center_product_sidebar',true) != '') { ?>col-lg-8 col-md-8"<?php } else { ?>col-lg-12 col-md-12 <?php } ?>>
     93                <div class="<?php if( get_theme_mod( 'data_analytics_center_product_sidebar',true) != '') { ?>col-lg-9 col-md-8"<?php } else { ?>col-lg-12 col-md-12 <?php } ?>>
    9494                <?php
    9595                    /**
Note: See TracChangeset for help on using the changeset viewer.