Add option for enabling/disabling the comment count in the feed title.

Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
This commit is contained in:
Philip M. Hofer (Frumph) 2009-12-26 05:50:54 -08:00
parent 2f39ec7413
commit 463edd67d2
3 changed files with 14 additions and 2 deletions

View File

@ -49,6 +49,7 @@ function comicpress_admin() {
'rascal_says',
'disable_comment_note',
'enable_numbered_pagination',
'enable_comment_count_in_rss',
'comic_clicks_next',
'disable_default_comic_nav',
'enable_widgetarea_use_sidebar_css',

View File

@ -197,7 +197,9 @@ function comicpress_load_options() {
'enable_comicpress_debug' => true,
'enable_full_post_check' => false,
'enable_blogroll_off_links' => false
'enable_blogroll_off_links' => false,
'enable_comment_count_in_rss' => false
) as $field => $value) {
$comicpress_options[$field] = $value;

View File

@ -46,7 +46,16 @@
<td>
<?php _e('Checkmark this and your site will not display the contents of #blogheader.','comicpress'); ?>
</td>
</tr>
</tr>
<tr>
<th scope="row"><label for="enable_comment_count_in_rss"><?php _e('Enable the comment count to show in feed title.','comicpress'); ?></label></th>
<td>
<input id="enable_comment_count_in_rss" name="enable_comment_count_in_rss" type="checkbox" value="1" <?php checked(true, $comicpress_options['enable_comment_count_in_rss']); ?> />
</td>
<td>
<?php _e('Will show how many comments there are in the title of the post in the feed.','comicpress'); ?>
</td>
</tr>
</table>
<table class="widefat">