add favicon
This commit is contained in:
parent
4c62fafeb9
commit
c9497a72df
6 changed files with 66 additions and 68 deletions
132
kit/search.php
132
kit/search.php
|
|
@ -11,96 +11,94 @@ get_header();
|
|||
|
||||
|
||||
<div class="headline-element" id="c145">
|
||||
<h2>Suche</h2>
|
||||
<h2><?php _e('Search'); ?></h2>
|
||||
</div>
|
||||
|
||||
<div id="c139" class="frame frame-default frame-type-list frame-layout-0">
|
||||
<div class="tx-indexedsearch">
|
||||
|
||||
|
||||
<div id="c139" class="frame frame-default frame-type-list frame-layout-0">
|
||||
<div class="tx-indexedsearch">
|
||||
<div id="c139" class="frame frame-default frame-type-list frame-layout-0">
|
||||
<div class="tx-indexedsearch">
|
||||
|
||||
<div class="tx-indexedsearch-searchbox">
|
||||
<form method="get" role="search" action="<?php echo site_url(‘/’); ?>">
|
||||
<div>
|
||||
</div>
|
||||
<fieldset>
|
||||
<div class="tx-indexedsearch-form">
|
||||
<label for="tx-indexedsearch-searchbox-sword"><?php _e('Search for:'); ?></label>
|
||||
<input class="tx-indexedsearch-searchbox-sword" type="text" name="s" value="<?php the_search_query(); ?>" />
|
||||
</div>
|
||||
<div class="tx-indexedsearch-search-submit">
|
||||
<button type="submit" class="tx-indexedsearch-searchbox-button" />
|
||||
<span><?php _e('Search'); ?></span>
|
||||
</button>
|
||||
</div>
|
||||
</fieldset>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<div id="c139" class="frame frame-default frame-type-list frame-layout-0">
|
||||
<div class="tx-indexedsearch">
|
||||
|
||||
<div class="tx-indexedsearch-searchbox">
|
||||
<form method="get" role="search" action="<?php echo site_url(‘/’); ?>">
|
||||
<div>
|
||||
</div>
|
||||
<fieldset>
|
||||
<div class="tx-indexedsearch-form">
|
||||
<label for="tx-indexedsearch-searchbox-sword">Suchen nach:</label>
|
||||
<input class="tx-indexedsearch-searchbox-sword" type="text" name="s" value="<?php the_search_query(); ?>" />
|
||||
</div>
|
||||
<div class="tx-indexedsearch-search-submit">
|
||||
<button type="submit" class="tx-indexedsearch-searchbox-button" />
|
||||
<span>Suchen</span>
|
||||
</button>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="tx-indexedsearch-browsebox">
|
||||
|
||||
<p>
|
||||
<?php
|
||||
global $wp_query;
|
||||
$paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
|
||||
$post_count_start = (($paged -1) * 10) + 1;
|
||||
$post_count_end = ((($paged -1) * 10) + $wp_query->post_count);
|
||||
_e("Showing results from <strong>" . $post_count_start . " to " . $post_count_end . "</strong>. Total results: <strong>" . $wp_query->found_posts. "</strong>");
|
||||
?>
|
||||
</p>
|
||||
|
||||
<div class="tx-indexedsearch-browsebox">
|
||||
<?php the_posts_pagination( array(
|
||||
'mid_size' => 2,
|
||||
'prev_text' => __( '< Zurück', 'textdomain' ),
|
||||
'next_text' => __( 'Nächste >', 'textdomain' ),
|
||||
'type' => 'list',
|
||||
'before_page_number' => 'Seite ',
|
||||
) ); ?>
|
||||
</div>
|
||||
</fieldset>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="tx-indexedsearch-browsebox">
|
||||
<p>
|
||||
<?php
|
||||
global $wp_query;
|
||||
$paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
|
||||
$post_count_start = (($paged -1) * 10) + 1;
|
||||
$post_count_end = ((($paged -1) * 10) + $wp_query->post_count);
|
||||
echo "Anzeige der Ergebnisse <strong>" . $post_count_start . " bis " . $post_count_end . "</strong> von insgesamt <strong>" . $wp_query->found_posts. "</strong>";
|
||||
?>
|
||||
</p>
|
||||
<!-- render the anchor-links to the sections inside the displayed result rows -->
|
||||
|
||||
<?php while ( have_posts() ) : the_post(); ?>
|
||||
<div class="tx-indexedsearch-res">
|
||||
<h3>
|
||||
<span class="tx-indexedsearch-title">
|
||||
<a href="<?php the_permalink(); ?>" ><?php the_title(); ?></a>
|
||||
</span>
|
||||
</h3>
|
||||
<p class="tx-indexedsearch-description">
|
||||
<?php the_excerpt(); ?>
|
||||
</p>
|
||||
<a href="#" class="link-more"><span>Weiterlesen</span></a>
|
||||
</div>
|
||||
<?php endwhile; ?>
|
||||
|
||||
<div class="tx-indexedsearch-browsebox">
|
||||
<?php the_posts_pagination( array(
|
||||
'mid_size' => 2,
|
||||
'prev_text' => __( '< Zurück', 'textdomain' ),
|
||||
'next_text' => __( 'Nächste >', 'textdomain' ),
|
||||
'prev_text' => __( '< Zurück'),
|
||||
'next_text' => __( 'Nächste >'),
|
||||
'type' => 'list',
|
||||
'before_page_number' => 'Seite ',
|
||||
) ); ?>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<?php while ( have_posts() ) : the_post(); ?>
|
||||
<div class="tx-indexedsearch-res">
|
||||
<h3>
|
||||
<span class="tx-indexedsearch-title">
|
||||
<a href="<?php the_permalink(); ?>" ><?php the_title(); ?></a>
|
||||
</span>
|
||||
</h3>
|
||||
<p class="tx-indexedsearch-description">
|
||||
<?php the_excerpt(); ?>
|
||||
</p>
|
||||
<a href="#" class="link-more"><span>Weiterlesen</span></a>
|
||||
</div>
|
||||
<?php endwhile; ?>
|
||||
|
||||
<div class="tx-indexedsearch-browsebox">
|
||||
<?php the_posts_pagination( array(
|
||||
'mid_size' => 2,
|
||||
'prev_text' => __( '< Zurück', 'textdomain' ),
|
||||
'next_text' => __( 'Nächste >', 'textdomain' ),
|
||||
'type' => 'list',
|
||||
'before_page_number' => 'Seite ',
|
||||
) ); ?>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue