<div id="upcasted-info-message">
  <h3>IMPORTANT - Read this before using or if you have issues</h3>
  <button class="button button-primary" id="toggle-info" onclick="upcasted_toggle_info_panel()">Read More</button>
</div>
<div class="upcasted-plugin-info">
    <div class="upcasted-col">
        <h3>How to Verify Proper Functioning:</h3>
        <ol>
            <li>Configure the Mandatory Settings of the plugin below and click "Save Settings".</li>
            <li>Select your bucket and click "Save".</li>
            <li>Proceed to the Media Library and upload a file (preferably an image for testing).</li>
            <li>Ensure you can view the file. If it's an image, the preview should be visible.</li>
            <li>Inspect the URL of the uploaded file. It should display the new URL, which you can compare with that of an old file.</li>
        </ol>
        <h3>Helpful articles:</h3>
        <ol>
            <li><a href="https://upcasted.com/aws-s3-what-is-it-why-does-it-help-you-and-how-to-create-an-aws-account-today/" target="_blank">AWS S3 - What is it, why does it help you and how to create an AWS account today?</a></li>
            <li><a href="https://upcasted.com/create-amazon-s3-bucket-generate-iam-api-key-and-secret-key-new-aws-s3/" target="_blank">How to create an Amazon S3 bucket and generate your IAM credentials (API key and Secret key) using the new 2022 AWS S3 interface?</a></li>
        </ol>
        <h3>Support us:</h3>
        <p>
        <a href="https://wordpress.org/support/plugin/upcasted-s3-offload/reviews/" style="text-decoration: none" class="button button-primary" target="_blank">Write a review</a>
            <span class="dashicons dashicons-star-filled"></span><span class="dashicons dashicons-star-filled">
            </span><span class="dashicons dashicons-star-filled"></span><span class="dashicons dashicons-star-filled"></span><span class="dashicons dashicons-star-filled"></span>
        </p>
        <p>Your review is incredibly valuable to us! Please take a moment to rate our product so we can keep improving. If you encounter any issues, we'd appreciate the opportunity to address them before you consider leaving a negative review.</p>
        
    </div>
    <div class="upcasted-col">
        <h3>How it works?</h3>
        <ol>
            <li>Once you've configured the "Mandatory Settings" and selected a bucket, the plugin will automatically transfer all newly added files to your designated bucket.</li>
            <li>With a PRO license, you gain access to additional tools. These tools aid in migrating old files from the media library to S3 and vice versa.</li>
        </ol>
        <h3>How to debug an issue?</h3>
        <ol>
            <li>Edit your wp-config.php file and <a href="https://wordpress.org/support/article/debugging-in-wordpress/" target="_blank">enable debug mode and debug logging</a>.</li>
            <li>Navigate to the wp-content directory and search for debug.log. If you find a file with that name, consider renaming it or deleting it if you no longer need the old logs.</li>
            <li>Reattempt the operation that caused trouble.</li>
            <li>Inspect the contents of debug.log to identify any errors, notices, or warnings, which are timestamped in chronological order.</li>
            <li>Based on the debug log, deactivate plugins that are causing errors one by one, and then repeat steps 3-4 until the issue is resolved. This process helps pinpoint if the problem is caused by another plugin.</li>
            <li>If you're unable to resolve the issue, <a href="https://upcasted.com/contact/" target="_blank">reach out to us</a> for assistance!</li>
        </ol>
    </div>
</div>