By default, when you click on the Read More link, the web page loads and then “jumps” to the spot where the <–more–> tag is set in the post. If you do not want that “jump”, you can use this code in your theme’s functions.php:
function remove_more_jump_link($link) {
$offset = strpos($link, '#more-');
if ($offset) {
$end = strpos($link, '"',$offset);
}
if ($end) {
$link = substr_replace($link, '', $offset, $end-$offset);
}
return $link;
}
add_filter('the_content_more_link', 'remove_more_jump_link');
How to style wordpress default comment form for TwentyTen?
Published by admin on 2010-10-09Go to your theme open comments.php if you have one:
and find the line:
comment_form();
Replace it with this code which you could change as you like:
For more information check the wordpress docs: http://codex.wordpress.org/Template_Tags/comment_form