标志不显示

发布于 2024-12-23 16:15:59 字数 1532 浏览 2 评论 0原文

前段时间我为我的博客安装了一个主题。它真的很好,几乎拥有我想要的所有功能,但现在我发现它有一个小错误,就是没有地方上传网站徽标。我已尽力研究框架和子主题,但无法找到任何上传徽标图像的选项(它确实有一个选项询问用户是否要显示文本徽标或图像徽标)。

主题描述

主题分为框架和子主题两部分。


标题.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' );

请帮我解决它。谢谢

Some time ago I installed a theme for my blog. It was really good and had almost all features I wanted but now I came to know that it has a small bug that there is no place to upload the site logo. I have tried my very best looking into the framework and the child theme but was unable to find any option to upload the logo image(It does have a option which asks the user if he or she wants to display text logo or image logo).

Description of the theme

The theme is divided in to two parts the framework and the child theme.


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' );

Please help me out with it. Thanks

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

海螺姑娘 2024-12-30 16:15:59

请咨询 Genesis 框架作者。如果它是一个主题框架,我会认为它们是某个地方的主题选项(可能在 wp-admin 中的“外观”下)来上传徽标图像。

Check with the Genesis framework author. If it's a theme framework, I would have thought they'd be a theme option somewhere (possible under 'Appearance' in wp-admin) to upload a logo image.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文