0

I hired a guy to set up a Wordpress site for me. I need to make changes but unfortunately I have run out of money and have to try to make the changes myself. I am a programmer (Python and C++) so I can pick up concepts quickly, but I am just unfamiliar with Wordpress.

The website is at http://www.brilliantzenaudio.com

The first thing I need to do is put a slogan in the header (I mean some text.) I don't quite understand where the wordpress header comes from. Currently mine shows a logo and a menu. The following code I got from the Wordpress control panel, going to Appearance -> Editor -> Roots: Header. Would I add my slogan text to this file?

<header class="banner" role="banner">
  <div class="container">
    <div class="row">
      <div class="col-xs-12 col-lg-2">
        <h1 class="logo"><a href="<?php echo home_url(); ?>/"><?php bloginfo('name'); ?>">Brilliant Zen Audio</a></h1>
      </div>
      <div class="col-xs-12 col-lg-7 col-lg-offset-3">
        <nav role="navigation" class="clearfix">
          <?php
            if (has_nav_menu('primary_navigation')) :
              wp_nav_menu(array('theme_location' => 'primary_navigation', 'menu_class' => ''));
            endif;
          ?>
        </nav>      
      </div>
    </div>
  </div>
</header>
4

2 回答 2

0

我不太明白 wordpress 标题的来源

index.php主题根文件夹的文件中,以下函数调用在主题中添加标题

get_header(' '); // adds/includes "header.php"

Wordpress使用header.phpfile 来表示标题,因此在主题的根文件夹中,找到此 ( header.php) 文件并进行编辑。在Codex上阅读有关标头的更多信息。

于 2013-10-17T23:08:49.370 回答
0

u can add your text right after . It will display your text right after your sites name on the front-end, it is probebly a good idea to put it between

& <\p>. The generic sulotion will be to Use 'inspect elment' with your browser to find the location u want the text to apear on the page, than search that location (ex. using a software developer env find that location (ex. Netbeans).

于 2013-10-18T00:11:15.647 回答