und da liegt der Hund begraben, das Theme ist etwas aufwändiger.
Versuch es mal so:
PHP
[LEFT] [COLOR=#000000] [COLOR=#0000BB]<?php
[/COLOR][COLOR=#FF8000]/*
Template Name: Referenzen
*/
[/COLOR][COLOR=#0000BB]?>
[/COLOR]
[COLOR=#0000BB]<?php
[/COLOR][COLOR=#FF8000]// calling the header.php
[/COLOR][COLOR=#0000BB]get_header[/COLOR][COLOR=#007700]();
[/COLOR][COLOR=#FF8000]// action hook for placing content above #container
[/COLOR][COLOR=#0000BB]thematic_abovecontainer[/COLOR][COLOR=#007700]();
[/COLOR][COLOR=#0000BB]?>
[/COLOR]
<div id="container">
[COLOR=#0000BB]<?php thematic_abovecontent[/COLOR][COLOR=#007700](); [/COLOR][COLOR=#0000BB]?>
[/COLOR]
<div id="content">
[COLOR=#0000BB]<?php
[/COLOR][COLOR=#FF8000]// create the navigation above the content
[/COLOR][COLOR=#0000BB]thematic_navigation_above[/COLOR][COLOR=#007700]();
[/COLOR][COLOR=#FF8000]// calling the widget area 'index-top'
[/COLOR][COLOR=#0000BB]get_sidebar[/COLOR][COLOR=#007700]([/COLOR][COLOR=#DD0000]'index-top'[/COLOR][COLOR=#007700]);
[/COLOR][COLOR=#FF8000]// action hook for placing content above the index loop
[/COLOR][COLOR=#0000BB]thematic_above_indexloop[/COLOR][COLOR=#007700]();
[/COLOR][/COLOR][COLOR=#000000][COLOR=#0000BB]<?php query_posts[/COLOR][COLOR=#007700]([/COLOR][COLOR=#DD0000]'cat=referenzen'[/COLOR][COLOR=#007700]); [/COLOR][COLOR=#0000BB]?>[/COLOR]
[COLOR=#0000BB]<?php [/COLOR][COLOR=#007700]if ([/COLOR][COLOR=#0000BB]have_posts[/COLOR][COLOR=#007700]()) : while ([/COLOR][COLOR=#0000BB]have_posts[/COLOR][COLOR=#007700]()) : [/COLOR][COLOR=#0000BB]the_post[/COLOR][COLOR=#007700](); [/COLOR][COLOR=#0000BB]?>[/COLOR]
[COLOR=#0000BB]<?php the_excerpt[/COLOR][COLOR=#007700](); [/COLOR][COLOR=#0000BB]?>[/COLOR]
[COLOR=#0000BB]<?php [/COLOR][COLOR=#007700]endwhile; endif; [/COLOR][COLOR=#0000BB]?> [/COLOR][/COLOR][COLOR=#000000][COLOR=#007700][/COLOR][COLOR=#007700]
[/COLOR][COLOR=#FF8000]// action hook for placing content below the index loop
[/COLOR][COLOR=#0000BB]thematic_below_indexloop[/COLOR][COLOR=#007700]();
[/COLOR][COLOR=#FF8000]// calling the widget area 'index-bottom'
[/COLOR][COLOR=#0000BB]get_sidebar[/COLOR][COLOR=#007700]([/COLOR][COLOR=#DD0000]'index-bottom'[/COLOR][COLOR=#007700]);
[/COLOR][COLOR=#FF8000]// create the navigation below the content
[/COLOR][COLOR=#0000BB]thematic_navigation_below[/COLOR][COLOR=#007700]();
[/COLOR][COLOR=#0000BB]?>
[/COLOR]
</div><!-- #content -->
[COLOR=#0000BB]<?php thematic_belowcontent[/COLOR][COLOR=#007700](); [/COLOR][COLOR=#0000BB]?>[/COLOR]
</div><!-- #container -->
[COLOR=#0000BB]<?php
[/COLOR][COLOR=#FF8000]// action hook for placing content below #container
[/COLOR][COLOR=#0000BB]thematic_belowcontainer[/COLOR][COLOR=#007700]();
[/COLOR][COLOR=#FF8000]// calling the standard sidebar
[/COLOR][COLOR=#0000BB]thematic_sidebar[/COLOR][COLOR=#007700]();
[/COLOR][COLOR=#FF8000]// calling footer.php
[/COLOR][COLOR=#0000BB]get_footer[/COLOR][COLOR=#007700]();
[/COLOR][COLOR=#0000BB]?>[/COLOR] [/COLOR] [/LEFT]
Alles anzeigen