Title: Navigation post parse error
Last modified: August 31, 2016

---

# Navigation post parse error

 *  Resolved [pigozzi](https://wordpress.org/support/users/pigozzi/)
 * (@pigozzi)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/navigation-post-parse-error/)
 * Help 🙂
 * I have issues with this code of paging navigation
 * <nav class=”navigation paging-navigation” role=”navigation”>
    <h1 class=”screen-
   reader-text”> _e( ‘Posts navigation’, ‘bloggr’ ); </h1> <div class=”nav-links”
   >
 *  if ( get_next_posts_link() ) :
    <div class=”nav-previous”> next_posts_link( 
   __( ‘<span class=”meta-nav”>←</span> Older posts’, ‘bloggr’ ) ); </div> endif;
 *  if ( get_previous_posts_link() ) :
    <div class=”nav-next”> previous_posts_link(
   __( ‘Newer posts <span class=”meta-nav”>→</span>’, ‘bloggr’ ) ); </div> endif;
 *  </div><!– .nav-links –>
    </nav><!– .navigation –>
 * }
 * It says :
    Parse error: syntax error, unexpected ‘=’, expecting identifier (T_STRING)
   in /homepages/22/d605575987/htdocs/banana/wp-content/themes/Bloggr_Package_OPENME/
   bloggr/inc/template-tags.php on line 21
 * I can’t even go back on my dashboard 🙁

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [neotechnomad](https://wordpress.org/support/users/neotechnomad/)
 * (@neotechnomad)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/navigation-post-parse-error/#post-7031279)
 * A link to your site and can you get to File Manager by logging into your host
   to cPanel OR do you have a FTP client such as Filezilla?
 *  [neotechnomad](https://wordpress.org/support/users/neotechnomad/)
 * (@neotechnomad)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/navigation-post-parse-error/#post-7031281)
 * What is missing in here is the “php” tags…
 *     ```
       <nav class="navigation paging-navigation" role="navigation">
       <h1 class="screen-reader-text"><?php _e( 'Posts navigation', 'bloggr' ); ?></h1>
       <div class="nav-links">
   
       <?php if ( get_next_posts_link() ) : ?>
       <div class="nav-previous"><?php next_posts_link( __( '<span class="meta-nav">&larr;</span> Older posts', 'bloggr' ) ); ?></div>
       <?php endif; ?>
   
       <?php if ( get_previous_posts_link() ) : ?>
       <div class="nav-next"><?php previous_posts_link( __( 'Newer posts <span class="meta-nav">&rarr;</span>', 'bloggr' ) ); ?></div>
       <?php endif; ?>
   
       </div><!-- .nav-links -->
       </nav><!-- .navigation -->
       ```
   
 *  Thread Starter [pigozzi](https://wordpress.org/support/users/pigozzi/)
 * (@pigozzi)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/navigation-post-parse-error/#post-7031328)
 * It worked !! Thanks a lot !!!
 *  [neotechnomad](https://wordpress.org/support/users/neotechnomad/)
 * (@neotechnomad)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/navigation-post-parse-error/#post-7031331)
 * You’re welcome. You can mark this thread “Resolved”.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Navigation post parse error’ is closed to new replies.

## Tags

 * [page-navigation](https://wordpress.org/support/topic-tag/page-navigation/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 2 participants
 * Last reply from: [neotechnomad](https://wordpress.org/support/users/neotechnomad/)
 * Last activity: [10 years, 4 months ago](https://wordpress.org/support/topic/navigation-post-parse-error/#post-7031331)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
