Du befindest Dich im Archiv vom ABAKUS Online Marketing Forum. Hier kannst Du Dich für das Forum mit den aktuellen Beiträgen registrieren.

WP "related posts" löschen

Ajax, Hijax, Microformats, RDF, Markup, HTML, PHP, CSS, MySQL, htaccess, robots.txt, CGI, Java, Javascript usw.
Neues Thema Antworten
enrico79
PostRank 1
PostRank 1
Beiträge: 22
Registriert: 17.12.2009, 18:00

Beitrag von enrico79 » 15.04.2010, 11:14

Hallo,

komme grad irgendwie nicht weiter. Unterhalb des posts erscheint related posts, welches ich loswerden möchte. Im index.php kann ich das aber nirgendwo finden und single.php ist nicht existent.

Ich weiss nicht wie man hier einen code vernünftig einfügt, daher paste ich ihn einfach so:

<?php get_header(); ?>

<div id="content">
<?php if (is_day()) { ?>
<h2 class="browse">You are currently browsing the archives for <strong><?php the_time('l, F jS, Y'); ?></strong></h2>

<?php } elseif (is_month()) { ?>
<h2 class="browse">You are currently browsing the archives for <strong><?php the_time('F, Y'); ?></strong></h2>

<?php } elseif (is_year ()) { ?>
<h2 class="browse">You are currently browsing the archives for <strong><?php the_time('Y'); ?></strong></h2>

<?php } elseif (is_category()) { ?>
<h2 class="browse">You are currently browsing the <strong><?php single_cat_title(''); ?></strong> category</h2>

<?php } elseif (is_tag()) { ?>
<h2 class="browse">You are currently browsing posts tagged with <strong><?php single_tag_title(); ?></strong></h2>

<?php } elseif (is_search()) { ?>
<h2 class="browse">You are currently browsing posts that matched <strong><?php the_search_query(); ?></strong></h2>

<?php } ?>

<?php if (have_posts()) : ?>

<?php while (have_posts()) : the_post(); ?>

<div class="entry">
<?php if(is_home()) { if ( function_exists('wp_list_comments') ) { ?> <div <?php post_class(); ?>> <?php }} ?>
<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
<?php if(is_page()) { ?> <?php } else { ?><h3><span class="meta"> </h3><?php } ?>


<?php the_content('<span class="cont">&sect; Read the rest of this entry...</span>'); ?>

<?php if(is_home()) { if ( function_exists('wp_list_comments') ) { ?></div><!-- close post_class --><?php }} ?>
</div><!-- close .entry -->

<?php endwhile; ?>

<p class="entry_nav">
<span class="left"><?php next_posts_link('&laquo; ältere Artikel') ?></span>
<span class="right"><?php previous_posts_link('neuere Artikel &raquo;') ?></span>
</p>

<?php else : ?>

<p class="error">Diese Seite existiert nicht.<br/>
Bitte kehren Sie zur Startseite zurück:<br/>
<strong><?php the_search_query(); ?></strong> https://depressionen-was-tun.de/</p>



<?php endif; ?>


</div><!-- close content -->

<?php get_sidebar(); ?>

<?php get_footer(); ?>



Hat jemand eine Idee woran das liegen kann?


Grüsse
Enrico


https://depressionen-was-tun.de/[/list]

Anzeige von ABAKUS

von Anzeige von ABAKUS »

Content Erstellung von ABAKUS Internet Marketing
Ihre Vorteile:
  • einzigartige Texte
  • suchmaschinenoptimierte Inhalte
  • eine sinnvolle Content-Strategie
  • Beratung und Umsetzung
Jetzt anfragen: 0511 / 300325-0

enrico79
PostRank 1
PostRank 1
Beiträge: 22
Registriert: 17.12.2009, 18:00

Beitrag von enrico79 » 15.04.2010, 11:48

Hat sich schon erledigt... :D

Antworten
  • Vergleichbare Themen
    Antworten
    Zugriffe
    Letzter Beitrag