1
나는 다음과 같은 명령을 WordPress 테마에서 가지고있다.php와 html을 함께 사용하여 웹 페이지의 헤더를 편집하는 방법
</head>
<body <?php body_class(); ?>>
<header id="masthead" class="site-header <?php echo (get_theme_mod('panoramic-header-layout', 'panoramic-header-layout-standard') == 'panoramic-header-layout-centered') ? sanitize_html_class('panoramic-header-layout-centered') : sanitize_html_class('panoramic-header-layout-standard'); ?>" role="banner">
<?php if (get_theme_mod('panoramic-header-layout', 'panoramic-header-layout-standard') == 'panoramic-header-layout-centered') : ?>
<?php get_template_part('library/template-parts/header', 'centered'); ?>
<?php else : ?>
<?php get_template_part('library/template-parts/header', 'centered'); ?>
<?php endif; ?>
두 개의 로고를 추가해야합니다. 하나는 왼쪽에 있고 다른 하나는 오른쪽에 추가해야합니다.
어떻게 수행하나요?
테마 문서를 읽어야합니다. –
두 개의 로고를 HTML 코드에 직접 추가하기 만하면됩니다. –