Hi there,
How would I go about adding a CSS class to the "Read More" text??
Thanks
Kevin
http://wordpress.org/extend/plugins/advanced-featured-post-widget/
Hi there,
How would I go about adding a CSS class to the "Read More" text??
Thanks
Kevin
http://wordpress.org/extend/plugins/advanced-featured-post-widget/
Hi Kevin,
At the moment it's not in the widget. But if you change line 89 of the A5_ExcerptClass.php from
if ($readmore) $this->output.=' <a href="'.$link.'" title="'.$title.'">'.$rmtext.'</a>';
to
if ($readmore) $this->output.=' <a href="'.$link.'" title="'.$title.'" class="myClass">'.$rmtext.'</a>';
it should work. You will loose your class with the next update though.
Regards,
Stefan
Hello Kevin,
you can enter your own class for the 'read more' link now.
Regards,
Stefan
You must log in to post.