<?php
// Wishlist Manager Admin Page
if (!defined('ABSPATH')) exit;
?>
<div class="wrap">
    <h1><?php esc_html_e('Wishlist Manager', 'kavehTheme'); ?></h1>
    <p><?php esc_html_e('Welcome to the Wishlist Manager admin panel. Here you will be able to manage wishlists and plugin settings.', 'kavehTheme'); ?></p>
    
    <div class="card">
        <h2><?php esc_html_e('How to Use', 'kavehTheme'); ?></h2>
        <p><?php esc_html_e('The Wishlist Manager plugin automatically creates a "Wishlist" page with the wishlist table shortcode. No manual setup is needed!', 'kavehTheme'); ?></p>
        
        <h3><?php esc_html_e('Available Shortcodes', 'kavehTheme'); ?></h3>
        <ul>
            <li><code>[wlm_button]</code> - <?php esc_html_e('Displays a wishlist button (heart icon)', 'kavehTheme'); ?></li>
            <li><code>[wlm_table]</code> - <?php esc_html_e('Displays the wishlist table with all saved products', 'kavehTheme'); ?></li>
        </ul>
        
        <h3><?php esc_html_e('Wishlist Button Options', 'kavehTheme'); ?></h3>
        <ul>
            <li><code>product_id</code> - <?php esc_html_e('Specify which product the button is for (defaults to current post/product)', 'kavehTheme'); ?></li>
            <li><code>html_tag</code> - <?php esc_html_e('HTML tag to use (button, a, div, span)', 'kavehTheme'); ?></li>
            <li><code>class</code> - <?php esc_html_e('Additional CSS classes', 'kavehTheme'); ?></li>
        </ul>
        
        <h3><?php esc_html_e('Automatic Page Management', 'kavehTheme'); ?></h3>
        <p><?php esc_html_e('The plugin automatically:', 'kavehTheme'); ?></p>
        <ul>
            <li><?php esc_html_e('Creates a "Wishlist" page with the [wlm_table] shortcode', 'kavehTheme'); ?></li>
            <li><?php esc_html_e('Detects if the page is deleted and recreates it', 'kavehTheme'); ?></li>
            <li><?php esc_html_e('Adds a "Wishlist Page" label in the admin pages list', 'kavehTheme'); ?></li>
            <li><?php esc_html_e('Ensures the page content always contains the correct shortcode', 'kavehTheme'); ?></li>
        </ul>
    </div>
    
    <!-- Future: Add stats, list of wishlists, and management tools here -->
</div>