Parse error: syntax error in functions.php
-
Parse error: syntax error, unexpected ‘<‘ in /home1/ryan/public_html/wp-content/themes/magazino/functions.php on line 563
I have bolded line 563 in question. Any help would be fantastic
function magazino_posted_on() {
printf( __( ‘<span class=”sep”>Posted on </span><time class=”entry-date” datetime=”%3$s”>%4$s</time><span class=”byline”> <span class=”sep”> by </span> <span class=”author vcard”>%7$s</span></span>’, ‘magazino’ ),
esc_url( get_permalink() ),
esc_attr( get_the_time() ),
esc_attr( get_the_date( ‘c’ ) ),
esc_html( get_the_date() ),
esc_url( get_author_posts_url( get_the_author_meta( ‘ID’ ) ) ),
<esc_attr( sprintf( __( ‘View all posts by %s’, ‘magazino’ ), get_the_author() ) ),
esc_html( get_the_author() )
);
}
endif;The blog I need help with is: (visible only to logged in users)
-
I understand syntax errors are caused by brackets () not matching up or semi-colon ; not in place.
Can anyone see what the issue is here?
Thank you! I’m at the stage where I want to paypal someone to help with this
-
I fixed it myself by downloading the functions.php file for the theme and uploading it via FTP through my host
-
The site you are asking about does not seem to be hosted on WordPress.COM so you need to make friends over at WordPress.ORG the keepers of the software you are using.
This site is for support of sites hosted on WordPress.COM. You should address your questions to WordPress.ORG the keepers of the software you are using: http://wordpress.org/support/
The forum at WordPress.ORG is not connected to WordPress.COM so you will need to open an account at .ORG if you do not already have one. You may use the same email at WordPress.ORG as you do at WordPress.COM.
For more on the difference: http://support.wordpress.com/com-vs-org/
If you are asking for help with a WordPress.COM site then we need a link to that site to give you accurate help.
- The topic ‘Parse error: syntax error in functions.php’ is closed to new replies.