Guten Tag
Ich habe nach langem hin und her nun ein recht gut passendes Theme gefundnen
an sich ist ja so weit alles ok bis auf diese "Kleinigkeiten"
Auf der Startseite (Letzte Beiträge) wird mir alles so angezeigt wie erwünscht
http://img.webme.com/pic/r/r0aney/home.png
code hierzu ist (index.php)
<?php
/**
* The main template file.
*
* This is the most generic template file in a WordPress theme
* and one of the two required files for a theme (the other being style.css).
* It is used to display a page when nothing more specific matches a query.
* E.g., it puts together the home page when no home.php file exists.
* Learn more: http://codex.wordpress.org/Template_Hierarchy
*
* @package Tribbiani
*/
get_header(); ?>
<div id="primary" class="content-area">
<main id="main" class="site-main" role="main">
<?php if ( have_posts() ) : ?>
<?php /* Start the Loop */ ?>
<?php while ( have_posts() ) : the_post(); ?>
<?php
/* Include the Post-Format-specific template for the content.
* If you want to override this in a child theme, then include a file
* called content-___.php (where ___ is the Post Format name) and that will be used instead.
*/
get_template_part( 'content', get_post_format() );
?>
<?php endwhile; ?>
<?php else : ?>
<?php get_template_part( 'no-results', 'index' ); ?>
<?php endif; ?>
</main><!-- #main -->
<?php tribbiani_content_nav( 'nav-below' ); ?>
</div><!-- #primary -->
<?php get_sidebar(); ?>
<?php get_footer(); ?>
Alles anzeigen
Wenn ich jetzt jedoch auf eine Kategorie gehe dann sieht das ganze so aus
http://img.webme.com/pic/r/r0aney/catergory.png
Code von Kategorie ist (???.php)
weiter gehts...
wenn ich Jetzt die Suche benutze sieht das ganze so aus
http://img.webme.com/pic/r/r0aney/suche.png
Code für Suchergebnisse (search.php)
<?php
/**
* The template for displaying Search Results pages.
*
* @package Tribbiani
*/
get_header(); ?>
<section id="primary" class="content-area">
<main id="main" class="site-main" role="main">
<?php if ( have_posts() ) : ?>
<header class="page-header">
<h1 class="page-title"><?php printf( __( 'Search Results for: %s', 'tribbiani' ), '<span>' . get_search_query() . '</span>' ); ?></h1>
</header><!-- .page-header -->
<?php /* Start the Loop */ ?>
<?php while ( have_posts() ) : the_post(); ?>
<?php get_template_part( 'content', 'search' ); ?>
<?php endwhile; ?>
<?php tribbiani_content_nav( 'nav-below' ); ?>
<?php else : ?>
<?php get_template_part( 'no-results', 'search' ); ?>
<?php endif; ?>
</main><!-- #main -->
</section><!-- #primary -->
<?php get_sidebar(); ?>
<?php get_footer(); ?>
Alles anzeigen
Jetzt ist gerade die Frage wo befindet sich das alles von der Kategorie ?
http://img.webme.com/pic/r/r0aney/theme.png
wenn mir das jemand sagen kann dann poste ich das nach
jetzt kommts....
ich möchte nun das es bei der suche und in jeder Kategorie es so aufgelistet wird wie auf der Startseite (letzte Beiträge, vom ersten Bild-Link)
Nun meine Frage,
Ist hier jemand so nett und kann mir das so umbasteln ? :|
Ich währe euch Sehr Dankbar