ALCHYMYTH –
I tried your bit of code for content.php (had to use my imagination a bit to figure out what to put where – made a hybrid of your code and mine – and it worked! Posts are excerpted. But too short. So I made a functions.php that had just:
<?php
function twentytwelvechild_custom_excerpt_length( $length ) {
return 100;
}
add_filter( 'excerpt_length', 'twentytwelvechild_custom_excerpt_length', 100 );
function 'twentytwelvechild_new_excerpt_more($more) {
global $post;
return ' <a href="'. get_permalink($post->ID) . '">Read the Rest...</a>';
}
add_filter('excerpt_more', 'twentytwelvechild_new_excerpt_more');
?>
And my website went belly-up with the following message:
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting T_STRING in /home/diann/public_html/wp-content/themes/twentytwelve-child/functions.php on line 9 (which is the return ' <a href="'. get_permalink($post->ID) . '">Read the Rest...</a>';
line. Did it go belly-up because my content.php already has a call to the permalink and a “Read More” in it, and they kind of got into a fight?