コード例 #1
0
ファイル: search.php プロジェクト: redrambles/scaffolding
        the_permalink();
        ?>
" rel="bookmark" title="<?php 
        the_title_attribute();
        ?>
"><?php 
        the_title();
        ?>
</a></h2>

							<?php 
        if ("post" == get_post_type()) {
            ?>
							
								<p class="byline"><?php 
            printf(__('Posted <time class="updated" datetime="%1$s">%2$s</time> by <span class="author">%3$s</span> <span class="amp">&</span> filed under %4$s.', 'scaffolding'), get_the_time('Y-m-d'), get_the_time(get_option('date_format')), scaffolding_get_the_author_posts_link(), get_the_category_list(', '));
            ?>
</p>
							
							<?php 
        }
        ?>

						</header><?php 
        // END .article-header
        ?>

						<section class="entry-content" itemprop="description">
							
							<?php 
        the_excerpt('<span class="read-more">Read more &raquo;</span>');
コード例 #2
0
ファイル: home.php プロジェクト: redrambles/scaffolding
						<header class="article-header">

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

							<p class="byline vcard"><?php 
        printf(__('Posted <time class="updated" datetime="%1$s"><a href="%5$s" title="%6$s">%2$s</a></time> by <span class="author">%3$s</span> <span class="amp">&</span> filed under %4$s.', 'scaffolding'), get_the_time('Y-m-d'), get_the_time(get_option('date_format')), scaffolding_get_the_author_posts_link(), get_the_category_list(', '), get_permalink(), the_title_attribute(array('echo' => false)));
        ?>
</p>

						</header>

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

						<footer class="article-footer">