# ai-builder/2.1.2/admin/pages/tuto.php

AI Builder – Generate pages, blocks, images &amp; translate with AI, version 2.1.2. 327 lines.

- Page: https://pluginprobe.com/plugins/ai-builder/2.1.2/code/admin/pages/tuto.php
- Raw: https://pluginprobe.com/plugins/ai-builder/2.1.2/raw/admin/pages/tuto.php
- Modified: 2025-08-23T08:19:58+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/ai-builder/2.1.2/code/admin/pages/tuto.php#L10-L20`.

```php
<div class="ai-tutorial-container ai-fade-in">
    <!-- Header -->
    <div class="ai-tutorial-header">
        <h1>AI Builder Tutorial</h1>
        <p>Learn how to create amazing content with AI-powered WordPress blocks</p>
    </div>

    <!-- Video Section -->
    <div class="ai-video-section">
        <div class="ai-video-container">
            <div class="ai-video-wrapper">
                <iframe width="100%" height="100%" src="https://www.youtube.com/embed/xgaVHXNn3bQ" frameborder="0"
                    allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
                    allowfullscreen>
                </iframe>
            </div>
        </div>
        <div class="ai-video-info">
            <h3>Complete AI Builder Walkthrough</h3>
            <p>Watch this comprehensive tutorial to master all AI Builder features</p>
        </div>
    </div>

    <!-- Features Overview -->
    <div class="ai-features-overview">
        <div class="ai-section-header">
            <h2>Key Features</h2>
            <p>Discover the powerful AI capabilities integrated into WordPress</p>
        </div>

        <div class="ai-features-grid">
            <div class="ai-feature-card">
                <div class="ai-feature-icon">
                    <svg width="32" height="32" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
                        <path d="M12 2L2 7L12 12L22 7L12 2Z" stroke="currentColor" stroke-width="2"
                            stroke-linejoin="round" />
                        <path d="M2 17L12 22L22 17" stroke="currentColor" stroke-width="2" stroke-linejoin="round" />
                        <path d="M2 12L12 17L22 12" stroke="currentColor" stroke-width="2" stroke-linejoin="round" />
                    </svg>
                </div>
                <h3>AI-Powered Pages</h3>
                <p>Generate complete WordPress pages with AI using simple prompts</p>
            </div>

            <div class="ai-feature-card">
                <div class="ai-feature-icon">
                    <svg width="32" height="32" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
                        <rect x="3" y="3" width="18" height="18" rx="2" ry="2" stroke="currentColor" stroke-width="2" />
                        <line x1="9" y1="9" x2="15" y2="9" stroke="currentColor" stroke-width="2" />
                        <line x1="9" y1="12" x2="15" y2="12" stroke="currentColor" stroke-width="2" />
                        <line x1="9" y1="15" x2="13" y2="15" stroke="currentColor" stroke-width="2" />
                    </svg>
                </div>
                <h3>Smart Blocks</h3>
                <p>Create custom Gutenberg blocks with AI-generated content</p>
            </div>

            <div class="ai-feature-card">
                <div class="ai-feature-icon">
                    <svg width="32" height="32" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
                        <rect x="3" y="3" width="18" height="18" rx="2" ry="2" stroke="currentColor" stroke-width="2" />
                        <circle cx="8.5" cy="8.5" r="1.5" stroke="currentColor" stroke-width="2" />
                        <path d="M21 15L16 10L5 21" stroke="currentColor" stroke-width="2" stroke-linecap="round"
                            stroke-linejoin="round" />
                    </svg>
                </div>
                <h3>AI Image Generation</h3>
                <p>Generate stunning images from text descriptions</p>
            </div>

            <div class="ai-feature-card">
                <div class="ai-feature-icon">
                    <svg width="32" height="32" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
                        <path
                            d="M14 2H6C5.46957 2 4.96086 2.21071 4.58579 2.58579C4.21071 2.96086 4 3.46957 4 4V20C4 20.5304 4.21071 21.0391 4.58579 21.4142C4.96086 21.7893 5.46957 22 6 22H18C18.5304 22 19.0391 21.7893 19.4142 21.4142C19.7893 21.0391 20 20.5304 20 20V8L14 2Z"
                            stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" />
                        <path d="M14 2V8H20" stroke="currentColor" stroke-width="2" stroke-linecap="round"
                            stroke-linejoin="round" />
                        <path d="M16 13H8" stroke="currentColor" stroke-width="2" stroke-linecap="round"
                            stroke-linejoin="round" />
                        <path d="M16 17H8" stroke="currentColor" stroke-width="2" stroke-linecap="round"
                            stroke-linejoin="round" />
                        <path d="M10 9H8" stroke="currentColor" stroke-width="2" stroke-linecap="round"
                            stroke-linejoin="round" />
                    </svg>
                </div>
                <h3>AI Text Generation</h3>
                <p>Create compelling text content with AI assistance</p>
            </div>
        </div>
    </div>

    <!-- Detailed Instructions -->
    <div class="ai-instructions-section">
        <div class="ai-section-header">
            <h2>How to Use AI Builder</h2>
            <p>Step-by-step guide to master each feature</p>
        </div>

        <!-- AI Pages -->
        <div class="ai-instruction-card">
            <div class="ai-instruction-header">
                <div class="ai-instruction-icon">
                    <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
                        <path d="M12 2L2 7L12 12L22 7L12 2Z" stroke="currentColor" stroke-width="2"
                            stroke-linejoin="round" />
                        <path d="M2 17L12 22L22 17" stroke="currentColor" stroke-width="2" stroke-linejoin="round" />
                        <path d="M2 12L12 17L22 12" stroke="currentColor" stroke-width="2" stroke-linejoin="round" />
                    </svg>
                </div>
                <div class="ai-instruction-title">
                    <h3>1. Creating AI-Powered Pages</h3>
                    <p>Generate complete WordPress pages with AI</p>
                </div>
            </div>
            <div class="ai-instruction-content">
                <div class="ai-step">
                    <div class="ai-step-number">1</div>
                    <div class="ai-step-content">
                        <h4>Access the Chat Widget</h4>
                        <p>Look for the chat widget in the bottom-left corner of your WordPress editor</p>
                    </div>
                </div>
                <div class="ai-step">
                    <div class="ai-step-number">2</div>
                    <div class="ai-step-content">
                        <h4>Describe Your Page</h4>
                        <p>Enter a detailed prompt describing the page you want to create. Be specific about the
                            content, style, and purpose</p>
                    </div>
                </div>
                <div class="ai-step">
                    <div class="ai-step-number">3</div>
                    <div class="ai-step-content">
                        <h4>Generate Content</h4>
                        <p>Click generate and watch as AI generates complete page content with appropriate Gutenberg
                            blocks
                        </p>
                    </div>
                </div>
                <div class="ai-tip">
                    <div class="ai-tip-icon">💡</div>
                    <div class="ai-tip-content">
                        <strong>Pro Tip:</strong> The more detailed your prompt, the better the AI-generated content
                        will be. Include information about your target audience, tone, and specific sections you want.
                    </div>
                </div>
            </div>
        </div>

        <!-- AI Blocks -->
        <div class="ai-instruction-card">
            <div class="ai-instruction-header">
                <div class="ai-instruction-icon">
                    <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
                        <rect x="3" y="3" width="18" height="18" rx="2" ry="2" stroke="currentColor" stroke-width="2" />
                        <line x1="9" y1="9" x2="15" y2="9" stroke="currentColor" stroke-width="2" />
                        <line x1="9" y1="12" x2="15" y2="12" stroke="currentColor" stroke-width="2" />
                        <line x1="9" y1="15" x2="13" y2="15" stroke="currentColor" stroke-width="2" />
                    </svg>
                </div>
                <div class="ai-instruction-title">
                    <h3>2. Creating AI Blocks</h3>
                    <p>Generate custom Gutenberg blocks with AI</p>
                </div>
            </div>
            <div class="ai-instruction-content">
                <div class="ai-step">
                    <div class="ai-step-number">1</div>
                    <div class="ai-step-content">
                        <h4>Add AI Block</h4>
                        <p>In the Gutenberg editor, click the "+" button and search for "AI Block"</p>
                    </div>
                </div>
                <div class="ai-step">
                    <div class="ai-step-number">2</div>
                    <div class="ai-step-content">
                        <h4>Configure the Block</h4>
                        <p>In the block settings panel, find the "AI Description" field</p>
                    </div>
                </div>
                <div class="ai-step">
                    <div class="ai-step-number">3</div>
                    <div class="ai-step-content">
                        <h4>Describe Your Content</h4>
                        <p>Enter a detailed description of the content you want the AI to generate for this block</p>
                    </div>
                </div>
                <div class="ai-tip">
                    <div class="ai-tip-icon">💡</div>
                    <div class="ai-tip-content">
                        <strong>Pro Tip:</strong> AI Blocks are perfect for creating testimonials, product descriptions,
                        FAQ sections, and any other content that needs to be generated dynamically.
                    </div>
                </div>
            </div>
        </div>

        <!-- AI Images -->
        <div class="ai-instruction-card">
            <div class="ai-instruction-header">
                <div class="ai-instruction-icon">
                    <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
                        <rect x="3" y="3" width="18" height="18" rx="2" ry="2" stroke="currentColor" stroke-width="2" />
                        <circle cx="8.5" cy="8.5" r="1.5" stroke="currentColor" stroke-width="2" />
                        <path d="M21 15L16 10L5 21" stroke="currentColor" stroke-width="2" stroke-linecap="round"
                            stroke-linejoin="round" />
                    </svg>
                </div>
                <div class="ai-instruction-title">
                    <h3>3. Generating AI Images</h3>
                    <p>Create stunning visuals from text descriptions</p>
                </div>
            </div>
            <div class="ai-instruction-content">
                <div class="ai-step">
                    <div class="ai-step-number">1</div>
                    <div class="ai-step-content">
                        <h4>Add AI Image Block</h4>
                        <p>Search for "AI Image" in the Gutenberg block library</p>
                    </div>
                </div>
                <div class="ai-step">
                    <div class="ai-step-number">2</div>
                    <div class="ai-step-content">
                        <h4>Describe Your Image</h4>
                        <p>In the block settings, enter a detailed description of the image you want to generate</p>
                    </div>
                </div>
                <div class="ai-tip">
                    <div class="ai-tip-icon">💡</div>
                    <div class="ai-tip-content">
                        <strong>Pro Tip:</strong> Be specific about style, mood, colors, and composition. Include
                        details like "professional", "vintage", "minimalist", or "colorful" to get better results.
                    </div>
                </div>
            </div>
        </div>

        <!-- AI Text -->
        <div class="ai-instruction-card">
            <div class="ai-instruction-header">
                <div class="ai-instruction-icon">
                    <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
                        <path
                            d="M14 2H6C5.46957 2 4.96086 2.21071 4.58579 2.58579C4.21071 2.96086 4 3.46957 4 4V20C4 20.5304 4.21071 21.0391 4.58579 21.4142C4.96086 21.7893 5.46957 22 6 22H18C18.5304 22 19.0391 21.7893 19.4142 21.4142C19.7893 21.0391 20 20.5304 20 20V8L14 2Z"
                            stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" />
                        <path d="M14 2V8H20" stroke="currentColor" stroke-width="2" stroke-linecap="round"
                            stroke-linejoin="round" />
                        <path d="M16 13H8" stroke="currentColor" stroke-width="2" stroke-linecap="round"
                            stroke-linejoin="round" />
                        <path d="M16 17H8" stroke="currentColor" stroke-width="2" stroke-linecap="round"
                            stroke-linejoin="round" />
                        <path d="M10 9H8" stroke="currentColor" stroke-width="2" stroke-linecap="round"
                            stroke-linejoin="round" />
                    </svg>
                </div>
                <div class="ai-instruction-title">
                    <h3>4. Creating AI Text Content</h3>
                    <p>Generate compelling text with AI assistance</p>
                </div>
            </div>
            <div class="ai-instruction-content">
                <div class="ai-step">
                    <div class="ai-step-number">1</div>
                    <div class="ai-step-content">
                        <h4>Add AI Text Block</h4>
                        <p>Search for "AI Text" in the Gutenberg block library</p>
                    </div>
                </div>
                <div class="ai-step">
                    <div class="ai-step-number">2</div>
                    <div class="ai-step-content">
                        <h4>Define Your Text</h4>
                        <p>In the block settings, describe the type of text you want to generate (blog post, product
                            description, etc.)</p>
                    </div>
                </div>
                <div class="ai-step">
                    <div class="ai-step-number">3</div>
                    <div class="ai-step-content">
                        <h4>Generate and Edit</h4>
                        <p>Click generate and edit the AI-created text to match your exact needs</p>
                    </div>
                </div>
                <div class="ai-tip">
                    <div class="ai-tip-icon">💡</div>
                    <div class="ai-tip-content">
                        <strong>Pro Tip:</strong> Specify the tone (professional, casual, friendly), length, and target
                        audience in your description for better results.
                    </div>
                </div>
            </div>
        </div>
    </div>

    <!-- Getting Started CTA -->
    <div class="ai-cta-section">
        <div class="ai-cta-content">
            <h2>Ready to Get Started?</h2>
            <p>Start creating amazing content with AI Builder today</p>
            <div class="ai-cta-buttons">
                <button type="button" class="ai-primary-btn"
                    onclick="window.location.href='<?php echo esc_url(admin_url('post-new.php')); ?>'">
                    <svg width="16" height="16" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
                        <path d="M12 5V19" stroke="currentColor" stroke-width="2" stroke-linecap="round"
                            stroke-linejoin="round" />
                        <path d="M5 12H19" stroke="currentColor" stroke-width="2" stroke-linecap="round"
                            stroke-linejoin="round" />
                    </svg>
                    Create New Page
                </button>
                <button type="button" class="ai-secondary-btn"
                    onclick="window.location.href='<?php echo esc_url(admin_url('admin.php?page=aibui-credits')); ?>'">
                    <svg width="16" height="16" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
                        <path
                            d="M20 21V19C20 17.9391 19.5786 16.9217 18.8284 16.1716C18.0783 15.4214 17.0609 15 16 15H8C6.93913 15 5.92172 15.4214 5.17157 16.1716C4.42143 16.9217 4 17.9391 4 19V21"
                            stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" />
                        <circle cx="12" cy="7" r="4" stroke="currentColor" stroke-width="2" stroke-linecap="round"
                            stroke-linejoin="round" />
                    </svg>
                    Manage Credits
                </button>
            </div>
        </div>
    </div>
</div>
```
