aleksandraz
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Ad logo to Mh Theme dont workFound the code that i think is fetching the logo, anybody knows if there is something wrong here maybe?
if (!function_exists(‘mh_magazine_lite_custom_header’)) {
function mh_magazine_lite_custom_header() {
echo ‘<div class=”mh-custom-header clearfix”>’ . “\n”;
if (get_header_image()) {
echo ‘‘ . “\n”;
echo ‘height) . ‘” width=”‘ . esc_attr(get_custom_header()->width) . ‘” alt=”‘ . esc_attr(get_bloginfo(‘name’)) . ‘” />’ . “\n”;
echo ‘‘ . “\n”;
}
if (function_exists(‘has_custom_logo’) && has_custom_logo() || display_header_text()) {
echo ‘<div class=”mh-site-identity”>’ . “\n”;
echo ‘<div class=”mh-site-logo” role=”banner” itemscope=”itemscope” itemtype=”https://schema.org/Brand”>’ . “\n”;
if (function_exists(‘the_custom_logo’)) {
the_custom_logo();
}
if (display_header_text()) {
if (get_header_textcolor() != get_theme_support(‘custom-header’, ‘default-text-color’)) {
echo ‘<style type=”text/css” id=”mh-header-css”>’;
echo ‘.mh-header-title, .mh-header-tagline { color: #’ . esc_attr(get_header_textcolor()) . ‘; }’;
echo ‘</style>’ . “\n”;
}
echo ‘<div class=”mh-header-text”>’ . “\n”;
if (is_front_page()) {
$header_title_before = ‘<h1 class=”mh-header-title”>’;
$header_title_after = ‘</h1>’ . “\n”;
$header_tagline_before = ‘<h2 class=”mh-header-tagline”>’;
$header_tagline_after = ‘</h2>’ . “\n”;
} else {
$header_title_before = ‘<h2 class=”mh-header-title”>’;
$header_title_after = ‘</h2>’ . “\n”;
$header_tagline_before = ‘<h3 class=”mh-header-tagline”>’;
$header_tagline_after = ‘</h3>’ . “\n”;
}
echo ‘‘ . “\n”;
if (get_bloginfo(‘name’)) {
echo $header_title_before . esc_attr(get_bloginfo(‘name’)) . $header_title_after;
}
if (get_bloginfo(‘description’)) {
echo $header_tagline_before . esc_attr(get_bloginfo(‘description’)) . $header_tagline_after;
}
echo ‘‘ . “\n”;
echo ‘</div>’ . “\n”;
}
echo ‘</div>’ . “\n”;
echo ‘</div>’ . “\n”;
}
echo ‘</div>’ . “\n”;
}
}Forum: Fixing WordPress
In reply to: Ad logo to Mh Theme dont workAlso in other themes you can go into header.php and remove the title and ad a logo but here you cant even do that so im really stuck here=(
Forum: Fixing WordPress
In reply to: Ad logo to Mh Theme dont workYes i have spoked to them they are really fast and nice but they say its not a theme issue=(?