jetzt wees ick nüscht mehr :???:
ich habe alles getestet was sich mein inzwischen wundes Hirn hat einfallen lassen.
Ich bin den Weg gegangen den maxe vorgeschlagen hat und habe alles rausgetan was irgendwie nach excerpt oder artikelaufruf aussieht.
aber hier komm ich nicht mehr weiter.
der stand der dinge ist das sich nun auf einer bestimmten Page (page.php) die Feutured & headlinebereiche befinden.
Eine Beitragsvorschau ist noch zu sehen (die ja noch raus muss weil es eine Vorschau eines Artikels ist und es sich hier aber um eine page handelt)).
Aber der Inhalt dieser Seite ist nicht sichtbar obwohl er da ist.
Ich poste nochmal den neuen Code & vielleicht hat ja jemand Erbarmen und wirft mal nen Blick drauf
Hier mal ein screenshot:
http://www.kuenstleragentur-mai.de/screen.jpg
Eigentlich müsste der Inhalt dieser seite dort zu sehen sein:
http://www.kuenstleragentur-mai.de/event-ideen/inspiration/
ist er aber nicht.
<?php get_header(); ?>
<div id="top" class="clearfloat">
<div id="headline">
<div class="headfeat">Heute provisionsfrei</div>
<img src="<?php echo get_option('home'); ?>/wp-content/themes/arthemia/images/headline.png" width="230px" height="0px" alt="" />
<?php query_posts("showposts=1&category_name=head"); ?>
<?php while (have_posts()) : the_post(); ?>
<div class="title"><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></div>
<?php $values = get_post_custom_values("head");?>
<a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>">
<img src="<?php echo bloginfo('template_url'); ?>/scripts/timthumb.php?src=/<?php
$values = get_post_custom_values("Image"); echo $values[0]; ?>&w=300&h=275&zc=1&q=100"
alt="<?php the_title(); ?>" class="left" width="300px" height="275px" /></a>
<?php the_excerpt(); ?>
<a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>">Mehr lesen? »</a>
<?php endwhile; ?>
</div>
<div id="featured">
<div class="pingfeat">Bestseller der Woche</div>
<?php query_posts("showposts=4&category_name=feat"); $i = 1; ?>
<?php while (have_posts()) : the_post(); ?>
<div class="clearfloat">
<?php $values = get_post_custom_values("Image");
if (isset($values[0])) { ?>
<a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>">
<img src="<?php echo bloginfo('template_url'); ?>/scripts/timthumb.php?src=/<?php
$values = get_post_custom_values("Image"); echo $values[0]; ?>&w=60&h=90&zc=1&q=100"
alt="<?php the_title(); ?>" class="left" width="60px" height="90px" /></a>
<?php } ?>
<div class="info"><a href="<?php the_permalink() ?>" rel="bookmark" class="title"><?php the_title(); ?></a>
</div>
</div>
<?php endwhile; ?>
</div>
</div>
<div id="middle" class="clearfloat">
<div class="catfeat">Event-Gestaltung</div>
<img height="0px" src="<?php echo get_option('home'); ?>/wp-content/themes/arthemia/images/category.png" class="clearfloat" alt="" />
<?php $display_categories = array(110,108,109,111,112,113); $i = 1;
foreach ($display_categories as $category) { ?>
<div id="cat-<?php echo $i; ?>" class="category">
<?php query_posts("showposts=1&cat=$category")?>
<span class="cat_title"><a href="<?php echo get_category_link($category);?>"><?php single_cat_title(); ?></a></span>
<a href="<?php echo get_category_link($category);?>"><?php echo category_description($category); ?></a>
</div>
<?php $i++; ?>
<?php } ?>
</div>
<div id="bottom" class="clearfloat">
<div id="front-list">
<?php
$page = (get_query_var('')) ? get_query_var('') : 1;
query_posts("cat=&paged=$page&posts_per_page=1"); ?>
<?php while (have_posts()) : the_post(); ?>
<div class="contentboxrechts">
<div class="clearfloat">
<h3 class=cat_title><?php the_category(', '); ?> »</h3>
<div class="title"><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></div>
<div class="spoiler">
<?php the_content(); ?>
</div>
</div>
</div>
<?php endwhile; ?>
</div>
<?php get_sidebar(); ?>
</div>
<?php get_footer(); ?>
Alles anzeigen