Hi,
I was playing around with the navigation.php file and accidentally deleted a part of the file in wordpress.
I’m not sure what part was deleted, but i am getting the following error code when i click on option, button menu on wordpress.org :
Parse error: syntax error, unexpected ‘<‘ in /home/rcempire/public_html/wp-content/themes/generatepress/inc/navigation.php on line 227
I’ve checked the code with my the host site file manager, but i’m not quite sure whats wrong with the code.
Is there any way of resetting this or seeing whats wrong?
Thank you.
navigation.php, line 227 onwards from the file manager:
<?php
/**
* @package GeneratePress
*/
// No direct access, please
if ( ! defined( ‘ABSPATH’ ) ) exit;
?>
<article id=”post-<?php the_ID(); ?>” <?php post_class(); ?> <?php generate_article_schema( ‘CreativeWork’ ); ?>>
<?php do_action( ‘generate_before_content’ ); ?>
<header class=”entry-header”>
<?php do_action( ‘generate_before_entry_title’ ); ?>
<?php the_title( sprintf( ‘<h2 class=”entry-title” itemprop=”headline”>
‘, esc_url( get_permalink() ) ), ‘</h2>’ ); ?>
<?php do_action( ‘generate_after_entry_title’ ); ?>
</header><!– .entry-header –>
<?php do_action( ‘generate_after_entry_header’ ); ?>
<?php if ( true == generate_show_excerpt() ) : ?>
<?php the_excerpt(); ?>
<!– .entry-summary –>
<?php else : ?>
<?php the_content(); ?>
<?php
wp_link_pages( array(
‘before’ => ‘
‘ . __( ‘Pages:’, ‘generatepress’ ),
‘after’ => ‘
‘,
) );
?>
<!– .entry-content –>
<?php endif; ?>
<?php do_action( ‘generate_after_entry_content’ ); ?>
<?php do_action( ‘generate_after_content’ ); ?>
<!– .inside-article –>
</article><!– #post-## β>
}
endif;