This commit is contained in:
gabeszm 2025-01-06 11:24:41 +01:00
parent 9f6db74f67
commit b469fae0c8
2 changed files with 82 additions and 77 deletions

View file

@ -241,6 +241,10 @@ element.style {
image-rendering: auto;
}
.custom-logo {
width: auto;
}
/* Borítókép javítás */
.post__thumb {
margin-bottom: 0;

View file

@ -672,7 +672,7 @@ function custom_homepage_title($title, $id = null)
}
//Logó
function mytheme_custom_logo_setup()
function rp_logo_setup()
{
add_theme_support("custom-logo", [
"height" => 80, // A logó alapértelmezett magassága
@ -682,7 +682,7 @@ function mytheme_custom_logo_setup()
"header-text" => ["site-title", "site-description"], // Szöveg, ami megjelenhet a logó mellett
]);
}
add_action("after_setup_theme", "mytheme_custom_logo_setup");
add_action("after_setup_theme", "rp_logo_setup");
// A the_title filtert használjuk, hogy módosítsuk az oldal címét
add_filter("the_title", "custom_homepage_title", 10, 2);
@ -732,7 +732,8 @@ if (!function_exists("escapium_comment")) {
); ?>
</li>
<?php break;default:
<?php break;
default:
global $post; ?>
<li <?php comment_class(); ?> id="li-comment-<?php comment_ID(); ?>">