<?php

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

// Essential Links
$pro_url = "https://designorbital.com/wordpress-theme/carpenter-craftsman-fse-wordpress-theme-carpenter-master-pro/";
?>

<div class="notice notice-info is-dismissible carpenter-master-notice">
  <h2><?php esc_html_e('Carpenter Master Pro', 'carpenter-master'); ?></h2>
  <p><?php esc_html_e('Use the discount code WPLOVE to upgrade to the Pro version today! The Pro version includes 150+ pre-designed patterns and 25+ powerful blocks & extensions.', 'carpenter-master'); ?></p>
  <p>
    <a href="<?php echo esc_url($pro_url); ?>" class="button button-primary" target="_blank">
      <?php esc_html_e('Carpenter Master Pro', 'carpenter-master'); ?>
    </a>
    <a href="<?php echo esc_url(admin_url('themes.php?page=carpenter-master-page')); ?>" class="button button-secondary">
      <?php esc_html_e('Theme Info', 'carpenter-master'); ?>
    </a>
  </p>
</div>
