diff --git a/assets/css/custom.css b/assets/css/custom.css index d929402..8bb1d4c 100755 --- a/assets/css/custom.css +++ b/assets/css/custom.css @@ -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; diff --git a/functions.php b/functions.php index 69f46a1..2ee693f 100755 --- a/functions.php +++ b/functions.php @@ -131,14 +131,14 @@ if (function_exists("cn_cookies_accepted") && cn_cookies_accepted()) { function appthemes_add_quicktags() { if (wp_script_is("quicktags")) { ?> - + - ', + esc_url(get_permalink()) . + '" rel="bookmark">', "" ); @@ -574,21 +574,21 @@ function rp_style() wp_enqueue_style( "simple-icon", get_template_directory_uri() . - "/assets/font-icon/simple-line-icons/css/simple-line-icons.css", + "/assets/font-icon/simple-line-icons/css/simple-line-icons.css", [], "" ); wp_enqueue_style( "ionicons", get_template_directory_uri() . - "/assets/font-icon/ionicons/css/ionicons.min.css", + "/assets/font-icon/ionicons/css/ionicons.min.css", [], "" ); wp_enqueue_style( "magnific-popup", get_template_directory_uri() . - "/assets/vendor/magnific-popup/magnific-popup.css", + "/assets/vendor/magnific-popup/magnific-popup.css", [], "" ); @@ -612,21 +612,21 @@ function rp_script() wp_enqueue_script( "jquery-migrate", get_template_directory_uri() . - "/assets/vendor/jquery/jquery-migrate.min.js", + "/assets/vendor/jquery/jquery-migrate.min.js", [], "" ); wp_enqueue_script( "bootstrap-js", get_template_directory_uri() . - "/assets/vendor/bootstrap/js/bootstrap.bundle.min.js", + "/assets/vendor/bootstrap/js/bootstrap.bundle.min.js", [], "" ); wp_enqueue_script( "font-awesome", get_template_directory_uri() . - "/assets/font-icon/font-awesome/js/all.min.js", + "/assets/font-icon/font-awesome/js/all.min.js", [], "" ); @@ -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); @@ -720,95 +720,96 @@ if (!function_exists("escapium_comment")) { case "pingback": case "trackback": ?> -
+
-