Example #1
0
    /**
     * Display the post header with a link to the single post
     * @since 1.0.0
     */
    function eighteen_tags_page_header()
    {
        ?>
		<header class="entry-header">
			<?php 
        eighteen_tags_post_thumbnail('full');
        the_title('<h1 class="entry-title" itemprop="name">', '</h1>');
        ?>
		</header><!-- .entry-header -->
		<?php 
    }
Example #2
0
    /**
     * Display the post content with a link to the single post
     * @since 1.0.0
     */
    function eighteen_tags_post_content()
    {
        ?>
		<div class="entry-content" itemprop="articleBody">
		<?php 
        eighteen_tags_post_thumbnail('full');
        the_content(sprintf(__('Continue reading %s', 'eighteen-tags'), '<span class="screen-reader-text">' . get_the_title() . '</span>'));
        wp_link_pages(array('before' => '<div class="page-links">' . __('Pages:', 'eighteen-tags'), 'after' => '</div>'));
        ?>
		</div><!-- .entry-content -->
		<?php 
    }
    public function content()
    {
        ?>
		<div class="entry-content" itemprop="articleBody">
			<?php 
        eighteen_tags_post_thumbnail('full');
        $this->blog_content();
        wp_link_pages(array('before' => '<div class="page-links">' . __('Pages:', 'eighteen-tags'), 'after' => '</div>'));
        ?>
		</div><!-- .entry-content -->
		<?php 
    }
Example #4
0
        the_post();
        $i++;
        ob_start();
        ?>

		<article id="post-<?php 
        the_ID();
        ?>
" <?php 
        post_class();
        ?>
 itemscope="" itemtype="http://schema.org/BlogPosting">
			<header class="entry-header">
				<?php 
        echo sprintf('<a href="%s" rel="bookmark">', get_permalink());
        eighteen_tags_post_thumbnail($etp_thumb_size, $etp_thumb_args);
        the_title('<h1 class="entry-title" itemprop="name headline">', '</h1>');
        echo '</a>';
        if (!get_theme_mod('eighteen-tags-pro-remove-archive-post-meta')) {
            ?>
					<div class="post-meta-container">
						<?php 
            eighteen_tags_posted_on();
            eighteen_tags_post_meta();
            ?>
					</div>
					<?php 
        }
        ?>
			</header><!-- .entry-header -->
			<div class="entry-content" itemprop="articleBody">