You’ll have to modify this in template-functions-post.php. Look for the function get_the_content()
(around line 100), and in this look for:
$output .= ' <a href="'. get_permalink() . "#more-$id\">$more_link_text</a>";
Change it to:
$output .= ' <a href="'. get_permalink() . "\">$more_link_text</a>";
Thread Starter
Lucid
(@lucid)
Ahh, gotch, worked great..well almost, instead of “”, I needed to use “/” for proper parsing.
Also, is there a location for the entry heading, I would actuallylike it to scroll to the heading, is that possible?
Thanks! Much appreciated!
Yeah, I noticed the forum stripped those out on a re-edit. I’ve edited them back in for anyone else who may need it…
RE: entry heading link
That would be only a little more work, in that you’ll need to provide a unique id to each entry’s title div or <h> tag in your index.php template, something like:
id="head-<?php the_ID(); ?>"
Then pass that along to the more link you just changed:
$output .= ' <a href="'. get_permalink() . "#head-$id\">$more_link_text</a>";
Thread Starter
Lucid
(@lucid)
I see…thanks! I may work on that soon, but for now, I’m glad it re-load to the top of the page!
getting happier with the way everything is working:
http://www.stirman.net
Thanks Kaf!
I think that would make a great addition to the standard wp package, that was a great idea 🙂