少し前に、ブログのテーマをインストールしました。それは本当に良かったし、私が望んでいたほとんどすべての機能を備えていましたが、サイトのロゴをアップロードする場所がないという小さなバグがあることがわかりました. フレームワークと子テーマを調べてみましたが、ロゴ画像をアップロードするオプションが見つかりませんでした (テキスト ロゴまたは画像ロゴを表示するかどうかをユーザーに尋ねるオプションがあります)。
テーマの説明
テーマは、フレームワークと子テーマの 2 つの部分に分かれています。
header.php
<?php
/**
* WARNING: This file is part of the core Genesis framework. DO NOT edit
* this file under any circumstances. Please do all modifications
* in the form of a child theme.
*
* Handles the header structure.
*
* @package Genesis
*/
do_action( 'genesis_doctype' );
do_action( 'genesis_title' );
do_action( 'genesis_meta' );
wp_head(); /** we need this for plugins **/
?>
</head>
<body <?php body_class(); ?>>
<?php
do_action( 'genesis_before' );
?>
<div id="wrap">
<?php
do_action( 'genesis_before_header' );
do_action( 'genesis_header' );
do_action( 'genesis_after_header' );
echo '<div id="inner">';
genesis_structural_wrap( 'inner' );
関数.php
<?php
/**
* WARNING: This file is part of the core Genesis framework. DO NOT edit
* this file under any circumstances. Please do all modifications
* in the form of a child theme.
*
* This file calls the init.php file, but only
* if the child theme hasn't called it first.
*
* This method allows the child theme to load
* the framework so it can use the framework
* components immediately.
*
* @package Genesis
*/
require_once( dirname( __FILE__ ) . '/lib/init.php' );
それを手伝ってください。ありがとう