Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Excerpts, Read more, Pagination (http://forum.bytesforall.com/forumdisplay.php?f=20)
-   -   Customizing "read more" to restart at top of page? (http://forum.bytesforall.com/showthread.php?t=408)

DeeM Feb 16, 2009 02:15 PM

Customizing "read more" to restart at top of page?
 
Hi.

First I should send out a huge thank you to the developers of the Atahualpa theme for Wordpress. It has been quite a time-saver.

I'm wondering if someone can help me. I would like to set my "read more" links so that they lead to the top of the specific post page rather than to the middle (where the article left off).

The Wordpress Codex has information here: http://codex.wordpress.org/Customizing_the_Read_More , saying to replace this:

Quote:

$output .= ' <a href="'. get_permalink()
. "#more-$id\">$more_link_text</a>";
with this:

Quote:

$output .= ' <a href="'. get_permalink()
."\">$more_link_text</a>";
in wp-includes/template-functions-post.php .

But I can't seem to find that file anywhere in any of the theme folders in the directory.

Should I be looking for a php page with a different name to make this change?

Thank you.

DeeM Feb 16, 2009 04:26 PM

My apologies. I seem to have answered my own question.

If anyone is in search of a solution, the StripTease plug-in here: http://wordpress.org/extend/plugins/striptease/ works wonders.

Flynn Feb 16, 2009 05:54 PM

wp-includes/template-functions-post.php is not a theme file, it is a core Wordpress file, you would have to look for it in the main Wordpress directory


All times are GMT -6. The time now is 05:07 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.