/** * Display the post header with a link to the single post * @since 1.0.0 */ function eighteen_tags_post_header() { ?> <header class="entry-header"> <?php if (is_single()) { eighteen_tags_posted_on(); the_title('<h1 class="entry-title" itemprop="name headline">', '</h1>'); } else { if ('post' == get_post_type()) { eighteen_tags_posted_on(); } the_title(sprintf('<h1 class="entry-title" itemprop="name headline"><a href="%s" rel="bookmark">', esc_url(get_permalink())), '</a></h1>'); } ?> </header><!-- .entry-header --> <?php }
" <?php post_class(); ?> itemscope="" itemtype="http://schema.org/BlogPosting"> <?php # region title not on top if ('title-top' != $layout) { ?> <div class="col-full"> <?php the_title('<h1 class="entry-title" itemprop="name headline">', '</h1>'); if (!get_theme_mod('eighteen-tags-pro-remove-single-post-meta')) { ?> <div class="post-meta-container"> <?php eighteen_tags_posted_on(); eighteen_tags_post_meta(); ?> </div> <?php } ?> </div><!-- .col-full --> <?php } # endregion ?> <div class="col-full"> <div class="entry-content" itemprop="articleBody"> <?php the_content(sprintf(__('Continue reading %s', 'eighteen-tags'), get_the_title()));