<?php
/**
 * Thrive Themes - https://thrivethemes.com
 *
 * @package thrive-theme
 */

if ( ! defined( 'ABSPATH' ) ) {
	exit; // Silence is golden!
}

?>

<div class="thrive-no-post-content-notice wordpress-notice">
	<div class="thrive-no-post-content-inner">

		<h2><?php echo esc_html__( 'The Content of this page Cannot be Edited', THEME_DOMAIN ); ?></h2>

		<div class="thrive-no-post-content-text">
			<div>

				<p>
					<?php echo esc_html__( 'Unfortunately, the content of this page cannot be edited.', THEME_DOMAIN ); ?>
				</p>

				<p>
					<?php
					$url       = admin_url( 'admin.php?page=thrive-theme-dashboard&tab=other#templates' );
					$link_html = '<a href="' . $url . '" target="_blank">' . esc_html__( 'Click here', THEME_DOMAIN ) . '</a>';
					?>
					<?php echo sprintf( esc_html__( 'The content of this page is generated by WooCommerce, so it can\'t be edited with Thrive Architect. You can customize the theme template by going to Thrive Dashboard > Thrive Theme Builder > Templates or %s', THEME_DOMAIN ), $link_html ); ?>
				</p>
			</div>

			<div class="thrive-no-post-content-icon">
				<?php tcb_icon( 'post-content', false, 'sidebar', '' ); ?>
				<span class="title"><?php echo esc_html__( 'Post Content', THEME_DOMAIN ); ?></span>
			</div>
		</div>
	</div>
</div>
