',
));
# Adapted from More-for-Pages plugin from http://www.andrejciho.com/
# We don't want to have to activate a plugin as well as a theme,
# so it's included here.
function more_for_pages($text) {
global $_GET;
global $post;
static $is_home;
# is_home doesn't work if you modify the query.
# That's why the following code block is required.
if (!isset($is_home)) {
$home_url = get_bloginfo('url') . '/';
$this_url = 'http://' . $_SERVER['SERVER_NAME'] . $_SERVER['REQUEST_URI'];
if ($home_url == $this_url)
$is_home = true;
else
$is_home = false;
}
if ($is_home && strpos($text, 'Read more...';
} else {
$a = explode('