Skip to content

Commit

Permalink
fix: compatibility issue TranslatePress plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
girishpanchal30 committed Sep 19, 2024
1 parent 9501fd3 commit fc4abc3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions header-footer-grid/templates/components/component-logo.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,10 @@

$aria_label = trim( get_bloginfo( 'name' ) . ' ' . get_bloginfo( 'description' ) );
if ( $is_not_link ) {
$start_tag = '<span class="brand" title=" ' . get_bloginfo( 'name' ) . '" aria-label="' . esc_attr( $aria_label ) . '">';
$start_tag = '<span class="brand" title="&larr; ' . get_bloginfo( 'name' ) . '" aria-label="' . esc_attr( $aria_label ) . '">';
$end_tag = '</span>';
} else {
$start_tag = '<a class="brand" href="' . esc_url( home_url( '/' ) ) . '" title=" ' . get_bloginfo( 'name' ) . '"
$start_tag = '<a class="brand" href="' . esc_url( home_url( '/' ) ) . '" title="&larr; ' . get_bloginfo( 'name' ) . '"
aria-label="' . esc_attr( $aria_label ) . '" rel="home">';
$end_tag = '</a>';
}
Expand Down

0 comments on commit fc4abc3

Please sign in to comment.