Make WordPress Themes

Changeset 262626


Ignore:
Timestamp:
03/11/2025 09:08:54 AM (9 months ago)
Author:
themedropbox
Message:

New version of eMart Shop - 1.2.6

Location:
emart-shop/1.2.6
Files:
2 edited
1 copied

Legend:

Unmodified
Added
Removed
  • emart-shop/1.2.6/inc/class/class-header.php

    r232694 r262626  
    176176        if ( function_exists( 'the_custom_logo' ) && has_custom_logo() ) {
    177177            $html .= get_custom_logo();
    178            
    179         }
    180         if ( display_header_text() == true && get_option('fresh_site') != true ){
    181            
    182             $html .= '<h3><a href="'.esc_url( home_url( '/' ) ).'" rel="home" class="site-title">';
     178        }else{
     179            $description = get_bloginfo( 'description', 'display' );
     180            $html .= '<h3><a href="'.esc_url( home_url( '/' ) ).'" rel="home" class="site-title" title="'.esc_html($description).'">';
    183181            $html .= get_bloginfo( 'name' );
    184182            $html .= '</a></h3>';
    185             $description = get_bloginfo( 'description', 'display' );
    186        
    187             if ( $description ) :
    188                 $html .=  '<div class="site-description">'.esc_html($description).'</div>';
    189             endif;
    190183        }
    191        
    192        
    193184        $html .= '</div>';
    194185       
     
    325316       
    326317            if ( is_home() ) {
    327                     echo '<h1 class="page-title-text">';
    328                     echo bloginfo( 'name' );
    329                     echo '</h1>';
    330                     echo '<p class="subtitle">';
    331                     echo esc_html(get_bloginfo( 'description', 'display' ));
    332                     echo '</p>';
     318                    if( display_header_text() == true ){
     319                        echo '<h1 class="page-title-text">';
     320                        echo bloginfo( 'name' );
     321                        echo '</h1>';
     322                        echo '<p class="subtitle">';
     323                        echo esc_html(get_bloginfo( 'description', 'display' ));
     324                        echo '</p>';
     325                    }
    333326            }else if ( function_exists('is_shop') && is_shop() ){
    334327                if ( in_array( 'woocommerce/woocommerce.php', apply_filters( 'active_plugins', get_option( 'active_plugins' ) ) ) ) {
  • emart-shop/1.2.6/style.css

    r261295 r262626  
    88Tested up to: 6.8.1
    99Requires PHP: 7.0
    10 Version: 1.2.5
     10Version: 1.2.6
    1111License: GPLv3 or later
    1212License URI: http://www.gnu.org/licenses/gpl-3.0.html
Note: See TracChangeset for help on using the changeset viewer.