1
私はワードプレスのテーマから次のコマンドを持っています。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; ?>
今、私は1つが左にあり、他方は右側にある2つのロゴを追加する必要があります。
どうすればよいですか?
テーマのドキュメントを読む必要があります。 –
2つのロゴをHTMLコードに直接追加するだけです。 –