Changeset 287972
- Timestamp:
- 09/09/2025 11:16:52 AM (3 months ago)
- Location:
- data-analytics-center/2.8
- Files:
-
- 1 added
- 23 edited
- 1 copied
- . (copied) (copied from data-analytics-center/2.7)
- archive.php (modified) (7 diffs)
- assets/images/header-banner.png (added)
- core/includes/customizer.php (modified) (2 diffs)
- core/includes/inline.php (modified) (6 diffs)
- core/includes/main.php (modified) (1 diff)
- css/media.css (modified) (3 diffs)
- header.php (modified) (2 diffs)
- index.php (modified) (7 diffs)
- js/navigation.js (modified) (1 diff)
- languages/data-analytics-center.pot (modified) (1 diff)
- page.php (modified) (6 diffs)
- readme.txt (modified) (2 diffs)
- search.php (modified) (8 diffs)
- sidebar.php (modified) (1 diff)
- single.php (modified) (8 diffs)
- style.css (modified) (15 diffs)
- template-parts/content-audio.php (modified) (2 diffs)
- template-parts/content-gallery.php (modified) (2 diffs)
- template-parts/content-grid.php (modified) (3 diffs)
- template-parts/content-image.php (modified) (2 diffs)
- template-parts/content-video.php (modified) (2 diffs)
- template-parts/content.php (modified) (3 diffs)
- woocommerce/archive-product.php (modified) (5 diffs)
- woocommerce/single-product.php (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
data-analytics-center/2.8/archive.php
r262216 r287972 5 5 <div class="feature-post-thumbnail"> 6 6 <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'; ?>"> 8 8 </div> 9 9 <h1 class="post-title feature-header-title"><?php echo(esc_html_e('Archive Post','data-analytics-center')); ?></h1> … … 18 18 <div class="row"> 19 19 <?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"> 21 78 <div class="row"> 22 79 <?php … … 40 97 </div> 41 98 </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"> 50 110 <div class="row"> 51 111 <?php … … 69 129 </div> 70 130 </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"> 130 132 <?php dynamic_sidebar('data-analytics-center-sidebar-3'); ?> 131 133 </div> … … 153 155 <?php } elseif(get_theme_mod('data_analytics_center_archive_sidebar_layout', 'Right Sidebar') == 'Grid Layout With Right Sidebar'){ ?> 154 156 <div class="row"> 155 <div class="col-lg- 8col-md-8 mt-5">157 <div class="col-lg-9 col-md-8 mt-5"> 156 158 <div class="row"> 157 159 <?php … … 175 177 </div> 176 178 </div> 177 <div class="col-lg- 4col-md-4">179 <div class="col-lg-3 col-md-4"> 178 180 <?php get_sidebar(); ?> 179 181 </div> … … 181 183 <?php } elseif(get_theme_mod('data_analytics_center_archive_sidebar_layout', 'Right Sidebar') == 'Grid Layout With Left Sidebar'){ ?> 182 184 <div class="row"> 183 <div class="col-lg- 4col-md-4">185 <div class="col-lg-3 col-md-4"> 184 186 <?php get_sidebar(); ?> 185 187 </div> 186 <div class="col-lg- 8col-md-8 mt-5">188 <div class="col-lg-9 col-md-8 mt-5"> 187 189 <div class="row"> 188 190 <?php -
data-analytics-center/2.8/core/includes/customizer.php
r283834 r287972 660 660 'option3' => esc_html__( 'Post Title', 'data-analytics-center' ), 661 661 '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' ), 663 663 ], 664 664 ] … … 670 670 'label' => esc_html__( 'Post Content Range', 'data-analytics-center' ), 671 671 'section' => 'data_analytics_center_section_post', 672 'default' => 1 5,672 'default' => 10, 673 673 'choices' => [ 674 674 'min' => 0, -
data-analytics-center/2.8/core/includes/inline.php
r279776 r287972 12 12 $data_analytics_center_custom_css .= '}'; 13 13 14 $data_analytics_center_custom_css .= 'body,h1,h2,h3,h4,h5,p, #main-menuul 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{'; 15 15 $data_analytics_center_custom_css .= 'color: #fff;'; 16 16 $data_analytics_center_custom_css .= '}'; … … 42 42 if($data_analytics_center_text_transform == 'CAPITALISE'){ 43 43 44 $data_analytics_center_custom_css .=' #main-menuul li a{';44 $data_analytics_center_custom_css .='.main-navigation ul li a{'; 45 45 46 46 $data_analytics_center_custom_css .='text-transform: capitalize;'; … … 50 50 }else if($data_analytics_center_text_transform == 'UPPERCASE'){ 51 51 52 $data_analytics_center_custom_css .=' #main-menuul li a{';52 $data_analytics_center_custom_css .='.main-navigation ul li a{'; 53 53 54 54 $data_analytics_center_custom_css .='text-transform: uppercase;'; … … 58 58 }else if($data_analytics_center_text_transform == 'LOWERCASE'){ 59 59 60 $data_analytics_center_custom_css .=' #main-menuul li a{';60 $data_analytics_center_custom_css .='.main-navigation ul li a{'; 61 61 62 62 $data_analytics_center_custom_css .='text-transform: lowercase;'; … … 71 71 if($data_analytics_center_menu_zoom == 'Zoomout'){ 72 72 73 $data_analytics_center_custom_css .=' #main-menuul li a{';73 $data_analytics_center_custom_css .='.main-navigation ul li a{'; 74 74 75 75 $data_analytics_center_custom_css .=''; … … 79 79 }else if($data_analytics_center_menu_zoom == 'Zoominn'){ 80 80 81 $data_analytics_center_custom_css .=' #main-menuul li a:hover{';81 $data_analytics_center_custom_css .='.main-navigation ul li a:hover{'; 82 82 83 83 $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 148 148 <div class="insidee theme-bundle"> 149 149 <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> 151 151 <div id="admin_pro_linkss"> 152 152 <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 1 1 @media screen and (min-width : 320px) and (max-width : 767px) { 2 .page-template-frontpage #site-navigation {2 .page-template-frontpage #site-navigationn{ 3 3 position: static; 4 4 background: var(--second-color); … … 35 35 text-decoration: none !important; 36 36 } 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 }128 37 } 129 38 130 39 @media (max-width: 782px){ 131 .page-template-frontpage #site-navigation {40 .page-template-frontpage #site-navigationn{ 132 41 position: static; 133 42 background: var(--second-color); … … 218 127 } 219 128 } 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 42 42 43 43 <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"> 45 45 <div class="container"> 46 46 <div class="header-inner wow fadeInDown"> 47 47 <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"> 49 49 <div class="logo text-center text-lg-start"> 50 50 <div class="logo-image"> … … 66 66 </div> 67 67 </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> 83 96 </div> 84 <div class="col- lg-2 col-md-4text-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"> 85 98 <?php if ( get_theme_mod('data_analytics_center_phone_number') ) : ?> 86 99 <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 5 5 <div class="feature-post-thumbnail"> 6 6 <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'; ?>"> 8 8 </div> 9 9 <h1 class="post-title feature-header-title"><?php echo(esc_html_e('Archive Post','data-analytics-center')); ?></h1> … … 18 18 <div class="row"> 19 19 <?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"> 21 78 <div class="row"> 22 79 <?php … … 40 97 </div> 41 98 </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"> 50 110 <div class="row"> 51 111 <?php … … 69 129 </div> 70 130 </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"> 130 132 <?php dynamic_sidebar('data-analytics-center-sidebar-3'); ?> 131 133 </div> … … 153 155 <?php } elseif(get_theme_mod('data_analytics_center_archive_sidebar_layout', 'Right Sidebar') == 'Grid Layout With Right Sidebar'){ ?> 154 156 <div class="row"> 155 <div class="col-lg- 8col-md-8 mt-5">157 <div class="col-lg-9 col-md-8 mt-5"> 156 158 <div class="row"> 157 159 <?php … … 175 177 </div> 176 178 </div> 177 <div class="col-lg- 4col-md-4">179 <div class="col-lg-3 col-md-4"> 178 180 <?php get_sidebar(); ?> 179 181 </div> … … 181 183 <?php } elseif(get_theme_mod('data_analytics_center_archive_sidebar_layout', 'Right Sidebar') == 'Grid Layout With Left Sidebar'){ ?> 182 184 <div class="row"> 183 <div class="col-lg- 4col-md-4">185 <div class="col-lg-3 col-md-4"> 184 186 <?php get_sidebar(); ?> 185 187 </div> 186 <div class="col-lg- 8col-md-8 mt-5">188 <div class="col-lg-9 col-md-8 mt-5"> 187 189 <div class="row"> 188 190 <?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 2 function data_analytics_center_openNav() { 3 jQuery(".sidenav").addClass('show'); 4 } 7 5 8 // For the left menu 9 ( function() { 10 const siteNavigation = document.getElementById( 'site-navigation' ); 6 function data_analytics_center_closeNav() { 7 jQuery(".sidenav").removeClass('show'); 8 } 11 9 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); 16 20 17 const button = siteNavigation.getElementsByTagName( 'button' )[ 0 ];21 if (focusableElements.length === 0) return; 18 22 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; 23 26 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 } 25 42 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; 31 45 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 } 35 75 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(); 39 78 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); 46 91 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 ); 92 jQuery(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'); 50 100 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 }); 56 107 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 } 59 112 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 }); 62 119 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 }); 68 129 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 }73 130 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 1502 1502 1503 1503 #: core/includes/main.php:150 1504 msgid "Get Our Theme Pack of 80+ WordPress Themes At 15% Off"1504 msgid "Get Our Theme Pack of 90+ WordPress Themes At 15% Off" 1505 1505 msgstr "" 1506 1506 -
data-analytics-center/2.8/page.php
r257878 r287972 2 2 3 3 <div id="content"> 4 <div class="feature-header">5 <div class="feature-post-thumbnail">6 <?php7 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 <?php15 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) ) : ?> 19 19 <div class="bread_crumb text-center"> 20 20 <?php data_analytics_center_breadcrumb(); ?> 21 21 </div> 22 22 <?php endif; ?> 23 </div>23 </div> 24 24 </div> 25 25 <div class="container"> … … 28 28 <?php while ( have_posts() ) : the_post(); 29 29 get_template_part( 'template-parts/content-page'); 30 31 30 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(); 40 39 endwhile; ?> 41 40 <?php echo esc_html (data_analytics_center_edit_link()); ?> 42 41 <?php }else if($data_analytics_center_theme_layout == 'Right Sidebar'){ ?> 43 42 <div class="row"> 44 <div class="col-lg- 8col-md-8 mt-5">43 <div class="col-lg-9 col-md-8 mt-5"> 45 44 <?php 46 45 while ( have_posts() ) : … … 61 60 ?> 62 61 </div> 63 <div id="sidebar" class="col-lg- 4col-md-4">62 <div id="sidebar" class="col-lg-3 col-md-4"> 64 63 <?php get_sidebar(); ?> 65 64 </div> … … 67 66 <?php }else if($data_analytics_center_theme_layout == 'Left Sidebar'){ ?> 68 67 <div class="row"> 69 <div id="sidebar" class="col-lg- 4col-md-4">68 <div id="sidebar" class="col-lg-3 col-md-4"> 70 69 <?php get_sidebar(); ?> 71 70 </div> 72 <div class="col-lg- 8col-md-8 mt-5">71 <div class="col-lg-9 col-md-8 mt-5"> 73 72 <?php 74 73 while ( have_posts() ) : … … 92 91 <?php }else {?> 93 92 <div class="row"> 94 <div class="col-lg- 8col-md-8 mt-5">93 <div class="col-lg-9 col-md-8 mt-5"> 95 94 <?php 96 95 while ( have_posts() ) : … … 111 110 ?> 112 111 </div> 113 <div id="sidebar" class="col-lg- 4col-md-4">112 <div id="sidebar" class="col-lg-3 col-md-4"> 114 113 <?php get_sidebar(); ?> 115 114 </div> -
data-analytics-center/2.8/readme.txt
r283834 r287972 3 3 Tags: 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 4 4 Requires at least: 5.0 5 Stable tag: 2. 75 Stable tag: 2.8 6 6 Requires PHP: 7.2 7 7 Tested up to: 6.8 … … 131 131 * Updated POT file. 132 132 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 133 145 == Resources == 134 146 -
data-analytics-center/2.8/search.php
r262216 r287972 5 5 <div class="feature-post-thumbnail"> 6 6 <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'; ?>"> 8 8 </div> 9 9 <h1 class="post-title feature-header-title"><?php echo(esc_html_e('Search Result','data-analytics-center')); ?></h1> … … 18 18 <div class="row"> 19 19 <?php if(get_theme_mod('data_analytics_center_search_sidebar_layout', 'Right Sidebar') == 'Right Sidebar'){ ?> 20 <div class="col-lg- 8col-md-8 mt-5">21 < ?php echo '<h1>' . esc_html__('You searched: ', 'data-analytics-center') . get_search_query() . '</h1>'; ?>22 <div class="row">23 <?php24 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- 4col-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"> 44 44 <?php get_sidebar(); ?> 45 45 </div> 46 46 <?php } elseif(get_theme_mod('data_analytics_center_search_sidebar_layout', 'Right Sidebar') == 'Left Sidebar'){ ?> 47 <div class="col-lg- 4col-md-4">48 <?php get_sidebar(); ?> 49 </div> 50 <div class="col-lg- 8col-md-8 mt-5">51 < ?php echo '<h1>' . esc_html__('You searched: ', 'data-analytics-center') . get_search_query() . '</h1>'; ?>52 <div class="row">53 <?php54 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: 65 65 get_template_part( 'nothing-found' ); 66 66 … … 72 72 </div> 73 73 <?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"> 75 75 <?php get_sidebar(); ?> 76 76 </div> … … 98 98 </div> 99 99 </div> 100 <div class="col-lg-3 col-md- 3sidebar-area mt-5">100 <div class="col-lg-3 col-md-4 sidebar-area mt-5"> 101 101 <?php dynamic_sidebar('data-analytics-center-sidebar-2'); ?> 102 102 </div> 103 103 <?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- 3sidebar-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"> 108 108 <?php dynamic_sidebar('data-analytics-center-sidebar-2'); ?> 109 109 </div> 110 <div class="col-lg-3 col-md- 3mt-5">110 <div class="col-lg-3 col-md-4 mt-5"> 111 111 <?php echo '<h1>' . esc_html__('You searched: ', 'data-analytics-center') . get_search_query() . '</h1>'; ?> 112 112 <div class="row"> … … 131 131 </div> 132 132 </div> 133 <div class="col-lg-3 col-md- 3sidebar-area mt-5">133 <div class="col-lg-3 col-md-4 sidebar-area mt-5"> 134 134 <?php dynamic_sidebar('data-analytics-center-sidebar-3'); ?> 135 135 </div> … … 160 160 <?php } elseif(get_theme_mod('data_analytics_center_search_sidebar_layout', 'Right Sidebar') == 'Grid Layout With Right Sidebar'){ ?> 161 161 <div class="row"> 162 <div class="col-lg- 8col-md-8 mt-5">162 <div class="col-lg-9 col-md-8 mt-5"> 163 163 <?php echo '<h1>' . esc_html__('You searched: ', 'data-analytics-center') . get_search_query() . '</h1>'; ?> 164 164 <div class="row"> … … 183 183 </div> 184 184 </div> 185 <div class="col-lg- 4col-md-4">185 <div class="col-lg-3 col-md-4"> 186 186 <?php get_sidebar(); ?> 187 187 </div> … … 189 189 <?php } elseif(get_theme_mod('data_analytics_center_search_sidebar_layout', 'Right Sidebar') == 'Grid Layout With Left Sidebar'){ ?> 190 190 <div class="row"> 191 <div class="col-lg- 4col-md-4">191 <div class="col-lg-3 col-md-4"> 192 192 <?php get_sidebar(); ?> 193 193 </div> 194 <div class="col-lg- 8col-md-8 mt-5">194 <div class="col-lg-9 col-md-8 mt-5"> 195 195 <?php echo '<h1>' . esc_html__('You searched: ', 'data-analytics-center') . get_search_query() . '</h1>'; ?> 196 196 <div class="row"> -
data-analytics-center/2.8/sidebar.php
r247338 r287972 32 32 wp_get_archives(array( 33 33 'type' => 'postbypost', 34 'format' => 'html', 35 'before' => '<li>', 36 'after' => '</li>', 34 'format' => 'html' 37 35 )); 38 36 ?> -
data-analytics-center/2.8/single.php
r265768 r287972 26 26 <div class="row"> 27 27 <?php if(get_theme_mod('data_analytics_center_single_post_sidebar_layout', 'Right Sidebar') == 'Right Sidebar'){ ?> 28 <div class="col-lg- 8col-md-8 mt-5">28 <div class="col-lg-9 col-md-8 mt-5"> 29 29 <?php 30 30 while ( have_posts() ) : … … 47 47 <!-- Related Posts --> 48 48 <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> 50 50 <div class="row"> 51 51 <?php … … 61 61 'post__not_in' => array(get_the_ID()), 62 62 'posts_per_page' => 3, 63 'orderby' => 'rand '63 'orderby' => 'random' 64 64 ); 65 65 … … 71 71 <div class="col-lg-4 col-md-6 related-post-item py-2"> 72 72 <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() ); ?> 85 74 </div> 86 75 </div> … … 96 85 <!-- End Related Posts --> 97 86 </div> 98 <div class="col-lg- 4col-md-4">87 <div class="col-lg-3 col-md-4"> 99 88 <?php get_sidebar(); ?> 100 89 </div> 101 90 <?php } elseif(get_theme_mod('data_analytics_center_single_post_sidebar_layout', 'Right Sidebar') == 'Left Sidebar'){ ?> 102 <div class="col-lg- 4col-md-4">91 <div class="col-lg-3 col-md-4"> 103 92 <?php get_sidebar(); ?> 104 93 </div> 105 <div class="col-lg- 8col-md-8 mt-5">94 <div class="col-lg-9 col-md-8 mt-5"> 106 95 <?php 107 96 while ( have_posts() ) : … … 124 113 <!-- Related Posts --> 125 114 <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> 127 116 <div class="row"> 128 117 <?php … … 138 127 'post__not_in' => array(get_the_ID()), 139 128 'posts_per_page' => 3, 140 'orderby' => 'rand '129 'orderby' => 'random' 141 130 ); 142 131 … … 148 137 <div class="col-lg-4 col-md-6 related-post-item py-2"> 149 138 <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() ); ?> 162 140 </div> 163 141 </div> -
data-analytics-center/2.8/style.css
r283834 r287972 5 5 Theme URI: https://www.misbahwp.com/products/free-analytics-wordpress-theme 6 6 Author URI: https://www.misbahwp.com/ 7 Version: 2. 77 Version: 2.8 8 8 Requires PHP: 7.2 9 9 Tested up to: 6.8 … … 138 138 transform: rotate(90deg); 139 139 } 140 .page-template-frontpage #site-navigation {140 .page-template-frontpage #site-navigationn { 141 141 position: absolute; 142 142 width: 100%; … … 144 144 background: transparent; 145 145 } 146 #site-navigation {146 #site-navigationn{ 147 147 background: var(--second-color); 148 148 } 149 149 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 } 213 nav#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 } 257 div#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 262 370 263 371 /* =============================================== … … 267 375 .post-box{ 268 376 border: 1px solid rgba(0, 0, 0, 0.125); 377 border-radius: 10px; 378 padding: 10px; 269 379 } 270 380 .post-thumbnail { 271 381 line-height: 0; 272 382 } 273 h3.post-title {383 h3.post-title a { 274 384 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; 279 388 } 280 389 .post-content p{ 281 color: #707072;390 color: #898d94; 282 391 } 283 392 .post-content{ … … 285 394 } 286 395 .post-meta i{ 287 color: var(--second-color);396 color: var(--first-color); 288 397 } 289 398 .post-meta span { … … 291 400 text-transform: capitalize; 292 401 font-size: 15px; 293 font-weight: 600;294 color: # 626B7D;402 font-weight: 500; 403 color: #000; 295 404 } 296 405 pre { 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; 307 416 } 308 417 .post-content img, … … 311 420 .post-content object, 312 421 .post-content embed { 313 max-width: 100%;422 max-width: 100%; 314 423 } 315 424 .post-content img, 316 425 .post-thumbnail img { 317 max-height:100%;318 height:auto;426 max-height:100%; 427 height:300px; 319 428 width: 100%; 320 429 object-fit: cover; 430 border-radius: 10px; 431 background: #dfdcdc; 432 } 433 .post-content{ 434 color: #3c3c3c; 321 435 } 322 436 .post-content:after { … … 328 442 float: left; 329 443 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; 330 460 } 331 461 … … 335 465 =================================================================================== 336 466 */ 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 }348 467 349 468 .related-post-item h4.post-title { … … 956 1075 SIDEBARS 957 1076 =============================================== */ 958 1077 .sidebar-area{ 1078 color: #000; 1079 } 959 1080 .sidebar-area .textwidget img{ 960 1081 width: 100%; … … 962 1083 } 963 1084 .sidebar-area .sidebar-widget { 964 margin-bottom: 25px; 1085 margin-bottom: 25px; 1086 background: #f5f6f7; 1087 border-radius: 10px; 1088 padding: 0px 10px; 965 1089 } 966 1090 .sidebar-area a, … … 973 1097 .sidebar-area th, 974 1098 .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 } 1103 footer .sidebar-area a, 1104 footer .sidebar-area p, 1105 footer .sidebar-area li, 1106 footer .sidebar-area address, 1107 footer .sidebar-area dd, 1108 footer .sidebar-area blockquote, 1109 footer .sidebar-area td, 1110 footer .sidebar-area th, 1111 footer .sidebar-area .textwidget { 1112 color: #ffffff; 977 1113 } 978 1114 .sidebar-area ul,#calendar_wrap,.sidebar-area .textwidget,.tagcloud { 979 list-style: none;1115 list-style: circle; 980 1116 margin: 0; 981 1117 padding: 0 0px; 1118 } 1119 footer .sidebar-area ul,footer #calendar_wrap,footer .sidebar-area .textwidget,footer .tagcloud { 1120 list-style: none; 982 1121 } 983 1122 .sidebar-area li a, 984 1123 .sidebar-area li { 985 1124 font-size: 15px; 986 font-weight: 500;987 1125 word-wrap: break-word; 988 1126 } 989 1127 .sidebar-area li { 990 1128 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 } 1137 footer .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; 991 1170 } 992 1171 .sidebar-area h4.title, .sidebar-area h1.wp-block-heading, … … 997 1176 .sidebar-area h6.wp-block-heading, 998 1177 .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; 1021 1184 } 1022 1185 .wp-block-search__inside-wrapper { 1023 1186 margin-top: 10px; 1024 1187 } 1025 .sidebar-area .tagcloud a { 1188 1189 footer .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 { 1026 1197 font-size: 15px !important; 1027 background: var(-- second-color);1198 background: var(--first-color); 1028 1199 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; 1034 1201 display: inline-block; 1035 1202 margin: 5px 0; 1036 1203 text-decoration: none; 1204 border-radius: 6px; 1205 } 1206 footer .sidebar-area .tagcloud a, footer p.wp-block-tag-cloud a{ 1207 background: #000; 1208 } 1209 footer .sidebar-area .tagcloud a:hover, footer p.wp-block-tag-cloud a:hover{ 1210 background: #fff; 1211 color: #000; 1037 1212 } 1038 1213 .sidebar-area .tagcloud a:hover{ 1039 background: var(--first-color);1214 background: #000000; 1040 1215 } 1041 1216 .sidebar-area form { … … 1061 1236 #comments input[type="email"], 1062 1237 #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; 1069 1244 } 1070 1245 #wp-calendar th, … … 1259 1434 .bypostauthor { 1260 1435 } 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 9 9 ?> 10 10 <div class="blog-grid-layout"> 11 <div id="post-<?php the_ID(); ?>" <?php post_class('post-box mb-4 p-3wow zoomIn'); ?>>11 <div id="post-<?php the_ID(); ?>" <?php post_class('post-box mb-4 wow zoomIn'); ?>> 12 12 <?php 13 13 if ( ! is_single() ) { … … 36 36 if($value === 'option3') { ?> 37 37 <div class="post-content mb-2"> 38 <?php echo wp_trim_words(get_the_content(), get_theme_mod('data_analytics_center_post_excerpt_number', 1 5)); ?>38 <?php echo wp_trim_words(get_the_content(), get_theme_mod('data_analytics_center_post_excerpt_number', 10)); ?> 39 39 </div> 40 40 <?php } -
data-analytics-center/2.8/template-parts/content-gallery.php
r254638 r287972 1 1 <div class="blog-grid-layout"> 2 <div id="post-<?php the_ID(); ?>" <?php post_class('post-box mb-4 p-3wow zoomIn'); ?>>2 <div id="post-<?php the_ID(); ?>" <?php post_class('post-box mb-4 wow zoomIn'); ?>> 3 3 <?php 4 4 if ( ! is_single() ) { … … 25 25 if($value === 'option3') { ?> 26 26 <div class="post-content mb-2"> 27 <?php echo wp_trim_words(get_the_content(), get_theme_mod('data_analytics_center_post_excerpt_number', 1 5)); ?>27 <?php echo wp_trim_words(get_the_content(), get_theme_mod('data_analytics_center_post_excerpt_number', 10)); ?> 28 28 </div> 29 29 <?php } -
data-analytics-center/2.8/template-parts/content-grid.php
r265768 r287972 2 2 $data_analytics_center_archive_element_sortable = get_theme_mod('data_analytics_center_archive_element_sortable', array('option1', 'option2', 'option3', 'option4', 'option5')); 3 3 ?> 4 <div class="col-lg-4 col-md-4"> 4 5 <div class="col-lg-3 col-md-4"> 5 6 <div class="blog-grid-layout"> 6 <div id="post-<?php the_ID(); ?>" <?php post_class('post-box mb-4 p-3wow zoomIn'); ?>>7 <div id="post-<?php the_ID(); ?>" <?php post_class('post-box mb-4 wow zoomIn'); ?>> 7 8 <?php foreach ($data_analytics_center_archive_element_sortable as $value) : ?> 8 9 … … 23 24 <?php if ($value === 'option2') : ?> 24 25 <div class="post-meta my-3"> 25 <i class="far fa-user me-2"></i>26 26 <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(); ?> 28 28 </a> 29 <span class="ms-3">29 <span> 30 30 <i class="far fa-comments me-2"></i> 31 31 <?php comments_number(esc_html__('0', 'data-analytics-center'), esc_html__('1', 'data-analytics-center'), esc_html__('%', 'data-analytics-center')); ?> 32 32 <?php esc_html_e('comments', 'data-analytics-center'); ?> 33 33 </span> 34 <span><?php echo esc_html(data_analytics_center_edit_link()); ?></span> 34 35 </div> 35 36 <?php endif; ?> … … 43 44 <?php if ($value === 'option4') : ?> 44 45 <div class="post-content mb-2"> 45 <?php echo wp_trim_words(get_the_content(), get_theme_mod('data_analytics_center_post_excerpt_number', 1 5)); ?>46 <?php echo wp_trim_words(get_the_content(), get_theme_mod('data_analytics_center_post_excerpt_number', 10)); ?> 46 47 </div> 47 48 <?php endif; ?> 48 49 49 50 <?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> 59 54 <?php endif; ?> 60 55 <?php endforeach; ?> 61 <?php echo esc_html(data_analytics_center_edit_link()); ?>62 56 </div> 63 57 </div> -
data-analytics-center/2.8/template-parts/content-image.php
r254638 r287972 1 1 <div class="blog-grid-layout"> 2 <div id="post-<?php the_ID(); ?>" <?php post_class('post-box mb-4 p-3wow zoomIn'); ?>>2 <div id="post-<?php the_ID(); ?>" <?php post_class('post-box mb-4 wow zoomIn'); ?>> 3 3 <?php if (has_post_thumbnail()) { ?> 4 4 <div class="post-thumbnail mb-2"> … … 22 22 if($value === 'option3') { ?> 23 23 <div class="post-content mb-2"> 24 <?php echo wp_trim_words(get_the_content(), get_theme_mod('data_analytics_center_post_excerpt_number', 1 5)); ?>24 <?php echo wp_trim_words(get_the_content(), get_theme_mod('data_analytics_center_post_excerpt_number', 10)); ?> 25 25 </div> 26 26 <?php } -
data-analytics-center/2.8/template-parts/content-video.php
r254638 r287972 8 8 ?> 9 9 <div class="blog-grid-layout"> 10 <div id="post-<?php the_ID(); ?>" <?php post_class('post-box mb-4 p-3wow zoomIn'); ?>>10 <div id="post-<?php the_ID(); ?>" <?php post_class('post-box mb-4 wow zoomIn'); ?>> 11 11 <?php 12 12 if ( ! is_single() ) { … … 35 35 if($value === 'option3') { ?> 36 36 <div class="post-content mb-2"> 37 <?php echo wp_trim_words(get_the_content(), get_theme_mod('data_analytics_center_post_excerpt_number', 1 5)); ?>37 <?php echo wp_trim_words(get_the_content(), get_theme_mod('data_analytics_center_post_excerpt_number', 10)); ?> 38 38 </div> 39 39 <?php } -
data-analytics-center/2.8/template-parts/content.php
r265768 r287972 4 4 5 5 <div class="blog-grid-layout"> 6 <div id="post-<?php the_ID(); ?>" <?php post_class('post-box mb-4 p-3wow zoomIn'); ?>>6 <div id="post-<?php the_ID(); ?>" <?php post_class('post-box mb-4 wow zoomIn'); ?>> 7 7 <?php foreach ($data_analytics_center_archive_element_sortable as $value) : ?> 8 8 … … 23 23 <?php if ($value === 'option2') : ?> 24 24 <div class="post-meta my-3"> 25 <i class="far fa-user me-2"></i>26 25 <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(); ?> 28 27 </a> 29 <span class="ms-3">28 <span> 30 29 <i class="far fa-comments me-2"></i> 31 30 <?php comments_number(esc_html__('0', 'data-analytics-center'), esc_html__('1', 'data-analytics-center'), esc_html__('%', 'data-analytics-center')); ?> 32 31 <?php esc_html_e('comments', 'data-analytics-center'); ?> 33 32 </span> 33 <span><?php echo esc_html(data_analytics_center_edit_link()); ?></span> 34 34 </div> 35 35 <?php endif; ?> … … 43 43 <?php if ($value === 'option4') : ?> 44 44 <div class="post-content mb-2"> 45 <?php echo wp_trim_words(get_the_content(), get_theme_mod('data_analytics_center_post_excerpt_number', 1 5)); ?>45 <?php echo wp_trim_words(get_the_content(), get_theme_mod('data_analytics_center_post_excerpt_number', 10)); ?> 46 46 </div> 47 47 <?php endif; ?> 48 48 49 49 <?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> 59 53 <?php endif; ?> 60 54 <?php endforeach; ?> 61 <?php echo esc_html(data_analytics_center_edit_link()); ?>62 55 </div> 63 56 </div> -
data-analytics-center/2.8/woocommerce/archive-product.php
r262216 r287972 23 23 <div class="feature-post-thumbnail"> 24 24 <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'; ?>"> 26 26 </div> 27 27 <h1 class="post-title feature-header-title"><?php esc_html_e('Archive Product Page','data-analytics-center'); ?></h1> … … 37 37 <div class="row m-0"> 38 38 <?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- 8col-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 } ?>> 40 40 <?php 41 41 /** … … 108 108 </div> 109 109 <?php if(get_theme_mod('data_analytics_center_shop_sidebar',true)){ ?> 110 <div class="col-lg- 4col-md-4 col-sm-4">110 <div class="col-lg-3 col-md-4 col-sm-4"> 111 111 <?php 112 112 /** … … 121 121 <?php } elseif(get_theme_mod('data_analytics_center_shop_page_layout', 'Right Sidebar') == 'Left Sidebar'){ ?> 122 122 <?php if(get_theme_mod('data_analytics_center_shop_sidebar',true)){ ?> 123 <div class="col-lg- 4col-md-4 col-sm-4">123 <div class="col-lg-3 col-md-4 col-sm-4"> 124 124 <?php 125 125 /** … … 132 132 </div> 133 133 <?php } ?> 134 <div class="<?php if( get_theme_mod( 'data_analytics_center_shop_sidebar',true) != '') { ?>col-lg- 8col-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 } ?>> 135 135 <?php 136 136 /** -
data-analytics-center/2.8/woocommerce/single-product.php
r262216 r287972 26 26 <div class="feature-post-thumbnail"> 27 27 <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'; ?>"> 29 29 </div> 30 30 <h1 class="post-title feature-header-title"><?php esc_html_e('Single Product Page','data-analytics-center'); ?></h1> … … 40 40 <div class="row m-0"> 41 41 <?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- 8col-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 } ?>> 43 43 <?php 44 44 /** … … 67 67 </div> 68 68 <?php if(get_theme_mod('data_analytics_center_product_sidebar',true)){ ?> 69 <div class="col-lg- 4col-md-4 col-sm-4">69 <div class="col-lg-3 col-md-4 col-sm-4"> 70 70 <?php 71 71 /** … … 80 80 <?php } elseif(get_theme_mod('data_analytics_center_product_page_layout', 'Right Sidebar') == 'Left Sidebar'){ ?> 81 81 <?php if(get_theme_mod('data_analytics_center_product_sidebar',true)){ ?> 82 <div class="col-lg- 4col-md-4 col-sm-4">82 <div class="col-lg-3 col-md-4 col-sm-4"> 83 83 <?php 84 84 /** … … 91 91 </div> 92 92 <?php } ?> 93 <div class="<?php if( get_theme_mod( 'data_analytics_center_product_sidebar',true) != '') { ?>col-lg- 8col-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 } ?>> 94 94 <?php 95 95 /**
Note: See TracChangeset for help on using the changeset viewer.