Hello,
http://tomjdolan.com
In preparing to update Genesis from 1.9.2 to the latest version, I’m wondering about this: Wes sent me 2 bits of php code that I put into my site php code. Will I lose that code when I update? Studio Press sez never touch Genesis Code and I never have but is this modified php code safe? If it does go away, can I input the same code into the new Genesis or will it have to be modified: Here’s the code
>> Added these codes from Wes/ to the: functions.php
/** Modify the speak your mind text */
add_filter( ‘genesis_comment_form_args’, ‘custom_comment_form_args’ );
function custom_comment_form_args($args) {
$args[‘title_reply’] = ‘Leave a Comment, Ask a Question’;
return $args;
}
// Add “Read More” link
add_filter( ‘excerpt_more’, ‘custom_read_more_link_2’ );
add_filter( ‘get_the_content_more_link’, ‘custom_read_more_link_2’ );
add_filter( ‘the_content_more_link’, ‘custom_read_more_link_2’ );
function custom_read_more_link_2() {
return ‘… [Read More]‘;
}
Thanx for any info you can send along. It’s already causing sleep-less notes and I haven’t done anything yet… crazy time here in tokyo.