예제 #1
0
						<header class="article-header">

							<h1 class="entry-title h2"><a href="<?php 
        the_permalink();
        ?>
" rel="bookmark" title="<?php 
        the_title_attribute();
        ?>
"><?php 
        the_title();
        ?>
</a></h1>

							<p class="byline vcard"><?php 
        printf(__('Posted <time class="updated" datetime="%1$s" pubdate><a href="%5$s">%2$s</a></time> by <span class="author">%3$s</span> <span class="amp">&</span> filed under %4$s.', 'localedge'), get_the_time('Y-m-j'), get_the_time(get_option('date_format')), localedge_get_the_author_posts_link(), get_the_category_list(', '), get_permalink($np->ID), $np->post_title);
        ?>
</p>

						</header>

						<section class="entry-content clearfix">
							<?php 
        the_content('Read More...');
        ?>
						</section>

						<footer class="article-footer">

							<p class="tags"><?php 
        the_tags('<span class="tags-title">' . __('Tags:', 'localedge') . '</span> ', ', ', '');
예제 #2
0
        the_ID();
        ?>
" <?php 
        post_class('clearfix');
        ?>
 role="article" itemscope itemtype="http://schema.org/BlogPosting">

						<header class="article-header">

							<h1 class="entry-title single-title" itemprop="headline"><?php 
        the_title();
        ?>
</h1>

							<p class="byline vcard"><?php 
        printf(__('Posted <time class="updated" datetime="%1$s" pubdate>%2$s</time> by <span class="author">%3$s</span> <span class="amp">&amp;</span> filed under %4$s.', 'localedge'), get_the_time('Y-m-j'), get_the_time(get_option('date_format')), localedge_get_the_author_posts_link(), get_the_category_list(', '));
        ?>
</p>

						</header><?php 
        // end article header
        ?>

						<section class="entry-content clearfix" itemprop="articleBody">
							<?php 
        the_content();
        ?>
							<?php 
        wp_link_pages(array('before' => '<div class="page-links"><span class="page-links-title">' . __('Pages:', 'localedge') . '</span>', 'after' => '</div>', 'link_before' => '<span>', 'link_after' => '</span>'));
        ?>
						</section><?php