Hi,
I’ve checked your site and noticed that part of your PHP code is commented out.
<!--?php
this part has to be fixed into <?php
for the PHP snippet to work.
Or if you actually intend to comment everything out, you can do this instead.
/*
<?php
wp_reset_postdata();
} //end foreach
} // end if
$nextPost = get_next_post(false);
if($nextPost) {
$args = array(
'posts_per_page' = 1,
'include' => $nextPost->ID
);
$nextPost = get_posts($args);
foreach ($nextPost as $post) {
setup_postdata($post);
?>
*/
It’s basically using the /* [code here] */
comment syntax for PHP.