Please help! "Parse error on line 372"
-
Hey I downloaded a tag cloud gadet, and my site stopped working. it keeps throwing up this error:
Parse error: syntax error, unexpected ‘<‘ in public_html/itchyimagination.com/wp-content/themes/i-excel/functions.php on line 372
Line 372 doesn’t have anything on it, and I have not edited the code in any way, because I am a PHP n00b!!! it is the exactly the same as the file in the theme’s zip folder.
below I have pastsed a copy of the section of code where I presume the error is.
function iexcel_post_nav() { global $post; // Don't print empty markup if there's nowhere to navigate. $previous = ( is_attachment() ) ? get_post( $post->post_parent ) : get_adjacent_post( false, '', true ); $next = get_adjacent_post( false, '', false ); if ( ! $next && ! $previous ) return; ?> <nav class="navigation post-navigation" role="navigation"> <h1 class="screen-reader-text"><?php _e( 'Post navigation', 'i-excel' ); ?></h1> <div class="nav-links"> </div><!-- .nav-links --> </nav><!-- .navigation --> <?php } endif; =============LINE 372 IS HERE========================== // Add specific CSS class by filterif anyone could help me out, I would super appreciate it!!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Please help! "Parse error on line 372"’ is closed to new replies.
