This will require some editing of your wp-content/themes/comicpress/functions/syndication.php file
Open up that file on your hosting and replace it with the code available here:
https://github.com/Frumph/comicpress/blob/master/functions/syndication.php
^ the github repo is where I store the latest of every edit I make, bug fixes and what not
If you are logged into github you can find a “zip” button to download the latest full master copy at http://github.com/Frumph/comicpress
Once you are done replacing that bit of code, you edit a post, save it which then updates your feed (clears your feed cache) then go to feedburner and click the resync button in your admin panel for feedburner
– Phil
NOTE: For older ComicPress versions, just replace this portion of the syndication.php file:
if (!function_exists('comicpress_insert_comic_feed')) {
function comicpress_insert_comic_feed($content) {
global $wp_query, $post;
$category = get_the_category($post->ID);
if (comicpress_in_comic_category($category[0]->cat_ID)) {
$content = comicpress_comic_feed().$content;
}
return apply_filters('comicpress_insert_comic_feed', $content);
}
}
add_filter('the_content_feed','comicpress_insert_comic_feed');
add_filter('the_excerpt_rss','comicpress_insert_comic_feed');
For ComicPress 2.8 open the syndication.php file and replace this:
//Insert the comic image into the RSS feed
function comicpress_comic_feed() {
global $post, $comicpress_options; ?>
<p><a href="<?php the_permalink() ?>"><?php echo comicpress_display_comic_image('rss,comic',$comicpress_options['enable_post_thumbnail_rss']); ?></a></p><?php
}
With this:
//Insert the comic image into the RSS feed
function comicpress_comic_feed() {
global $post, $comicpress_options; ?>
return '<p><a href="'.get_permalink().'">'.comicpress_display_comic_image('rss,comic',$comicpress_options['enable_post_thumbnail_rss']).'</a></p>';
}
Again what you’re doing is ‘returning’ info instead of echo’ing it out.
P.S. change the add_action for the_content to the_content_feed and the_excerpt_rss like the top example, just not the function name after it
For WAYYYY OLD Comicpress’
echo "<p><a href=\"";
the_permalink();
echo "\"><img src=\"$siteurl/$filename\" border=\"0\" alt=\"Cartoon
thumbnail - ";
the_title();
echo " - CLICK for full cartoon\" /></a></p>";
replace that section with this line (all on one line):
return '<p><a href="'.get_permalink().'"><img src="'.$siteurl.'/'.$filename.'" border="0" alt="Cartoon Thumbnail - '.get_the_title().' - Click for FULL Cartoon." /></a></p>';
The idea is to remove the ECHO’s and make it all RETURN
For ComicPress 2.5:
in the functions.php search for this:
function comic_feed() {
echo "<p><a href=\"";
the_permalink();
echo "\"><img src=\"";
echo get_comic_url('rss');
echo "\" border=\"0\" alt=\"";
echo the_title();
echo "\" /></a></p>";
}
replace it with this:
function comic_feed() {
return '<p><a href="'.get_permalink().'" title="'.get_the_title().'"><img src="'.get_comic_url('rss').'" border="0" alt="'.get_the_title().'" title="'.get_the_title().'"></a></p>';
}