unexpected T_ENDIF index.php
-
hello there — i facing this error — i just edited some text in the index.php page — after that it giving me the following error
“Parse error: syntax error, unexpected T_ENDIF in /home/jashnnin/public_html/web2.0/index.php on line 17”
this is the index.php code
‘<?php
/**
* Front to the WordPress application. This file doesn’t do anything, but loads
* wp-blog-header.php which does and tells WordPress to load the theme.
*
* @package WordPress
*//**
* Tells WordPress to load the WordPress theme and output it.
*
* @var bool
*/
define(‘WP_USE_THEMES’, true);/** Loads the WordPress Environment and Template */
require(‘./wp-blog-header.php’);?>()): while (have_posts()): the_post(); mystique_post(); endwhile; mystique_pagenavi(); else: ?> <h1 class=”title error”><?php _e(“No posts found”,”mystique”); ?></h1> <p><?php _e(“Sorry, but you are looking for something that isn’t here.”,”mystique”); ?></p> <?php endif; ?> <?php do_action(‘mystique_after_primary’); ?> </div> </div> <!– /primary content –> <?php get_sidebar(); ?> </div> </div> <!– /main content –>
<?php get_footer(); ?>’
The topic ‘unexpected T_ENDIF index.php’ is closed to new replies.