[LEFT] Hallo Zusammen,
ich würde gerne meine getätigten Tutorials auf einer Extraseite ausgeben. Hierzu habe ich meine page.php kopiert und die ID der Kategorie eingebunden.
Jedoch ist die Darstellung nicht wie gewünscht. :( Ich hätte gerne die gleiche Darstellung wie auf der Startseite - nur eben dann alle Tutorials untereinander - und auch die Kommentarfunktion soll da sein.
Auch wäre es schön, wenn die Kommentare die auf der Startseite abgegeben wurden auch auf der Tutorialsseite mit angezeigt werden.
Der Link zum Blog ist: Mac und Wintersport in einem Blog!
Meine page.php sieht wiefolgt aus:
ZitatAlles anzeigen[COLOR=#0000CC]<?php
[/COLOR][COLOR=#FF9900]/*
Template Name: Tutorials
*/
[/COLOR][COLOR=#0000CC]?>
[/COLOR]
[COLOR=#0000CC]<?php get_header[/COLOR][COLOR=#006600](); [/COLOR][COLOR=#0000CC]?>
[/COLOR]
[COLOR=#0000CC]<?php
query_posts[/COLOR][COLOR=#006600]([/COLOR][COLOR=#CC0000]'cat=26'[/COLOR][COLOR=#006600]);
[/COLOR][COLOR=#0000CC]?>
[/COLOR]
[COLOR=#0000CC]<?php [/COLOR][COLOR=#006600]if ([/COLOR][COLOR=#0000CC]have_posts[/COLOR][COLOR=#006600]()) : while ([/COLOR][COLOR=#0000CC]have_posts[/COLOR][COLOR=#006600]()) : [/COLOR][COLOR=#0000CC]the_post[/COLOR][COLOR=#006600](); [/COLOR][COLOR=#0000CC]?>
[/COLOR]
<div class="post" id="post-[COLOR=#0000CC]<?php the_ID[/COLOR][COLOR=#006600](); [/COLOR][COLOR=#0000CC]?>[/COLOR]">
<h2 id="post-[COLOR=#0000CC]<?php the_ID[/COLOR][COLOR=#006600](); [/COLOR][COLOR=#0000CC]?>[/COLOR]">[COLOR=#0000CC]<?php the_title[/COLOR][COLOR=#006600](); [/COLOR][COLOR=#0000CC]?>[/COLOR]</h2>
[COLOR=#0000CC]<?php the_content[/COLOR][COLOR=#006600]([/COLOR][COLOR=#0000CC]__[/COLOR][COLOR=#006600]([/COLOR][COLOR=#CC0000]'Lies mehr!'[/COLOR][COLOR=#006600])); [/COLOR][COLOR=#0000CC]?>
[/COLOR]
[COLOR=#0000CC]<?php edit_post_link[/COLOR][COLOR=#006600]([/COLOR][COLOR=#0000CC]__[/COLOR][COLOR=#006600]([/COLOR][COLOR=#CC0000]'Edit'[/COLOR][COLOR=#006600]), [/COLOR][COLOR=#CC0000]'<p>'[/COLOR][COLOR=#006600], [/COLOR][COLOR=#CC0000]'</p>'[/COLOR][COLOR=#006600]); [/COLOR][COLOR=#0000CC]?>
[/COLOR]
</div>
[COLOR=#0000CC]<?php [/COLOR][COLOR=#006600]endwhile; endif; [/COLOR][COLOR=#0000CC]?>
[/COLOR]
[COLOR=#0000CC]<?php get_sidebar[/COLOR][COLOR=#006600](); [/COLOR][COLOR=#0000CC]?>
[/COLOR]
[COLOR=#0000CC]<?php get_footer[/COLOR][COLOR=#006600](); [/COLOR][COLOR=#0000CC]?>[/COLOR]
Ich bin jedoch absolut kein Codeprofi und bekomme es alleine nicht hin.
Wer kann mir erklären wie ich es umsetzen kann?
Besten Dank!
[/LEFT]