<?php get_header(); ?>

	<div class="content page">
		<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
			<div id="page-<?php the_ID(); ?>" class="page-content">
				<div class="breadcrump">
					<div class="container">
						<a href='<?php echo esc_url( home_url( '/' ) ); ?>'>Home</a><span> / </span><h2><?php  echo (get_field('name_breadcrump')? get_field('name_breadcrump') : get_the_title()); ?></h2>
					</div>
				</div>
				<div class="contentPage container">		
					<nav class="menuPage">
						<?php
							wp_nav_menu(
								array(
								'menu' => 'Internal Pages',
								'container' => false,
								'menu_class' => 'nav navpages',
								'items_wrap'      => '<ul id="%1$s" class="%2$s owl-carousel owl-menuMobile">%3$s</ul>',
								)
							);
						?>
					</nav>	
					<div class="entry">
						<h1 class="titlePage"><?php the_title(); ?></h1>
						<?php the_content(); ?>
					</div><!-- .entry -->
				</div>
			</div><!-- .page-content -->
		<?php endwhile; endif; ?>
	</div><!-- .content -->

<?php get_footer(); ?>