Das sagt W3C:
This feed does not validate.
- line 31, column 200: XML parsing error: <unknown>:32:0: unclosed CDATA section [help]
[INDENT]
... unctions.php</b> on line <b>67</b><br />[/INDENT]
- <?xml version="1.0" encoding="UTF-8"?>
- <rss version="2.0"
- xmlns:content="http://purl.org/rss/1.0/modules/content/"
- xmlns:wfw="http://wellformedweb.org/CommentAPI/"
- xmlns:dc="http://purl.org/dc/elements/1.1/"
- xmlns:atom="http://www.w3.org/2005/Atom"
- xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
- xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
- >
- <channel>
- <title>blabla</title>
- <atom:link href="http://www.blabla.de/feed/" rel="self" type="application/rss+xml" />
- <link>http://www.blabla.de</link>
- <description>blabla</description>
- <lastBuildDate>Tue, 15 Jan 2013 18:23:29 +0000</lastBuildDate>
- <language>de-DE</language>
- <sy:updatePeriod>hourly</sy:updatePeriod>
- <sy:updateFrequency>1</sy:updateFrequency>
- <generator>http://wordpress.org/?v=3.5</generator>
- <item>
- <title>Blog</title>
- <link>http://www.xxx.de/blabla/</link>
- <comments>www.xxx.de/#comments</comments>
- <pubDate>Tue, 15 Jan 2013 18:23:29 +0000</pubDate>
- <dc:creator>admin</dc:creator>
- <category><=!=[=C=D=A=T=A=[News]=]=></category>
- <guid isPermaLink="false">http://www.xxxx.de/?p=619</guid>
- <description><=!=[=C=D=A=T=A=[<br />
- <b>Fatal error</b>: Call to undefined function colorful_continue_reading_link() in <b>/homepages/3/xxxxx/htdocs/xxx/wp-content/themes/d5-colorful/functions.php</b> on line <b>67</b><br />
Finde aber nix dergleichen in der functions.php
ZitatAlles anzeigen<?php
/* COLORFUL Theme's Functions
Copyright: 2012, D5 Creation, http://www.d5creation.com
Since COLORFUL 1.0
*/
add_theme_support( 'automatic-feed-links' );
register_nav_menu( 'main-menu', 'Main Menu' );// Set the content width based on the theme's design and stylesheet.
if ( ! isset( $content_width ) ) $content_width = 584;// Checks is WP is at least a certain version (makes sure it has sufficient comparison decimals). This function is required if the version check needed
function is_wp_version( $is_ver ) {
$wp_ver = explode( '.', get_bloginfo( 'version' ) );
$is_ver = explode( '.', $is_ver );
for( $i=0; $i<=count( $is_ver ); $i++ )
if( !isset( $wp_ver[$i] ) ) array_push( $wp_ver, 0 );
foreach( $is_ver as $i => $is_val )
if( $wp_ver[$i] < $is_val ) return false;
return true;
}
// Tell WordPress for wp_title in order to modify document title content
function colorful_filter_wp_title( $title ) {
$site_name = get_bloginfo( 'name' );
$filtered_title = $site_name . $title;
return $filtered_title;
}
add_filter( 'wp_title', 'colorful_filter_wp_title' );// This theme uses Featured Images (also known as post thumbnails) for per-post/per-page Custom Header images
if ( function_exists( 'add_theme_support' ) ) {
add_theme_support( 'post-thumbnails' );
set_post_thumbnail_size( 150, 150, true ); // default Post Thumbnail dimensions (cropped)
// additional image sizes
// delete the next line if you do not need additional image sizes
add_image_size( 'category-thumb', 300, 9999 ); //300 pixels wide (and unlimited height)
}
add_editor_style();
// Functions for adding script
function colorful_enqueue_scripts() {
if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) {
wp_enqueue_script( 'comment-reply' );
}
wp_enqueue_script( 'jquery' );
wp_enqueue_script( 'colorful-menu-style', get_template_directory_uri(). '/js/menu.js' );
wp_enqueue_style('colorful-gfonts', 'http://fonts.googleapis.com/css?family=Creepster', false );
}
add_action( 'wp_enqueue_scripts', 'colorful_enqueue_scripts' );
// Replaces "[...]" (appended to automatically generated excerpts) with an ellipsis and colorful_continue_reading_link().
// function tied to the excerpt_more filter hook.
function colorful_auto_excerpt_more( $more ) {
return ' …' . colorful_continue_reading_link();
}
add_filter( 'excerpt_more', 'colorful_auto_excerpt_more' );
// Adds a pretty "Continue Reading" link to custom post excerpts.
function colorful_custom_excerpt_more( $output ) {
if ( has_excerpt() && ! is_attachment() ) {
$output .= colorful_continue_reading_link();
}
return $output;
}
add_filter( 'get_the_excerpt', 'colorful_custom_excerpt_more' );// Get our wp_nav_menu() fallback, wp_page_menu(), to show a home link
function colorful_page_menu_args( $args ) {
$args['show_home'] = true;
return $args;
}
add_filter( 'wp_page_menu_args', 'colorful_page_menu_args' );// Registers the Widgets and Sidebars for the site
function colorful_widgets_init() {
register_sidebar( array(
'name' => 'Primary Sidebar',
'id' => 'sidebar-1',
'before_widget' => '<aside id="%1$s" class="widget %2$s">',
'after_widget' => "</aside>",
'before_title' => '<h3 class="widget-title">',
'after_title' => '</h3>',
) );
register_sidebar( array(
'name' => 'Secondary Sidebar',
'id' => 'sidebar-2',
'before_widget' => '<aside id="%1$s" class="widget %2$s">',
'after_widget' => "</aside>",
'before_title' => '<h3 class="widget-title">',
'after_title' => '</h3>',
) );
register_sidebar( array(
'name' => 'Footer Area',
'id' => 'sidebar-3',
'description' => 'An optional widget area for your site footer',
'before_widget' => '<aside id="%1$s" class="widget %2$s">',
'after_widget' => "</aside>",
'before_title' => '<h3 class="widget-title">',
'after_title' => '</h3>',
) );
}
add_action( 'widgets_init', 'colorful_widgets_init' );// When the post has no post title, but is required to link to the single-page post view.
add_filter('the_title', 'colorful_title');
function colorful_title($title) {
if ( '' == $title ) {
return '(Untitled)';
} else {
return $title;
}
}
Brauch echt Hilfe sitze jetzt schon Stunden dran...