ComicPress 2.9.6 and WordPress 3.5 RSS fix for feedburner
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 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 class="<?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 class="'.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 class=\""; the_permalink(); echo "\"><img src="/img/spacer.gif">replace that section with this line (all on one line):
return '<p><a class="'.get_permalink().'"><img src="/img/spacer.gif">The idea is to remove the ECHO’s and make it all RETURN
ComicPress w/ Comic Easel (and Easel) and WordPress 3.5+ Bug
Found a bug, but it’s a simple one.
The Symptom: The archive list of posts for categories or terms looks funkey and shows years and no other info with a weird title
The Cause: a template file in the theme’s directory is trying to be used instead of the main archive.php file which is supposed to be used, mainly when comic easel is being used in the comicpress theme
The archive templates that come with ComicPress when you’re using Comic Easel *with* ComicPress as a theme need adjusting their filenames.
The filenames in question are all of the files in the themes directory that start with archive-*.php (the * means anything after that) for exampl;e, the main culprit is archive-comic.php … archive.php is fine, it’s just the ones with the dash after it.
So to fix this, you basically just FTP into your theme directory for easel or comicpress and rename the template files to be template-archive-*.php .. example archive-comic.php would turn into template-archive-comic.php and that would fix it from looking at archive-comic.php as the archive page for the comic post type
- Phil
Easel 3.2
3.2
Introducing Flexible Headers, no longer need to set a specific height and width
Removed the max-% inside the style.css cause chrome doesn’t like it, wasn’t really necessary – you just have to make sure you set images to “large” size when adding them inside of posts.
Added new option(s) to disable the display of the “at time” in posts and enable the display of “last modified” date in the posts.
More cleanups in the comments.php output, including fixing a missing language translation string or two
Added a new options tab in the Easel Options for Menubar alone, with more Social icon’s for the menubar
Added display:block on #comic
New register sidebar function code that expands to allow translateable sidebar descriptions
added additional clear float inside the easel_get_sidebar function so that it encapsulates properly
fixed bug with the loop count on home page by removing the filter before each sidebar is displayed (then re-adding it after)
- CHILD THEME DIFFERENCE -
layout-head.php and layout-foot.php have 2 changes in each, they differ only in the fact instead of using get_sidebar(‘left’) and get_sidebar(‘right’) it utilizes the easel_get_sidebar() to function so that it will allow the bug fix for the home page to work properly, .. that bug fix is the ‘count’ of how many items get displayed in a loop ‘home blog post count’ was bleeding into the sidebars not allowing for those counts made in widgets to display properly.
So in your child themes, if you use the layout-head.php and layout-foot.php change the get_sidebar( to easel_get_sidebar( and you will be up to date.
- Phil
Redesign of theDreamlandChronicles.com (LIVE)
On Wednesday, September 26th at around 7pm (PST) I am going to be implementing a new design on Scott Christian Sava’s – The Dreamland Chronicles.
You can join me via ustream on my workshop channel Frumph’s Workshop and watch while I transform the dreamland chronicles site into something new.
I will also be migrating the backend from using ComicPress to Comic Easel.
- Phil
Easel 3.1
From the changelog.txt
3.1
Changed the sticky pushpin image to 16px
Fix for the breadcrumbs (hopefully)
Timefix for the body classes
fixed the RSS title situation where it duplicated
Fixed the missing language translation string in the comments.php
changed the facebook like button and modified the og:description output
removed the overflow: hidden from .entry – up to end user to adjust the images accordingly.