I broke my blog–Please Help!
-
Hi.
I’m new to all this and I screwed up.
Basically, I was trying to remove the “posted on” line from Posts and I looked at some help pages which told me to go into theme.php and remove some lines. I did that and now I get this:
Parse error: syntax error, unexpected ‘*’ in /home/jakehooker/domains/jakehookerand.org/prod/wp-content/themes/jakehooker/functions.php on line 491
Every time I try to leave that page or update or whatever. Quite obviously, I shouldn’t have been screwing around with this.
This is what I removed:
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( ‘<span class=”entry-date”>%3$s</span>‘,
get_permalink(),
esc_attr( get_the_time() ),
get_the_date()
),
sprintf( ‘<span class=”author vcard”>%3$s</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()
)
);
}
endif;`I had someone else customize the theme for me and now I don’t know what will happen if I replace my theme.php with a new download.
Please somebody help me! I’m totally at a loss and freaked out.
Thanks in advance,
Jake
- The topic ‘I broke my blog–Please Help!’ is closed to new replies.