我需要标题顶部浅灰色的文本位于网站标题/标语下方,但位于选项卡式导航上方:
我更愿意学习正确的方法(在函数中调用它?),但如果有必要,我会使用硬编码。我目前在cryout branding hook下硬编码了文本,但我真的不知道标题中的所有挂钩都做了什么,因此无法确定在我的子主题标题中正确放置文本的位置。谢谢你的帮助。
这是标题。php文件:
<?php
/**
* The Header
*
* Displays all of the <head> section and everything up till <div id="main">
*
* @package Cryout Creations
* @subpackage mantra
* @since mantra 0.5
*/
?><!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
<title><?php wp_title( \'\', true, \'right\' ); ?></title>
<meta http-equiv="Content-Type" content="text/html; charset=<?php bloginfo( \'charset\' ); ?>" />
<?php cryout_seo_hook(); ?>
<link rel="profile" href="http://gmpg.org/xfn/11" />
<link rel="pingback" href="<?php bloginfo( \'pingback_url\' ); ?>" />
<?php
cryout_header_hook();
wp_head(); ?>
</head>
<body <?php body_class(); ?>>
<?php cryout_body_hook(); ?>
<div id="wrapper" class="hfeed">
<?php cryout_wrapper_hook(); ?>
<header id="header">
<div id="masthead">
<div id="branding" role="banner" >
<?php cryout_branding_hook();?>
<div id="blurb"> LCN provides ABE (adult basic education), ESOL (English for Speakers of other languages), and GED instruction at little or no cost to adult learners in our community. If you need instruction or would like to be a volunteer tutor, please call 610-292-8515.</div>
<div style="clear:both;"></div>
</div><!-- #branding -->
<nav id="access" class="jssafe" role="navigation">
<?php cryout_access_hook();?>
</nav><!-- #access -->
</div><!-- #masthead -->
<div style="clear:both;"> </div>
</header><!-- #header -->
<div id="main">
<div id="forbottom" >
<?php cryout_forbottom_hook(); ?>
<div style="clear:both;"> </div>
<?php cryout_breadcrumbs_hook();?>