Plugin Directory

Changeset 3320491


Ignore:
Timestamp:
07/01/2025 09:56:54 AM (8 months ago)
Author:
nurrdigitalbd
Message:

Test commit to check SVN connection

File:
1 edited

Legend:

Unmodified
Added
Removed
  • buy-now-button-with-elementor-for-woocommerce/trunk/admin/help-support-page.php

    r3318466 r3320491  
    33    exit;
    44}
     5
     6// ✅ Enqueue Bootstrap (local)
     7wp_enqueue_style(
     8    'bnbw-bootstrap-css',
     9    plugin_dir_url(__FILE__) . '../assets/css/bootstrap.min.css',
     10    [],
     11    '5.3.3'
     12);
    513?>
    614
    7 <div class="wrap container my-5">
    8     <h1 class="help-title">Help & Support</h1>
     15<div class="container-fluid my-4 px-3">
     16    <div class="card shadow border-0">
     17        <div class="card-body">
     18            <h1 class="mb-4"><?php esc_html_e( '📘 Help & Support', 'buy-now-button-with-elementor-for-woocommerce' ); ?></h1>
    919
    10     <div class="help-card">
    11         <h2 class="help-subtitle">How to Use the Plugin</h2>
    12         <p>
    13             This plugin adds a <strong>"Buy Now"</strong> button to your WooCommerce products, allowing customers to skip the cart and go directly to the checkout page.
    14         </p>
     20            <div class="mb-5">
     21                <h2 class="h4 text-primary"><?php esc_html_e( 'How to Use the Plugin', 'buy-now-button-with-elementor-for-woocommerce' ); ?></h2>
     22                <p>
     23                    <?php esc_html_e( 'This plugin adds a "Buy Now" button to your WooCommerce products, allowing customers to skip the cart and go directly to the checkout page.', 'buy-now-button-with-elementor-for-woocommerce' ); ?>
     24                </p>
     25            </div>
    1526
    16         <h3 class="help-subtitle">Admin Settings</h3>
    17         <ul class="help-list">
    18             <li>Enable or disable the Buy Now button.</li>
    19             <li>Change button background color and text color.</li>
    20             <li>Set custom label text for the button (e.g., "Buy Now", "Get It Now").</li>
    21         </ul>
     27            <div class="mb-5">
     28                <h3 class="h5 text-dark"><?php esc_html_e( 'Admin Settings', 'buy-now-button-with-elementor-for-woocommerce' ); ?></h3>
     29                <ul class="list-group list-group-flush mb-3">
     30                    <li class="list-group-item"><?php esc_html_e( 'Enable or disable the Buy Now button.', 'buy-now-button-with-elementor-for-woocommerce' ); ?></li>
     31                    <li class="list-group-item"><?php esc_html_e( 'Change button background color and text color.', 'buy-now-button-with-elementor-for-woocommerce' ); ?></li>
     32                    <li class="list-group-item"><?php esc_html_e( 'Set custom label text for the button (e.g., "Buy Now", "Get It Now").', 'buy-now-button-with-elementor-for-woocommerce' ); ?></li>
     33                </ul>
     34            </div>
    2235
    23         <h3 class="help-subtitle">Elementor Widget Support</h3>
    24         <p>
    25             This plugin comes with built-in Elementor widget support so you can add the Buy Now button anywhere on your pages using Elementor.
    26         </p>
     36            <div class="mb-5">
     37                <h3 class="h5 text-dark"><?php esc_html_e( 'Elementor Widget Support', 'buy-now-button-with-elementor-for-woocommerce' ); ?></h3>
     38                <p>
     39                    <?php esc_html_e( 'This plugin comes with built-in Elementor widget support so you can add the Buy Now button anywhere on your pages using Elementor.', 'buy-now-button-with-elementor-for-woocommerce' ); ?>
     40                </p>
    2741
    28         <h4>Widget Name:</h4>
    29         <p><code>Buy Now Button</code></p>
     42                <h4 class="h6"><?php esc_html_e( 'Widget Name:', 'buy-now-button-with-elementor-for-woocommerce' ); ?></h4>
     43                <p><code>Buy Now Button</code></p>
    3044
    31         <h4>Steps to use:</h4>
    32         <ol class="help-list-ordered">
    33             <li>Open the page with Elementor editor.</li>
    34             <li>Search for <strong>Buy Now Button</strong> in the widget panel.</li>
    35             <li>Drag and drop it anywhere on your page.</li>
    36             <li>Customize the label text, background color, and text color from the left panel.</li>
    37         </ol>
     45                <h4 class="h6"><?php esc_html_e( 'Steps to use:', 'buy-now-button-with-elementor-for-woocommerce' ); ?></h4>
     46                <ol class="ps-3">
     47                    <li><?php esc_html_e( 'Open the page with Elementor editor.', 'buy-now-button-with-elementor-for-woocommerce' ); ?></li>
     48                    <li><?php esc_html_e( 'Search for "Buy Now Button" in the widget panel.', 'buy-now-button-with-elementor-for-woocommerce' ); ?></li>
     49                    <li><?php esc_html_e( 'Drag and drop it anywhere on your page.', 'buy-now-button-with-elementor-for-woocommerce' ); ?></li>
     50                    <li><?php esc_html_e( 'Customize the label text, background color, and text color from the left panel.', 'buy-now-button-with-elementor-for-woocommerce' ); ?></li>
     51                </ol>
    3852
    39         <p><strong>Result:</strong> When the button is clicked, it redirects the user directly to the WooCommerce checkout page without adding the product to the cart.</p>
    40     </div>
     53                <p><strong><?php esc_html_e( 'Result:', 'buy-now-button-with-elementor-for-woocommerce' ); ?></strong>
     54                    <?php esc_html_e( 'When the button is clicked, it redirects the user directly to the WooCommerce checkout page without adding the product to the cart.', 'buy-now-button-with-elementor-for-woocommerce' ); ?>
     55                </p>
     56            </div>
    4157
    42     <div class="help-card">
    43         <h2 class="help-subtitle">Need Help?</h2>
    44         <p>If you face any issues or need assistance, please contact our support team.</p>
    45         <p>
    46             <a href="https://whatsapp.com/channel/0029VbAi4YtGzzKKAVG5HP3D" target="_blank" rel="noopener" class="btn-whatsapp" aria-label="Contact Support on WhatsApp">
    47                 Contact via WhatsApp
    48             </a>
    49         </p>
     58            <div class="mb-3">
     59                <h2 class="h5 text-danger"><?php esc_html_e( 'Need Help?', 'buy-now-button-with-elementor-for-woocommerce' ); ?></h2>
     60                <p><?php esc_html_e( 'If you face any issues or need assistance, please contact our support team.', 'buy-now-button-with-elementor-for-woocommerce' ); ?></p>
     61                <a href="https://whatsapp.com/channel/0029VbAi4YtGzzKKAVG5HP3D" target="_blank" rel="noopener"
     62                   class="btn btn-success btn-lg d-inline-flex align-items-center gap-2">
     63                    <!-- WhatsApp Icon -->
     64                    <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="currentColor" class="bi bi-whatsapp" viewBox="0 0 16 16">
     65                        <path d="M13.601 2.326a7.876 7.876 0 0 0-11.134 0c-3.07 3.1-2.902 8.229-.434 11.628L.043 16l2.14-.562c3.25 1.446 7.265.398 9.5-2.258a7.876 7.876 0 0 0-.082-10.854zM8.17 14.204a6.09 6.09 0 0 1-3.07-.83l-.221-.133-1.816.477.49-1.766-.145-.227a6.138 6.138 0 0 1-.937-3.263A6.172 6.172 0 0 1 8.17 2.455a6.12 6.12 0 0 1 4.348 10.434 6.075 6.075 0 0 1-4.348 1.315z"/>
     66                        <path d="M11.476 9.908c-.194-.097-1.148-.567-1.327-.633-.178-.066-.308-.097-.438.097s-.504.633-.618.764c-.115.132-.229.147-.423.05-.194-.097-.82-.302-1.56-.964-.577-.513-.967-1.147-1.08-1.341-.113-.194-.012-.298.085-.395.087-.087.194-.229.291-.344.097-.115.129-.193.194-.322.065-.128.032-.24-.016-.336-.049-.097-.438-1.058-.6-1.447-.158-.382-.32-.33-.438-.336l-.373-.007c-.13 0-.34.048-.52.24-.18.192-.682.667-.682 1.63s.698 1.887.796 2.02c.097.132 1.375 2.1 3.333 2.946.467.201.83.32 1.114.409.467.148.891.127 1.226.077.374-.056 1.148-.469 1.31-.923.162-.454.162-.843.113-.923-.048-.08-.177-.128-.37-.225z"/>
     67                    </svg>
     68                    <?php esc_html_e( 'Contact via WhatsApp', 'buy-now-button-with-elementor-for-woocommerce' ); ?>
     69                </a>
     70            </div>
     71        </div>
    5072    </div>
    5173</div>
Note: See TracChangeset for help on using the changeset viewer.