<?php
/**
 * The template for displaying all pages.
 *
 * This is the template that displays all pages by default.
 * Please note that this is the WordPress construct of pages
 * and that other 'pages' on your WordPress site will use a
 * different template.
 *
 * @package Sunset
 */

if ( ! defined( 'ABSPATH' ) ) {
	exit; // Exit if accessed directly.
}

get_header(); ?>

<?php
/**
 * sunset_before_site_main hook.
 */
do_action( 'sunset_before_site_main' );
?>

	<main class="site-main">

		<?php
		/**
		 * sunset_before_404_content hook.
		 */
		do_action( 'sunset_before_404_content' );

		/**
		 * sunset_404_content hook.
		 *
		 * @hooked sunset_404_content - 10
		 */
		do_action( 'sunset_404_content' );

		/**
		 * sunset_after_404_content hook.
		 */
		do_action( 'sunset_after_404_content' );
		?>

	</main>

<?php
/**
 * sunset_after_site_main hook.
 */
do_action( 'sunset_after_site_main' );

get_footer();

?>