简体   繁体   English

WordPress标题图片

[英]Wordpress Header Image

I am trying to edit the header of my website to use my logo in the header. 我正在尝试编辑网站的标题以在标题中使用我的徽标。 In the header.php file under the "Display Logo Image or Site Title" code here is what I have after putting in the image link: 在“显示徽标图像或站点标题”代码下的header.php文件中,这里是放置图像链接后的内容:

$options = get_option('zeefocus_options');
            if ( isset($options['themeZee_general_logo']) and    $options['themeZee_general_logo'] <> "" ) : ?>
                <img class="logo-image" src="http://i.imgur.com/02WuoWa.png" alt="Auto-Platre" /></a>

I saved and uploaded the file, but the webpage is still the same. 我保存并上传了文件,但网页仍然相同。 Do I need to edit anything in the Wordpress admin? 我需要在Wordpress管理员中进行任何编辑吗?

Without more info this question is kind of hard to answer but here are a few things to try: 没有更多信息,这个问题很难回答,但是这里有一些尝试:

  • Clear your cache if you have it enabled 清除缓存(如果已启用)
  • Your theme might have a built in header option, in which case you can upload the image to directly through the theme settings 您的主题可能具有内置标题选项,在这种情况下,您可以直接通过主题设置将图像上传到

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM