Hi Guys
Pretty self explanatory, just need the author & month to be small caps?
Oh, and how do I throw in a (,) instead of the (I) separator?
Hi Guys
Pretty self explanatory, just need the author & month to be small caps?
Oh, and how do I throw in a (,) instead of the (I) separator?
Hej Anders,
add:
.entry-meta .n {text-transform:lowercase;} /* author */
.entry-meta abbr {text-transform:lowercase;} /* month */
to your style.css.
Add:
function my_postmeta() {
global $id, $post, $authordata;
$posteditlink .= '<a href="' . get_bloginfo('wpurl') . '/wp-admin/post.php?action=edit&post=' . $id;
$posteditlink .= '" title="' . __('Edit post', 'thematic') .'">';
$posteditlink .= __('Edit', 'thematic') . '</a>';
$posteditlink = apply_filters('thematic_postheader_posteditlink',$posteditlink);
$postmeta = '<div class="entry-meta">';
$postmeta .= '<span class="meta-prep meta-prep-author">' . __('By ', 'thematic') . '</span>';
$postmeta .= '<span class="author vcard">'. '<a class="url fn n" href="';
$postmeta .= get_author_link(false, $authordata->ID, $authordata->user_nicename);
$postmeta .= '" title="' . __('View all posts by ', 'thematic') . get_the_author() . '">';
$postmeta .= get_the_author();
$postmeta .= '</a></span><span class="meta-sep meta-sep-entry-date">, </span>';
$postmeta .= '<span class="meta-prep meta-prep-entry-date">' . __('Published: ', 'thematic') . '</span>';
$postmeta .= '<span class="entry-date"><abbr class="published" title="';
$postmeta .= get_the_time(thematic_time_title()) . '">';
$postmeta .= get_the_time(thematic_time_display());
$postmeta .= '</abbr></span>';
// Display edit link
if (current_user_can('edit_posts')) {
$postmeta .= '<span class="meta-sep meta-sep-edit">,</span> ' . '<span class="edit">' . $posteditlink . '</span>';
}
$postmeta .= "</div><!-- .entry-meta -->\n";
return $postmeta;
}
add_filter('thematic_postheader_postmeta','my_postmeta');
to your functions.php.
Cheers,
Chris
You must log in to post.