/**
  * Get logo HTML
  *
  * @since  4.0.0
  */
 public function get_logo()
 {
     $result = sprintf('<div class="site-branding">%1$s %2$s</div>', cherry_get_site_logo('header'), cherry_get_site_description());
     return $result;
 }
Exemple #2
0
 /**
  * Callback-method for registered static.
  *
  * @since 4.0.1
  */
 public function callback()
 {
     printf('<div class="site-branding">%1$s %2$s</div>', cherry_get_site_logo('header'), cherry_get_site_description());
 }
/**
 * Get site logo and description to show it via template macros
 *
 * @since 4.0.0
 */
function cherry_get_the_post_logo()
{
    $result = '';
    if (cherry_get_site_logo() || cherry_get_site_description()) {
        $result = sprintf('<div class="site-branding">%1$s %2$s</div>', cherry_get_site_logo(), cherry_get_site_description());
    }
    return $result;
}
/**
 * Outputs the site description.
 *
 * @author Justin Tadlock <*****@*****.**>
 * @author Cherry Team <*****@*****.**>
 * @since  4.0.0
 * @return void
 */
function cherry_site_description()
{
    /**
     * Filter the displayed the site description.
     *
     * @since 4.0.0
     */
    echo apply_filters('cherry_site_description', cherry_get_site_description());
}
/**
 * Display the site description.
 *
 * @author Justin Tadlock <*****@*****.**>
 * @author Cherry Team <*****@*****.**>
 * @since  4.0.0
 * @return void
 */
function cherry_site_description()
{
    echo cherry_get_site_description();
}