前段时间我为我的博客安装了一个主题。它真的很好,几乎拥有我想要的所有功能,但现在我开始知道它有一个小错误,没有地方上传网站徽标。我已经尽力了解框架和子主题,但无法找到上传徽标图像的任何选项(它确实有一个选项,询问用户是否要显示文本徽标或图像徽标)。
主题分为框架和子主题两部分。
的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' );
的functions.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' );
请帮帮我。谢谢
答案 0 :(得分:1)
检查Genesis框架作者。如果它是一个主题框架,我会认为它们是某个主题选项(可能在wp-admin中的'Appearance'下)来上传徽标图像。