diff --git a/.DS_Store b/.DS_Store index 9180b56..6ea6e07 100644 Binary files a/.DS_Store and b/.DS_Store differ diff --git a/assets/.DS_Store b/assets/.DS_Store index 80c547e..1ee316d 100644 Binary files a/assets/.DS_Store and b/assets/.DS_Store differ diff --git a/assets/css/.DS_Store b/assets/css/.DS_Store new file mode 100644 index 0000000..91302b4 Binary files /dev/null and b/assets/css/.DS_Store differ diff --git a/assets/css/custom.css b/assets/css/custom.css index 6975fc1..39ca784 100755 --- a/assets/css/custom.css +++ b/assets/css/custom.css @@ -151,10 +151,16 @@ input[type="search"]::-webkit-search-results-decoration { box-sizing: border-box; } +.header__logo--img img, img { + max-width: 80px !important; + max-height: 80px !important; +} + +/*img { max-width: 100%; height: auto; -} +}*/ .hidden { display: none; diff --git a/assets/font-icon/.DS_Store b/assets/font-icon/.DS_Store new file mode 100644 index 0000000..87213fd Binary files /dev/null and b/assets/font-icon/.DS_Store differ diff --git a/assets/font-icon/font-awesome/.DS_Store b/assets/font-icon/font-awesome/.DS_Store new file mode 100644 index 0000000..b2045ea Binary files /dev/null and b/assets/font-icon/font-awesome/.DS_Store differ diff --git a/assets/font-icon/ionicons/.DS_Store b/assets/font-icon/ionicons/.DS_Store new file mode 100644 index 0000000..ec4856a Binary files /dev/null and b/assets/font-icon/ionicons/.DS_Store differ diff --git a/assets/font-icon/simple-line-icons/.DS_Store b/assets/font-icon/simple-line-icons/.DS_Store new file mode 100644 index 0000000..aef1791 Binary files /dev/null and b/assets/font-icon/simple-line-icons/.DS_Store differ diff --git a/assets/img/.DS_Store b/assets/img/.DS_Store new file mode 100644 index 0000000..98d4865 Binary files /dev/null and b/assets/img/.DS_Store differ diff --git a/assets/js/.DS_Store b/assets/js/.DS_Store new file mode 100644 index 0000000..403dddf Binary files /dev/null and b/assets/js/.DS_Store differ diff --git a/assets/vendor/.DS_Store b/assets/vendor/.DS_Store new file mode 100644 index 0000000..44f7fd9 Binary files /dev/null and b/assets/vendor/.DS_Store differ diff --git a/assets/vendor/bootstrap/.DS_Store b/assets/vendor/bootstrap/.DS_Store new file mode 100644 index 0000000..fb6eb6c Binary files /dev/null and b/assets/vendor/bootstrap/.DS_Store differ diff --git a/assets/vendor/bootstrap/css/.DS_Store b/assets/vendor/bootstrap/css/.DS_Store new file mode 100644 index 0000000..89883d4 Binary files /dev/null and b/assets/vendor/bootstrap/css/.DS_Store differ diff --git a/functions.php b/functions.php index 4252bdf..69f46a1 100755 --- a/functions.php +++ b/functions.php @@ -522,7 +522,8 @@ if (!function_exists("escapium_post_header")) { // } // add_action('wp_head', 'my_theme_enqueue_custom_global_css_in_blocks'); -function custom_comment_check() { +function custom_comment_check() +{ // Ellenőrzi, hogy egy adott bejegyzésnél engedélyezve vannak-e a hozzászólások if (is_single() && comments_open()) { // Ha a hozzászólások engedélyezve vannak, két div osztály hozzáadása @@ -530,14 +531,12 @@ function custom_comment_check() {
Kommentelnél? DE NEM IDE! Vicceltem, katt rám!
'; - echo ''; + echo ""; } } - // Akciók lefuttatása a bejegyzés tartalmának megjelenítése előtt -add_action('wp_footer', 'custom_comment_check'); - +add_action("wp_footer", "custom_comment_check"); function register_style() { @@ -671,6 +670,20 @@ function custom_homepage_title($title, $id = null) } return $title; } + +//Logó +function mytheme_custom_logo_setup() +{ + add_theme_support("custom-logo", [ + "height" => 80, // A logó alapértelmezett magassága + "width" => 80, // A logó alapértelmezett szélessége + "flex-height" => false, // Ne engedje a rugalmas magasságot + "flex-width" => false, // Ne engedje a rugalmas szélességet + "header-text" => ["site-title", "site-description"], // Szöveg, ami megjelenhet a logó mellett + ]); +} +add_action("after_setup_theme", "mytheme_custom_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); diff --git a/header.php b/header.php index 277619e..c402f7b 100755 --- a/header.php +++ b/header.php @@ -39,14 +39,15 @@