コード例 #1
0
ファイル: search.php プロジェクト: jkreska/test1
if (have_posts()) {
    ?>
		<h2><?php 
    _e('Search Results for', 'atahualpa');
    ?>
 "<?php 
    the_search_query();
    ?>
":</h2>
		<div class="line1pix"></div>
		<?php 
    while (have_posts()) {
        the_post();
        ?>
			<?php 
        if (is_last_post()) {
            ?>
<div class="post-last"><?php 
        } else {
            ?>
<div class="post"><?php 
        }
        ?>
				<h2 id="post-<?php 
        the_ID();
        ?>
"><a href="<?php 
        the_permalink();
        ?>
" rel="bookmark" title="Permanent Link to <?php 
        if (function_exists('the_title_attribute')) {
コード例 #2
0
    ?>

				<?php 
    if (post_meta('testimonial')) {
        ?>
					<blockquote><?php 
        echo kses_blockquote(post_meta('testimonial'));
        ?>
</blockquote>
				<?php 
    }
    ?>
			</article>

			<?php 
    if (!is_last_post()) {
        ?>
				<hr>
			<?php 
    }
    ?>
		<?php 
}
?>

		<section class="announcement announcement--pointer-top fill fill--secondary">
			<div class="row">
				<p>
					<a href="<?php 
echo esc_url(url_website_review());
?>