ich habe gerade diese testseite eingerichtet und das theme ist hammergeil.
Doch leider kommt bei mir in jedem artkel folgende fehlermeldung:
Fatal error: Call to undefined function c2c_get_custom() in /usr/export/www/vhosts/funnetwork/hosting/traun/wp-content/themes/summernight/single.php on line 39
mann kann auch keine kommentare schreiben bzw lesen.
PHP
<?php get_header(); ?>
<div id="page_container">
<?php get_sidebar(); ?>
<?php include (TEMPLATEPATH . '/leftbar.php'); ?>
<div id="postcol" >
<img src="<?php bloginfo('url'); ?>/wp-content/themes/summernight/images/haut.gif"/>
<?php include (TEMPLATEPATH . '/nav.php'); ?>
<div id="pc_t">
<div id="pc_r">
<div id="pc_b">
<div id="pc_l">
<div id="pctl">
<div id="pctr">
<div id="pcbr">
<div id="pcbl">
<div id="pc_c">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div style="clear: both"></div>
<div class="postbox">
<div class="right">
<div class="bottom">
<div class="left">
<div class="post_title">
<div class="top">
<div class="right">
<div class="left">
<div class="tl">
<div class="tr">
<h2 id="post-<?php the_ID(); ?>" class="title"><a href="<?php echo get_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>"><?php the_title(); ?></a></h2>
<small class="title"><strong><?php the_time('d.m.y') ?> | </strong><?php the_category(', ') ?></small>
</div></div></div></div></div></div> <?php /* post_title */ ?>
<div class="br">
<div class="bl">
<div class="content">
<?php the_content('<p class="serif">Read the rest of this entry »</p>'); ?>
<div class="info"><?php echo c2c_get_custom('info'); ?></div>
<img src="<?php bloginfo('url'); ?>/wp-content/themes/summernight/images/spacer.gif" width="15" height="10" border="0" />
<div class="navigation">
<div class="alignleft"><?php previous_post('« %','','yes') ?></div>
<div class="alignright"><?php next_post(' % »','','yes') ?></div>
</div> <?php /* navigation */ ?>
<img src="<?php bloginfo('url'); ?>/wp-content/themes/summernight/images/spacer.gif" width="15" height="10" border="0" />
<p class="postmetadata"><strong>Bisher <?php comments_number('kein Kommentar', 'ein Kommentar', '% Kommentare' );?></strong></p>
</div></div></div></div></div></div></div> <?php /* postbox */ ?>
<?php comments_template(); ?>
<div style="clear: both"></div>
<?php endwhile; else: ?>
<p><?php _e('Sorry, no posts matched your criteria.'); ?></p>
<?php endif; ?>
<?php include (TEMPLATEPATH . '/down.php'); ?>
<?php get_footer(); ?>
Alles anzeigen
hier ist die ganze single.php.
Bitte helft mir, ich bin kurz vorm verzweifeln. :(
Liebe Grüße