diff --git a/functions/displayblogpost.php b/functions/displayblogpost.php index ac5a7fe..6087500 100644 --- a/functions/displayblogpost.php +++ b/functions/displayblogpost.php @@ -15,26 +15,21 @@ function display_blog_post() {
- - - - - - -
+
".get_the_title() ."\r\n"; + global $post, $wp_query; + $post_title = "

"; + if (is_home() || is_search() || is_archive()) $post_title .= ""; + $post_title .= get_the_title(); + if (is_home() || is_search() || is_archive()) $post_title .= ""; + $post_title .= "

\r\n"; echo apply_filters('comicpress_display_post_title',$post_title); } @@ -25,6 +29,20 @@ function comicpress_display_author_gravatar() { } } +function comicpress_display_post_calendar() { + global $post, $comicpress_options; + if ($comicpress_options['enable_post_calendar']) { + $post_calendar = "
".get_the_time('M')."".get_the_time('d')."
\r\n"; + echo apply_filters('comicpress_display_post_calendar',$post_calendar); + } +} + +function comicpress_display_post_author() { + global $post; + $post_author = "
".get_the_time('F jS, Y')." | by ".get_the_author_meta('display_name')."
"; + echo apply_filters('comicpress_display_post_author',$post_author); +} + function comicpress_display_blog_navigation() { global $post, $wp_query; if (is_single() && !in_comic_category()) { ?> diff --git a/style.css b/style.css index 17fea5c..0c37f4b 100644 --- a/style.css +++ b/style.css @@ -509,7 +509,7 @@ h4, h4 a { margin-right: 2px; } -.post-date, .post-comic-date { +.post-calendar-date, .post-comic-calendar-date { color: #777; font-family: 'Georgia' , serif; font-size: 15px; @@ -518,7 +518,7 @@ h4, h4 a { margin-right: 3px; } -.post-date .date, .post-comic-date .date { +.post-calendar-date .calendar-date, .post-comic-calendar-date .calendar-date { height: 50px; width: 45px; background: url(images/calendar.png) center no-repeat; @@ -532,7 +532,7 @@ h4, h4 a { } -.post-date .date span, .post-comic-date .date span { +.post-calendar-date .calendar-date span, .post-comic-calendar-date .calendar-date span { height: 16px; padding: 1px 0 4px 0; display: block;