Hallo,
ich habe soeben auf loadbutler.de Wordpress und ein neues Theme installiert doch nachdem ich das neue Theme installiert hatte kam das hier:
Recent Posts
Fatal error: Call to undefined function: c2c_get_recent_posts() in /var/www/virtual/loadbutler.de/htdocs/wp-content/themes/glossyblue-advanced-1-1/footer.php on line 5
Was bedeutet das und wie bekomme ich es weg?
Hier mal noch die Footer.php Datei:
PHP
<div id="footer">
<div class="left-col">
<h4>Recent Posts </h4>
<ul class="recent-posts">
<?php c2c_get_recent_posts(4); ?>
</ul>
</div>
<div class="left-col">
<h4>Recently Commented</h4>
<ul class="recently-commented">
<?php c2c_get_recently_commented(3); ?>
</ul>
</div>
<div class="right-col">
<!--about text start -->
<h4>About</h4>
<p>This template is built with validated CSS and XHTML, by <a href="http://www.ndesign-studio.com">N.Design Studio</a>. Icons used here are from <a href="http://www.ndesign-studio.com/stock-icons">Web 2 Mini</a> pack. To download more <a href="http://www.ndesign-studio.com/resources/wp-themes">WordPress Themes</a>, please visit www.ndesign-studio.com. </p>
<p>Open footer.php in the theme folder to edit this message.</p>
<!--about text end -->
</div>
<hr class="clear" />
</div><!--/footer -->
</div><!--/page -->
<div id="credits">
<div class="alignleft"><a href="http://www.ndesign-studio.com/resources/wp-themes">WP Theme</a> & <a href="http://www.ndesign-studio.com/stock-icons">Icons</a> by <a href="http://www.ndesign-studio.com">N.Design Studio</a></div>
<div class="alignright"><a href="feed:<?php bloginfo('rss2_url'); ?>" class="rss">Entries RSS</a> <a href="feed:<?php bloginfo('comments_rss2_url'); ?>" class="rss">Comments RSS</a> <span class="loginout"><?php wp_loginout(); ?></span></div>
</div>
<?php credits(); wp_footer(); ?>
</body>
</html>
Alles anzeigen
Und hier die Sidebar.php falls ihr die braucht:
PHP
<div id="sidebar">
<ul>
<?php if ( !function_exists('dynamic_sidebar')
|| !dynamic_sidebar() ) : ?>
<li>
<?php include (TEMPLATEPATH . '/searchform.php'); ?>
</li>
<?php /* Menu for subpages of current page (copied from K2 theme) */
global $notfound;
if (is_page() and ($notfound != '1')) {
$current_page = $post->ID;
while($current_page) {
$page_query = $wpdb->get_row("SELECT ID, post_title, post_status, post_parent FROM $wpdb->posts WHERE ID = '$current_page'");
$current_page = $page_query->post_parent;
}
$parent_id = $page_query->ID;
$parent_title = $page_query->post_title;
if ($wpdb->get_results("SELECT * FROM $wpdb->posts WHERE post_parent = '$parent_id' AND post_status != 'attachment'")) {
?>
<li>
<h2 class="sidebartitle"><?php echo $parent_title; ?> <?php _e('Subpages'); ?></h2>
<ul class="list-page">
<?php wp_list_pages('sort_column=menu_order&title_li=&child_of='. $parent_id); ?>
</ul>
<?php } } ?>
</li>
<li>
<h2 class="sidebartitle"><?php _e('Categories'); ?></h2>
<ul class="list-cat">
<?php wp_list_cats('sort_column=name&optioncount=1&hierarchical=0'); ?>
</ul>
</li>
<li>
<h2 class="sidebartitle"><?php _e('Archives'); ?></h2>
<ul class="list-archives">
<?php wp_get_archives('type=monthly'); ?>
</ul>
</li>
<li>
<h2 class="sidebartitle"><?php _e('Links'); ?></h2>
<ul class="list-blogroll">
<?php get_links('-1', '<li>', '</li>', '<br />', FALSE, 'id', FALSE, FALSE, -1, FALSE); ?>
<li><a href="http://www.templatesbrowser.com/wordpress-themes/" title="Wordpress Themes">Templates</a></li>
</ul>
</li>
<?php endif; ?>
</ul>
</div><!--/sidebar -->
Alles anzeigen
MFG David2502