Make WordPress Themes

Changeset 295517


Ignore:
Timestamp:
10/30/2025 10:03:57 AM (4 weeks ago)
Author:
themedropbox
Message:

New version of Business Guidance Coach - 4.4

Location:
business-guidance-coach/4.4
Files:
12 edited
1 copied

Legend:

Unmodified
Added
Removed
  • business-guidance-coach/4.4/archive.php

    r288869 r295517  
    11<?php get_header(); ?>
    22
    3 <div id="content">
     3<div id="content" class="layout-img">
    44   <div class="feature-header">
    55      <div class="feature-post-thumbnail">
  • business-guidance-coach/4.4/core/includes/customizer.php

    r288869 r295517  
    11441144        'label'       => __( 'Choose Your Copyright Background Color', 'business-guidance-coach' ),
    11451145        'section'     => 'business_guidance_coach_footer_section',
    1146         'default'     => '',
     1146        'default'     => '#000000',
    11471147    ] );
    11481148
  • business-guidance-coach/4.4/core/includes/importer/assets/css/importer-style.css

    r285310 r295517  
    1010  padding: 100px;
    1111  background: #1d2327;
     12  height: max-content;
    1213}
    1314.importer-wrap.spinning .destiny-going {
  • business-guidance-coach/4.4/core/includes/inline.php

    r288869 r295517  
    22
    33$business_guidance_coach_custom_css = '';
    4 
    5 
    6 $business_guidance_coach_is_dark_mode_enabled = get_theme_mod( 'business_guidance_coach_is_dark_mode_enabled', false );
    7 
    8 if ( $business_guidance_coach_is_dark_mode_enabled ) {
    9 
    10     $business_guidance_coach_custom_css .= 'body,.fixed-header,tr:nth-child(2n+2) {';
    11     $business_guidance_coach_custom_css .= 'background: #000;';
    12     $business_guidance_coach_custom_css .= '}';
    13 
    14     $business_guidance_coach_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,.sidebar-area li a,header.woocommerce-products-header h1,h2.woocommerce-loop-product__title,a.page-numbers{';
    15     $business_guidance_coach_custom_css .= 'color: #fff;';
    16     $business_guidance_coach_custom_css .= '}';
    17 
    18      $business_guidance_coach_custom_css .= '.event-main-box, .event-main-box-post{';
    19     $business_guidance_coach_custom_css .= 'background: #3e3e3e;';
    20     $business_guidance_coach_custom_css .= '}';
    21 
    22     $business_guidance_coach_custom_css .= 'a.wc-block-components-product-name, .wc-block-components-product-name,.wc-block-components-totals-footer-item .wc-block-components-totals-item__value,
    23 .wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
    24 .wc-block-components-totals-item__label,.wc-block-components-totals-item__value,
    25 .wc-block-components-product-metadata .wc-block-components-product-metadata__description>p,
    26 .is-medium table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__total .wc-block-components-formatted-money-amount,
    27 .wc-block-components-quantity-selector input.wc-block-components-quantity-selector__input,
    28 .wc-block-components-quantity-selector .wc-block-components-quantity-selector__button,
    29 .wc-block-components-quantity-selector,table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__quantity .wc-block-cart-item__remove-link,
    30 .wc-block-components-product-price__value.is-discounted,del.wc-block-components-product-price__regular,.logo a,.logo span, .main-navigation ul li.current-menu-item > a, .main-navigation ul li.current_page_item > a, .main-navigation a:hover, .main-navigation ul li a:hover,li.menu-item-has-children:after,h1, h2, h3, h4, h5, h6, .logo a, .logo span, .main-navigation a:hover, .main-navigation ul li a:hover, .main-navigation li:hover > a, .main-navigation a:focus, .main-navigation ul li a:focus, .main-navigation li.focus > a, .main-navigation li:focus > a, .main-navigation ul li.current-menu-item > a, .main-navigation ul li.current_page_item > a, .main-navigation ul li.current-menu-parent > a, .main-navigation ul li.current_page_ancestor > a, .main-navigation ul li.current-menu-ancestor > a, li.menu-item-has-children:after, pre,.post-box.sticky a,.post-meta a,h3.post-title a,p.logged-in-as a{';
    31     $business_guidance_coach_custom_css .= 'color: #fff !important;';
    32     $business_guidance_coach_custom_css .= '}';
    33 
    34     $business_guidance_coach_custom_css .= 'h5.product-text a,#featured-product p.price,.card-header a,.comment-content.card-block p{';
    35     $business_guidance_coach_custom_css .= 'color: #000 !important';
    36     $business_guidance_coach_custom_css .= '}';
    37 
    38     $business_guidance_coach_custom_css .= '.post-box{';
    39     $business_guidance_coach_custom_css .= '    border: 1px solid rgb(229 229 229 / 48%)';
    40     $business_guidance_coach_custom_css .= '}';
    41 }
    424
    435    /*---------------------------text-transform-------------------*/
  • business-guidance-coach/4.4/functions.php

    r288869 r295517  
    482482    }
    483483endif;
     484
     485/*-----------------------------------------------------------------------------------*/
     486/* Dark Mode */
     487/*-----------------------------------------------------------------------------------*/
     488
     489function business_guidance_coach_body_class( $business_guidance_coach_classes ) {
     490    $business_guidance_coach_dark_mode_enabled = get_theme_mod( 'business_guidance_coach_is_dark_mode_enabled', false );
     491
     492    if ( $business_guidance_coach_dark_mode_enabled ) {
     493        $business_guidance_coach_classes[] = 'dark-mode';
     494    }
     495
     496    return $business_guidance_coach_classes;
     497}
     498add_filter( 'body_class', 'business_guidance_coach_body_class' );
  • business-guidance-coach/4.4/index.php

    r288869 r295517  
    11<?php get_header(); ?>
    22
    3 <div id="content">
     3<div id="content" class="layout-img">
    44   <div class="feature-header">
    55      <div class="feature-post-thumbnail">
  • business-guidance-coach/4.4/readme.txt

    r291957 r295517  
    33Tags: photography, portfolio, e-commerce, 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, editor-style, post-formats, rtl-language-support, theme-options, threaded-comments, translation-ready
    44Requires at least: 5.0
    5 Stable tag: 4.3
     5Stable tag: 4.4
    66Requires PHP: 7.2
    77Tested up to: 6.8
     
    249249* Updated getstart & sidebar.
    250250
     251= 4.4 = October - 29 - 2025
     252
     253* Updated demo importer height when debug is on.
     254* Updated sticky post css.
     255* Updated copyright bg issue.
     256* Added category & tag in single post page.
     257* Updated sidebar.php file.
     258* Added class for post-thumbnail in archive, index, search & related post.
     259* Updated dark mode.
     260
     261
    251262== Resources ==
    252263
  • business-guidance-coach/4.4/search.php

    r288869 r295517  
    11<?php get_header(); ?>
    22
    3 <div id="content">
     3<div id="content" class="layout-img">
    44    <div class="feature-header">
    55      <div class="feature-post-thumbnail">
  • business-guidance-coach/4.4/sidebar.php

    r288869 r295517  
    11<div class="sidebar-area mt-5 wow fadeInRight">
    22    <?php if ( ! dynamic_sidebar( 'business-guidance-coach-sidebar' ) ) : ?>
    3       <!-- Categories Widget -->
    4       <h4 class="title"><?php esc_html_e('Search Here', 'business-guidance-coach'); ?></h4>
    5         <form method="get" id="searchform" class="searchform" action="<?php echo esc_url(home_url('/')); ?>">
    6             <input placeholder="<?php esc_attr_e('Type here...', 'business-guidance-coach'); ?>" type="text" name="s" id="search" value="<?php the_search_query(); ?>" />
    7             <input type="submit" class="search-submit" value="<?php esc_attr_e('Search', 'business-guidance-coach');?>" />
    8         </form>
     3        <aside id="search" class="sidebar-widget widget_search" role="complementary">
     4            <h4 class="title"><?php esc_html_e('Search Here', 'business-guidance-coach'); ?></h4>
     5            <form method="get" id="searchform" class="searchform" action="<?php echo esc_url(home_url('/')); ?>">
     6                <input placeholder="<?php esc_attr_e('Type here...', 'business-guidance-coach'); ?>" type="text" name="s" id="search" value="<?php the_search_query(); ?>" />
     7                <input type="submit" class="search-submit" value="<?php esc_attr_e('Search', 'business-guidance-coach');?>" />
     8            </form>
     9        </aside>
    910        <aside id="categories-2" class="sidebar-widget widget_categories" role="complementary">
    1011            <h4 class="title"><?php esc_html_e('Categories', 'business-guidance-coach'); ?></h4>
     
    4041    <?php endif; ?>
    4142</div>
    42 
    43 
  • business-guidance-coach/4.4/single.php

    r288869 r295517  
    4646        ?>
    4747      <!-- Related Posts -->
    48       <div class="related-posts">
     48      <div class="related-posts layout-img">
    4949          <h3 class="py-2"><?php esc_html_e('Related Posts:-', 'business-guidance-coach'); ?></h3>
    5050          <div class="row">
     
    112112        ?>
    113113      <!-- Related Posts -->
    114       <div class="related-posts">
     114      <div class="related-posts layout-img">
    115115          <h3 class="py-2"><?php esc_html_e('Related Posts:-', 'business-guidance-coach'); ?></h3>
    116116          <div class="row">
  • business-guidance-coach/4.4/style.css

    r291957 r295517  
    55Theme URI: https://www.misbahwp.com/products/free-coach-wordpress-theme
    66Author URI: https://www.misbahwp.com/
    7 Version: 4.3
     7Version: 4.4
    88Requires PHP: 7.2
    99Tested up to: 6.8
     
    110110  object-fit: cover;
    111111  opacity: 0.4;
     112  border-radius: unset !important;
    112113}
    113114h1.post-title.feature-header-title{
     
    410411  font-weight: 400;
    411412  color: #000000;
     413  word-wrap: break-word;
    412414}
    413415.post-content p{
     
    446448  max-width: 100%;
    447449}
    448 .post-content img,
    449 .post-thumbnail img {
     450.layout-img img {
    450451  max-height:100%;
    451452  height:300px;
     
    455456  background: #dfdcdc;
    456457}
     458.sidebar-area img{
     459  height:auto;
     460  width: auto;
     461}
    457462.post-content{
    458463  color: #3c3c3c;
     
    544549.event-main-box,.event-main-box-post {
    545550  background: #fbfcf9;
    546   margin-bottom: 35px;
     551  margin-bottom: 15px;
    547552}
    548553.event-main-box img{
     
    747752    border: 1px solid rgba(0, 0, 0, 0.125);
    748753}
    749 .post-box{
    750   position: relative;
    751 }
    752 .sticky .post-thumbnail::before {
     754h3.post-title{
     755    position: relative;
     756}
     757.sticky h3.post-title::before {
    753758    content: '\f08d';
    754759    font-family: "Font Awesome\ 5 Free";
    755     font-size: 30px;
     760    font-size: 25px;
    756761    font-weight: 900;
    757     color: #fff;
     762    color: #000;
    758763    margin-top: 10px;
    759764    z-index: 9;
     765    left: -30px;
    760766    position: absolute;
    761     top: 27px;
    762     left: 27px;
    763     transform: rotate(312deg);
     767    bottom: -6px;
     768}
     769.sticky h3.post-title {
     770    margin-left: 30px;
     771}
     772
     773.copyright{
     774  background: #000000;
    764775}
    765776
     
    12731284  margin:5px 5px 0;
    12741285  width:96%;
    1275   height:100%
     1286  height:auto;
    12761287}
    12771288
     
    12901301.bypostauthor {
    12911302}
     1303
     1304
     1305/* DARK MODE CSS */
     1306
     1307body.dark-mode {
     1308  background-color: #000000 !important;
     1309  color: #f1f1f1 !important;
     1310}
     1311
     1312body.dark-mode h1, body.dark-mode h2, body.dark-mode h3, body.dark-mode h4, body.dark-mode h5, body.dark-mode h6,body.dark-mode .sticky h3.post-title::before,
     1313body.dark-mode a ,body.dark-mode p, body.dark-mode li, body.dark-mode blockquote ,body.dark-mode label ,body.dark-mode span,body.dark-mode .post-content,body.dark-mode .main-navigation .dashicons-arrow-down-alt2:before,.header-search i,body.dark-mode .wc-block-components-totals-footer-item .wc-block-components-totals-item__value, body.dark-mode .wc-block-components-totals-footer-item .wc-block-components-totals-item__label, body.dark-mode .wc-block-components-totals-item__label, body.dark-mode .wc-block-components-totals-item__value, body.dark-mode .wc-block-components-product-metadata .wc-block-components-product-metadata__description>p, body.dark-mode .is-medium table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__total .wc-block-components-formatted-money-amount, body.dark-mode .wc-block-components-quantity-selector input.wc-block-components-quantity-selector__input, body.dark-mode .wc-block-components-quantity-selector .wc-block-components-quantity-selector__button, body.dark-mode .wc-block-components-quantity-selector, body.dark-mode table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__quantity .wc-block-cart-item__remove-link, body.dark-mode .wc-block-components-product-price__value.is-discounted, body.dark-mode del.wc-block-components-product-price__regular,body.dark-mode .woocommerce .woocommerce-ordering select, body.dark-mode .woocommerce form .form-row input.input-text, body.dark-mode .woocommerce form .form-row textarea {
     1314  color: #fff !important;
     1315}
     1316
     1317body.dark-mode span.woocommerce-Price-amount.amount{
     1318  color: grey !important;
     1319}
     1320
     1321body.dark-mode input, body.dark-mode select, body.dark-mode textarea, body.dark-mode button {
     1322  background-color: #333;
     1323  color: #fff;
     1324}
     1325
     1326body.dark-mode #site-navigation .page_item_has_children ul li a,body.dark-mode #site-navigation .main-navigation .menu .menu-item-has-children ul li a,body.dark-mode p.slider-button a:hover,body.dark-mode .screen-reader-text:focus,body.dark-mode #wp-admin-bar-woocommerce-site-visibility-badge a.ab-item,body.dark-mode h4.product-text a,body.dark-mode .searchform input[type=text],body.dark-mode ul.woocommerce-error li,body.dark-mode .wc-blocks-components-select .wc-blocks-components-select__label,body.dark-mode #site-navigation .menu ul.sub-menu li a{
     1327  color: #000 !important;
     1328}
     1329
     1330body.dark-mode input[type="submit"], body.dark-mode button[type="submit"] {
     1331  background-color: var(--first-color);
     1332  color: #fff;
     1333}
     1334
     1335body.dark-mode table {
     1336  background-color: #1e1e1e !important;
     1337  color: #f1f1f1 !important;
     1338}
     1339body.dark-mode th ,body.dark-mode td {
     1340  background-color: #333 !important;
     1341  color: #fff !important;
     1342}
     1343body.dark-mode tr,body.dark-mode .post-box h3.post-title a,body.dark-mode .sticky .post-meta a,body.dark-mode h5.product-text a,body.dark-mode #featured-product p.price,body.dark-mode .card-header a,body.dark-mode .comment-content.card-block p,body.dark-mode .sticky .post-content,body.dark-mode .sticky h3.post-title a,body.dark-mode .sticky .post-meta a,body.dark-mode .comment-content a {
     1344  color: #fff !important;
     1345}
     1346
     1347body.dark-mode pre, body.dark-mode code {
     1348  background-color: #1e1e1e !important;
     1349  color: #f1f1f1 !important;
     1350}
     1351
     1352body.dark-mode .post-box,body.dark-mode #coming-soon-footer-banner,body.dark-mode div.product .woocommerce-tabs ul.tabs li,
     1353body.dark-mode .pagination a,body.dark-mode .business-guidance-coach-pagination a span,body.dark-mode #featured-product,body.dark-mode tr:nth-child(2n+2){
     1354  background: #121212 !important;
     1355}
     1356
     1357body.dark-mode #wp-calendar th, body.dark-mode #wp-calendar td{
     1358  color: #fff !important;
     1359}
     1360
     1361body.dark-mode ul, body.dark-mode ol {
     1362  color: #f1f1f1 !important;
     1363}
     1364
     1365body.dark-mode footer {
     1366  background-color: #1f1f1f;
     1367  color: #f1f1f1;
     1368}
     1369
     1370body.dark-mode .pagination a {
     1371  color: var(--first-color);
     1372}
     1373
     1374body.dark-mode .widget {
     1375  background-color: #1e1e1e;
     1376}
     1377
     1378body.dark-mode .widget a {
     1379  color: #f1f1f1;
     1380}
     1381
     1382body.dark-mode #site-navigationn{
     1383  background: #1f1f1f;
     1384}
     1385
     1386body.dark-mode .sidebar-area .sidebar-widget,body.dark-mode .media-body-wrap.card,body.dark-mode .event-main-box{
     1387  background: #121212;
     1388}
     1389
     1390@media screen and (max-width : 1000px){
     1391  body.dark-mode #site-navigation .main-navigation .menu .menu-item-has-children ul li a,body.dark-mode ul.sub-menu.dropdown-menu a,body.dark-mode #site-navigation .menu ul.sub-menu li a{
     1392    color: #fff !important;
     1393  }
     1394}
  • business-guidance-coach/4.4/template-parts/content-post.php

    r226986 r295517  
    1919      the_content();
    2020      the_tags('<div class="post-tags"><strong>'.esc_html__('Tags:','business-guidance-coach').'</strong> ', ', ', '</div>');
     21      if ( get_the_category_list() ) : ?>
     22          <div class="post-categories">
     23              <strong><?php esc_html_e( 'Categories:', 'business-guidance-coach' ); ?></strong>
     24              <?php the_category( ', ' ); ?>
     25          </div>
     26      <?php endif;
    2127    ?>
    2228  </div>
Note: See TracChangeset for help on using the changeset viewer.