hallo ihr alle,
ich hoffe ihr könnt mir helfen, da ich schon alles mögliche ausprobiert habe und einfach nicht mehr weiter komme... auf meiner seite usta-ph.de habe ich für die unterseite apo-referat ein template erstellt, dass alle blogs der kategorie "apo-referat" auf dieser unterseite ausgibt. genauso wie bei allen anderen unterseiten auch. das template ist für alle unterseiten (bis auf category-name und titel identisch) und dieht wie folgt aus:
<?php
/*
Template Name: apo-referat-template
*/
?>
<?php /* get all options: */
# error_reporting(-1);
include (TEMPLATEPATH . '/functions/bfa_get_options.php');
global $bfa_ata;
get_header(); ?>
<?php /* If there are any posts: */
if (have_posts()) : $bfa_ata['postcount'] = 0; /* Postcount needed for option "XX first posts full posts, rest excerpts" */ ?>
<?php /* This outputs the next/previous post or page navigation.
This can be edited at Atahualpa Theme Options -> Style & edit the Center column */
bfa_center_content($bfa_ata['content_above_loop']); ?>
<?php query_posts('category_name=apo-referat'); ?>
<?php /* The LOOP starts here. Do this for all posts: */
while (have_posts()) : the_post(); $bfa_ata['postcount']++; ?>
<?php /* Add Odd or Even post class so post containers can get alternating CSS style (optional) */
$odd_or_even = (($bfa_ata['postcount'] % 2) ? 'odd-post' : 'even-post' ); ?>
<?php /* This is the actual Wordpress LOOP.
The output can be edited at Atahualpa Theme Options -> Style & edit the Center column */
bfa_center_content($bfa_ata['content_inside_loop']); ?>
<?php /* END of the LOOP */
endwhile; ?>
<?php /* This outputs the next/previous post or page navigation and the comment template.
This can be edited at Atahualpa Theme Options -> Style & edit the Center column */
bfa_center_content($bfa_ata['content_below_loop']); ?>
<?php /* END of: If there are any posts */
else : /* If there are no posts: */ ?>
<?php /* This outputs the "Not Found" content, if neither posts, pages nor attachments are available for the requested page.
This can be edited at Atahualpa Theme Options -> Style & edit the Center column */
bfa_center_content($bfa_ata['content_not_found']); ?>
<?php endif; /* END of: If there are no posts */ ?>
<?php bfa_center_content($bfa_ata['center_content_bottom']); ?>
<?php get_footer(); ?>
Alles anzeigen
nun das problem:
auf der apo-seite soll genauso wie bei den anderen seiten erst ein fester text stehen "hier stellt sich das apo vor. unten die bisher veröffentlichten artikel". so wie es bei der bipo seite ist eben. aber der text den ich fürs apo geschrieben habe wird einfach nicht angezeigt..... wenn ich für die apo-seite ein anderes template einstelle, dann gehts ohne probleme. also irgendwie ist das apo-template zu "dominant".
habt ihr irgendeine idee?
danke und beste grüße, flop