Changeset 262626
- Timestamp:
- 03/11/2025 09:08:54 AM (9 months ago)
- Location:
- emart-shop/1.2.6
- Files:
-
- 2 edited
- 1 copied
-
. (copied) (copied from emart-shop/1.2.5)
-
inc/class/class-header.php (modified) (2 diffs)
-
style.css (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
emart-shop/1.2.6/inc/class/class-header.php
r232694 r262626 176 176 if ( function_exists( 'the_custom_logo' ) && has_custom_logo() ) { 177 177 $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).'">'; 183 181 $html .= get_bloginfo( 'name' ); 184 182 $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;190 183 } 191 192 193 184 $html .= '</div>'; 194 185 … … 325 316 326 317 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 } 333 326 }else if ( function_exists('is_shop') && is_shop() ){ 334 327 if ( in_array( 'woocommerce/woocommerce.php', apply_filters( 'active_plugins', get_option( 'active_plugins' ) ) ) ) { -
emart-shop/1.2.6/style.css
r261295 r262626 8 8 Tested up to: 6.8.1 9 9 Requires PHP: 7.0 10 Version: 1.2. 510 Version: 1.2.6 11 11 License: GPLv3 or later 12 12 License URI: http://www.gnu.org/licenses/gpl-3.0.html
Note: See TracChangeset
for help on using the changeset viewer.