本文整理汇总了PHP中hybrid_site_description函数的典型用法代码示例。如果您正苦于以下问题:PHP hybrid_site_description函数的具体用法?PHP hybrid_site_description怎么用?PHP hybrid_site_description使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了hybrid_site_description函数的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: tha_header_top
<div class="wrap">
<?php
tha_header_top();
?>
<div <?php
hybrid_attr('branding');
?>
>
<?php
hybrid_site_title();
?>
<?php
hybrid_site_description();
?>
</div><!-- #branding -->
<?php
hybrid_get_sidebar('header-right');
?>
<?php
tha_header_bottom();
?>
</div>
</header><!-- #header -->
示例2: bloginfo
<link rel="profile" href="http://gmpg.org/xfn/11" />
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
<!-- enables older IE browsers to accept HTML5 elements
take out the script below if using modernizr or other similar solution
=========================================================================-->
<!--[if lt IE 9]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<?php if ( is_singular() && get_option( 'thread_comments' ) ) wp_enqueue_script( 'comment-reply' ); ?>
<?php wp_head(); ?>
</head>
<body class="<?php hybrid_body_class(); ?>">
<div id="main-wrap">
<div id="header">
<div id="branding">
<?php hybrid_site_title(); ?>
<?php hybrid_site_description(); ?>
</div><!-- #branding -->
<?php get_template_part( 'menu', 'primary' ); // Loads the menu-primary.php template. ?>
</div><!-- #header -->
<div id="main">
<div class="padder">
示例3: satu_site_title
/**
* Site title.
*
* @since 1.0
*/
function satu_site_title()
{
$avatar = get_theme_mod('satu_show_avatar', true);
if (get_header_image()) {
echo '<div class="site-logo">' . "\n";
echo '<a href="' . esc_url(get_home_url()) . '" title="' . esc_attr(get_bloginfo('name')) . '" rel="home">' . "\n";
echo '<img class="logo" src="' . esc_url(get_header_image()) . '" alt="' . esc_attr(get_bloginfo('name')) . '" />' . "\n";
echo '</a>' . "\n";
echo '</div>' . "\n";
} elseif ($avatar) {
echo get_avatar(is_email(get_option('admin_email')), 100, 'mystery', esc_attr(get_bloginfo('name')));
}
if (display_header_text()) {
hybrid_site_title();
hybrid_site_description();
}
}
示例4: saga_custom_header_admin_preview
/**
* Callback for the admin preview output on the "Appearance > Custom Header" screen.
*
* @since 1.0.0
* @access public
* @return void
*/
function saga_custom_header_admin_preview()
{
?>
<div <?php
hybrid_attr('body');
// Fake <body> class.
?>
>
<header <?php
hybrid_attr('header');
?>
>
<?php
if (display_header_text()) {
// If user chooses to display header text.
?>
<div id="branding">
<?php
hybrid_site_title();
?>
<?php
hybrid_site_description();
?>
</div><!-- #branding -->
<?php
}
// End check for header text.
?>
</header><!-- #header -->
<?php
if (get_header_image() && !display_header_text()) {
// If there's a header image but no header text.
?>
<a href="<?php
echo home_url();
?>
" title="<?php
echo esc_attr(get_bloginfo('name'));
?>
" rel="home"><img class="header-image" src="<?php
header_image();
?>
" width="<?php
echo get_custom_header()->width;
?>
" height="<?php
echo get_custom_header()->height;
?>
" alt="" /></a>
<?php
} elseif (get_header_image()) {
// If there's a header image.
?>
<img class="header-image" src="<?php
header_image();
?>
" width="<?php
echo get_custom_header()->width;
?>
" height="<?php
echo get_custom_header()->height;
?>
" alt="" />
<?php
}
// End check for header image.
?>
</div><!-- Fake </body> close. -->
<?php
}
示例5: convergence_site_description
/**
* Returns the description of the site.
* @return string
*/
function convergence_site_description()
{
return hybrid_site_description();
}