Need a quick parse/syntax error fix
-
Hello all,
I just need someone to give me a quick fix that somehow was was corrupted.
Here is the error message I get;
“Parse error: syntax error, unexpected T_STRING in /home2/jonniemo/public_html/wp-content/themes/twentyten/functions.php on line 444”
Here is the chunk of code I was working with (line 444 is line 4 of the code below… “sprintf…);
function twentyten_posted_on() { printf( __( '<span class="%1$s">Posted on</span> %2$s <span class="meta-sep">by</span> %3$s', 'twentyten' ), 'meta-prep meta-prep-author', sprintf( '<a href="%1$s" title="%2$s" rel="bookmark"><span class="entry-date">%3$s</span></a>', get_permalink(), esc_attr( get_the_time() ), get_the_date() ), sprintf( '<span class="author vcard"><a class="url fn n" href="%1$s" title="%2$s">%3$s</a></span>', get_author_posts_url( get_the_author_meta( 'ID' ) ), sprintf( esc_attr__( 'View all posts by %s', 'twentyten' ), get_the_author() ), get_the_author() ) ); }
I’m assuming I’m just missing a simple tag… any help would be very much appreciated!
-Matt
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Need a quick parse/syntax error fix’ is closed to new replies.