ID;
}
$current = array_search(get_the_ID(), $pages);
if (!empty($pages[$current+1])) {
$nextID = $pages[$current+1];
}
if (!empty($nextID)) {
$next_post_url=get_permalink($nextID);
$next_post_link=get_the_title($nextID);
if (!is_front_page($post->ID) && is_page() ) {
echo "
";
}
}
?>