Thursday 29 September 2016

php - Parse error: syntax error, unexpected 'endif' (T_ENDIF)

SOLVED: short_open_tag was off, that's the problem. Turning it on and everything work now!



I'm currently making a theme and this happens. I don't understand why the code did not work. I've read some similar topic about this but they don't help resolving my problem:



Parse error: syntax error, unexpected 'endif' (T_ENDIF) in C:\xampp\htdocs\wp\wp-content\themes\boxtruyen\single-ngan.php on line 105



Please help, I could not figure out the error!



















Đăng bởi , lúc , tại

Đọc:




<?the_title()?>












Bình luận










Cùng Chuyên Mục





array('ngan'), 'post_status' => 'publish', 'posts_per_page' => $related_number, 'post__not_in' => array($ID_parent), 'orderby' => 'RAND' ); $list = new wp_query($args); ?>
have_posts()):?>
the_post()?>



  • <?the_title()?>















  • No comments:

    Post a Comment

    c++ - Does curly brackets matter for empty constructor?

    Those brackets declare an empty, inline constructor. In that case, with them, the constructor does exist, it merely does nothing more than t...