/** * Title * * @since 1.6 */ public static function title() { if (Everything::isPluginActive('bbpress') && is_bbpress()) { if (!Everything::$headline_used) { echo '<h1 class="title">' . get_the_title() . '</h1>'; } } else { if (!is_singular()) { echo '<h1 class="title"><a href="' . esc_url(apply_filters('the_permalink', get_permalink())) . '" rel="bookmark">' . Everything::getPostIcon() . get_the_title() . '</a></h1>'; } else { if (!Everything::$headline_used && !Everything::io('layout/page/hide_title/hide_title', array(get_post_type() . '/hide_title', 'page/hide_title'), '__hidden')) { echo '<h1 class="title">' . Everything::getPostIcon() . get_the_title() . '</h1>'; } } } }
<?php /** * @package WordPress * @subpackage Everything * @since 1.0 */ if (!apply_filters('everything_author_bio_display', (bool) Everything::io('layout/page/author_bio/author_bio', array(get_post_type() . '/author_bio', 'page/author_bio'), '__hidden'))) { return; } ?> <section class="section"> <figure class="alignleft fixed inset-border"> <?php echo get_avatar(get_the_author_meta('ID'), 64); ?> </figure> <h3><?php the_author(); ?> </h3> <p class="author-description"><?php echo nl2br(get_the_author_meta('description')); ?> </p> </section>