Notes to self:
“How to change […] at end of post and make it an active link”
(ThemeHybrid.com has GREAT support. Well worth the small fee.)
In the theme Function file, place the following code. Make sure the code is inside the php tags.
add_filter('the_excerpt', 'my_excerpts');
function my_excerpts($content) {
global $post;
$more = '<a class="more-link" href="' . get_permalink() . '" title="' . the_title_attribute('echo=0') . '">...read more';
$content = str_replace('[...]', $more, $content);
return $content;
}
Also, add styling controls to style sheet (stylesheet.css in hybrid / hybrid news) Example:
a.more-link {
color: #FF0000 !important;
float: right;
}
Recent Comments