| | #1 (permalink) |
| PostRank: 2 ![]() Registriert seit: 08.03.2006
Beiträge: 57
| Newsfeed problem Hallo, ich schreibe das jetzt hier rein, weil ich vermute, dass das problem an meinen eigenen theme liegt . Also unsere nesfeed haut nur nochmüll raus(siehe hier: l’optique - Dein Magazin » start l'optique - Dein Magazin ich vermute mal das es an meinen sidebars liegt in denen ich momentan genauso wie in der index.php und beginn.php inhalte darstelle Beispiel (sidebar2.php) Code: <div class="sidebar2">
<li><h2><a class="kl" href="?cat=345" name="Texte">Neues aus der Textmetzgerei</a></h2>
<p class="smalls">(Geschichten, Gedanken, Gedichte, Du und Deine Welt...)</p>
<ul><?php query_posts('cat=345&showposts=7'); ?>
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<li><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php printf(__('Permanent Link to %s', 'kubrick'), the_title_attribute('echo=0')); ?>"><?php the_title(); ?></a></li>
<?php endwhile; ?>
<?php else : ?>
<p class="center"><?php _e('Not Found', 'kubrick'); ?></p>
<p class="center"><?php _e('Sorry, but you are looking for something that isn’t here.', 'kubrick'); ?></p>
<?php endif; ?>
</ul>
</li>
<div align="right"><a class="kl" href="?cat=345" name="Texte">...mehr Texte</a></div>
<li><h2><a class="kl" href="?cat=61" name="Rezensionen">Die neusten Artikel</a></h2>
<p class="smalls">(Rezensionen, Partyberichte, Interviews, Lieblingsband...)</p>
<ul><?php query_posts('cat=61&showposts=7'); ?>
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<li><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php printf(__('Permanent Link to %s', 'kubrick'), the_title_attribute('echo=0')); ?>"><?php the_title(); ?></a></li>
<?php endwhile; ?>
<?php else : ?>
<p>Nichts da</p>
<?php endif; ?>
</ul>
</li>
<div align="right"><a class="kl" href="?cat=61" name="Rezensionen">...mehr</a><br /><br /></div>
</div> Code: <?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<li><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php printf(__('Permanent Link to %s', 'kubrick'), the_title_attribute('echo=0')); ?>"><?php the_title(); ?></a></li>
<?php endwhile; ?>
<?php else : ?>
<p class="center"><?php _e('Not Found', 'kubrick'); ?></p>
<p class="center"><?php _e('Sorry, but you are looking for something that isn’t here.', 'kubrick'); ?></p>
<?php endif; ?> falls nicht wie kann ich das entsprechend darstellen, das der newsfeed wieder geht, falls es woanders liegt, weiß jemand wo ? vielen dank schonmal Stefan Geändert von sChen (06.08.2008 um 14:05 Uhr). |
| | |
| | #2 (permalink) | |
| WPD-Moderator ![]() Registriert seit: 05.10.2006
Beiträge: 4.656
| Zitat:
Im normalen Blog hast du sogar 2 Leerzeilen am Anfang vor dem <!DOCTYPE>. Das bringt manche Browser (vor allem ältere aus dem Nordwesten der USA) aus dem Tritt. | |
| | |
| | #4 (permalink) |
| PostRank: 2 ![]() Registriert seit: 08.03.2006
Beiträge: 57
| Cool das wars, danke schön hatte z.B. satt: Code: <?php /* Template Name: profil */ ?> <?php get_header(); ?> Code: <?php /* Template Name: profil */ ?> <?php get_header(); ?> nochmals danke und gruß Stefan |
| | |
![]() |
| Themen-Optionen | |
| Ansicht | |
| |