Your IP : 216.73.216.1


Current Path : /home/fotouserdopd8j/agenciacrabli.com/wp-contentn/themes/pally/template-parts/
Upload File :
Current File : /home/fotouserdopd8j/agenciacrabli.com/wp-contentn/themes/pally/template-parts/content-page.php

<?php
/**
 * Template part for displaying page content in page.php
 *
 * @link https://developer.wordpress.org/themes/basics/template-hierarchy/
 *
 * @package pally
 */

?>

<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
	<?php
	if ( is_singular( get_post_type() ) ) {
		if ( is_front_page() && 'page' === get_option( 'show_on_front' ) && get_theme_mod( 'page_hide_title', false ) === false ) { ?>
			<header class="entry-header">
				<?php the_title( '<h1 class="entry-title">', '</h1>' );?>
			</header><!-- .entry-header -->
			<?php
		} else { ?>
			<header class="entry-header">
				<?php the_title( '<h1 class="entry-title">', '</h1>' );?>
			</header><!-- .entry-header -->
			<?php
			}
		} elseif ( ! is_singular( get_post_type() ) ) {?>
				<header class="entry-header">
					<?php
					the_title( '<h2 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h2>' );
					?>
				</header><!-- .entry-header -->
		<?php
		}
	?>
	<?php pally_post_thumbnail(); ?>

	<div class="entry-content">
		<?php
		the_content();

		wp_link_pages(
			array(
				'before' => '<div class="page-links">' . esc_html__( 'Pages:', 'pally' ),
				'after'  => '</div>',
			)
		);
		?>
	</div><!-- .entry-content -->


	<footer class="entry-footer">


	<?php if ( get_edit_post_link() ) : ?>
		<?php
			edit_post_link(
				sprintf(
					wp_kses(
						/* translators: %s: Name of current post. Only visible to screen readers */
						__( 'Edit <span class="screen-reader-text">%s</span>', 'pally' ),
						array(
							'span' => array(
								'class' => array(),
							),
						)
					),
					wp_kses_post( get_the_title() )
				),
				'<span class="edit-link">',
				'</span>'
		);
		?>

		<?php endif; ?>

	</footer><!-- .entry-footer -->

</article><!-- #post-<?php the_ID(); ?> -->