Moin,
ich noch mal. Dieses mal mit einer Fehlermeldung aus der ich nicht schlau werde. Und zwar wenn ich auf meiner Seite geschriebene Beiträge anwähle, verdunkelt sich die Seite und unten wo der Beitrag dann ganz stehen sollte steht nur folgende Fehlermeldung:
Fatal error: Call to undefined function the_tags() in /WWWROOT/128049/htdocs/wp-content/themes/StudioPress_Red/single.php on line 20
Ich hab dann mal in die single.php geschaut und dort folgende Anweisung in Zeile 20 gefunden:
<div class="postTags"><?php the_tags('Tags: ', ', ', ''); ?></div>
Leider werde ich daraus nicht schlau. Meine PHP-Kenntnisse sind halt nicht gerade dolle! Hier ansonsten nochmal der ganze Code der single.php:
<?php get_header(); ?>
<div id="contentwrapper"><div id="content">
<div class="adsense_top"><?php include (TEMPLATEPATH . '/adsense_top.php'); ?></div>
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<div class="post">
<h2 class="postTitle"><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h2>
<div class="postMeta">
<span class="date"><?php the_time('M.d, Y') ?></span> in
<span class="filed"><?php the_category(', '); ?></span>
</div>
<div class="postContent"><?php the_content('(Read the rest of this entry...)'); ?></div>
<div class="postTags"><?php the_tags('Tags: ', ', ', ''); ?></div>
<p class="comments"><?php comments_popup_link('Leave a Comment', 'Comments (1)', 'Comments (%)'); ?></p>
</div> <!-- Closes Post -->
<div class="comment">
<?php comments_template(); ?>
</div> <!-- Closes Comments -->
<?php endwhile; ?>
<?php else : ?>
<div class="post">
<h2 class="center">Not Found</h2>
<p class="center">Sorry, but you are looking for something that isn't here.</p>
</div> <!-- Closes Post -->
<?php endif; ?>
</div></div> <!-- Closes Content -->
<?php get_sidebar(); ?>
<div class="cleared"></div>
</div> <!-- Closes Main -->
<div class="bottomcurvewhite"></div>
<?php get_footer(); ?>
Alles anzeigen
Vielleicht hat ja jemand eine Idee oder einen Rat.
Gruß
Gordon