<?php /** * The template used for displaying page content in page.php * * @package SemPress * @since SemPress 1.0.0 */ ?> <article <?php sempress_post_id(); ?> <?php post_class(); sempress_semantics("page"); ?> > <header class="entry-header"> <h1 class="entry-title p-name" itemprop="name headline"><?php the_title(); ?> </h1> </header><!-- .entry-header --> <?php sempress_the_post_thumbnail('<div class="entry-media">', '</div>'); ?> <div class="entry-content e-content" itemprop="description text"> <?php
/** * The template for displaying posts in the Link Post Format on index and archive pages * * Learn more: http://codex.wordpress.org/Post_Formats * * @package SemPress * @since SemPress 1.0.0 */ ?> <article <?php sempress_post_id(); ?> <?php post_class(); sempress_semantics("post"); ?> > <?php if (is_search()) { // Only display Excerpts for search pages ?> <div class="entry-summary p-summary entry-title p-name" itemprop="name description"> <?php the_excerpt(); ?> </div><!-- .entry-summary --> <?php } else { ?> <div class="entry-content e-content p-summary entry-title p-name" itemprop="name headline description articleBody">
?> ><a href="<?php echo home_url('/'); ?> " title="<?php echo esc_attr(get_bloginfo('name', 'display')); ?> " rel="home"<?php sempress_semantics("site-url"); ?> ><?php bloginfo('name'); ?> </a></h1> <h2 id="site-description"<?php sempress_semantics("site-description"); ?> ><?php bloginfo('description'); ?> </h2> <?php if (get_header_image()) { ?> <img src="<?php header_image(); ?> " height="<?php echo get_custom_header()->height; ?>