Ejemplo n.º 1
0
</a>
				</h2>
			</article>
		</li>
		<?php 
    }
    ?>
	</ul>

	<?php 
    if (has_pagination()) {
        ?>
		<ul class="pager">
			<li class="previous">
				<?php 
        echo search_prev();
        ?>
			</li>
			<li class="next">
				<?php 
        echo search_next();
        ?>
			</li>
		</ul>
	<?php 
    }
    ?>

<?php 
} else {
    ?>
Ejemplo n.º 2
0
        echo highlight_text($comic->search->term, $smalltext);
        ?>
" title="<?php 
        echo $smalltext;
        ?>
" /></div>
			</a>
		</div>

<?php 
    }
} else {
    echo '<p class="search-zero">Sorry, no results!</p>';
}
?>
	
	</div>
	
<?php 
search_prev();
search_next();
?>
	
	
	</div>

</div>
</div>
	
<?php 
get_footer();
Ejemplo n.º 3
0
</a>
						</h2>
					</div>
				</article>
			</li>
			<?php 
    }
    ?>
		</ol>

	<?php 
    if (has_pagination()) {
        ?>
	<nav class="pagination container clearfix">
		<?php 
        echo search_prev('<i class="fa fa-chevron-circle-left"></i><span> older posts</span>', '<a><i class="fa fa-chevron-circle-left"></i><span> older posts</span></a>');
        echo search_next('<span>newer posts </span><i class="fa fa-chevron-circle-right"></i>', '<a><span>newer posts </span><i class="fa fa-chevron-circle-right"></i></a>');
        ?>
	</nav>
	<?php 
    }
    ?>

	<?php 
} else {
    ?>
	<div class="container">
		<p>Nothing found... you could try a new search below.</p>
		
		<form class="site-search" action="<?php 
    echo search_url();
Ejemplo n.º 4
0
</a>
				</h2>
			</article>
		</li>
		<?php 
    }
    ?>
	</ul>

	<?php 
    if (has_pagination()) {
        ?>
	<nav class="pagination">
		<div class="wrap">
			<?php 
        echo search_prev('&larr; Previous');
        ?>
			<?php 
        echo search_next('Next &rarr;');
        ?>
		</div>
	</nav>
	<?php 
    }
    ?>

<?php 
} else {
    ?>
	<p class="wrap">Unfortunately, there's no results for &ldquo;<?php 
    echo search_term();