To remove the #more in WordPress listing, follow the steps below:-
* Login to your wordpress
* Go to Appearance -> Editor
* Click on functions.php at the right sidebar
* Copy and paste the code below, and click “Update File”
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');
* Now the #more jump at the post listing should have removed
How to remove #more tag in WordPress
-
michaelvk
- Posts: 20
- Joined: Tue Aug 31, 2010 7:28 am
- Location: United States
- Contact:
-
yinji
- Posts: 69
- Joined: Thu Nov 11, 2010 5:48 pm
- Contact:
Re: How to remove #more tag in WordPress
it is a difficulty question for me,wait the answer....
Who is online
Users browsing this forum: No registered users and 57 guests