Ejemplo n.º 1
0
<?php

/**
 * The template part for displaying a message that posts cannot be found.
 *
 * Learn more: http://codex.wordpress.org/Template_Hierarchy
 *
 * @package Cryptum
 * @since Cryptum 1.0
 */
?>

<article id="post-0" class="post no-results not-found">
	<header class="entry-header <?php 
cryptum_metro_text_class(true);
?>
">
		<h1 class="entry-title"><?php 
_e('Nothing Found', 'cryptum');
?>
</h1>
	</header><!-- .entry-header -->

	<div class="entry-content <?php 
echo cryptum_metro_tile_class("ui");
?>
">
		<?php 
if (is_home()) {
    ?>
Ejemplo n.º 2
0
<?php

/**
 * The template for displaying search forms in Cryptum
 *
 * @package Cryptum
 * @since Cryptum 1.0
 */
?>
	<form method="get" id="searchform" action="<?php 
echo esc_url(home_url('/'));
?>
" role="search" class="<?php 
echo cryptum_metro_text_class();
?>
">
		<label for="s" class="assistive-text"><?php 
_e('Search', 'cryptum');
?>
</label>
		<input type="text" class="field" name="s" id="s" placeholder="<?php 
esc_attr_e('Search &hellip;', 'cryptum');
?>
" />
		<input type="submit" class="submit" name="submit" id="searchsubmit" value="<?php 
esc_attr_e('Search', 'cryptum');
?>
" />
	</form>