PluginProbe
BotWriter – AI Writer & SEO Content Generator / trunk
BotWriter – AI Writer & SEO Content Generator vtrunk
3.4.10 3.4.9 3.4.8 3.4.7 3.4.6 3.4.4 3.4.2 3.4.1 3.4.0 3.3.9 3.3.8 3.3.7 3.3.6 3.3.5 3.3.4 3.3.3 3.3.2 3.3.1 3.3.0 3.2.8 trunk 1.3.0 1.3.1 1.3.2 1.3.3 All 51 releases
botwriter / includes / settings / none.php

none.php in BotWriter – AI Writer & SEO Content Generator trunk, at includes/settings/none.php

97 lines 4.6 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * "No Image Generation" Settings
4 *
5 * Shows informational notice and promotes All Sources Images plugin
6 * when the user disables AI image generation.
7 *
8 * @package BotWriter
9 */
10
11 if (!defined('ABSPATH')) {
12 exit;
13 }
14
15 /**
16 * Render "No Image Generation" settings
17 * Called when 'none' is selected as image_provider
18 */
19 function botwriter_render_none_settings($settings, $is_active) {
20 ?>
21 <div class="provider-config-section none-provider-section">
22 <!-- Info box -->
23 <div class="notice notice-info inline bw-notice-info-inline" style="margin-bottom: 20px;">
24 <p>
25 <span class="dashicons dashicons-info bw-icon-info"></span>
26 <strong><?php esc_html_e('AI Image Generation Disabled', 'botwriter'); ?></strong>
27 </p>
28 <p>
29 <?php esc_html_e('Posts will be created without featured images. You can add images manually after post creation.', 'botwriter'); ?>
30 </p>
31 </div>
32
33 <!-- All Sources Images Promotion Banner -->
34 <div class="bw-asi-promo-banner">
35 <div class="bw-asi-promo-header">
36 <span class="bw-asi-promo-icon">🖼</span>
37 <div class="bw-asi-promo-title">
38 <strong><?php esc_html_e('Want FREE Images for Your AI Posts?', 'botwriter'); ?></strong>
39 <span class="bw-asi-promo-badge"><?php esc_html_e('Recommended', 'botwriter'); ?></span>
40 </div>
41 </div>
42
43 <div class="bw-asi-promo-content">
44 <p class="bw-asi-promo-subtitle">
45 <?php esc_html_e('Use All Sources Images to automatically add images to BotWriter-generated posts:', 'botwriter'); ?>
46 </p>
47
48 <div class="bw-asi-promo-features">
49 <div class="bw-asi-feature-group">
50 <span class="bw-asi-feature-icon">📷</span>
51 <div>
52 <strong><?php esc_html_e('FREE Stock Photos', 'botwriter'); ?></strong>
53 <span><?php esc_html_e('Pexels, Unsplash, Pixabay, Flickr, Openverse', 'botwriter'); ?></span>
54 </div>
55 </div>
56 <div class="bw-asi-feature-group">
57 <span class="bw-asi-feature-icon">🤖</span>
58 <div>
59 <strong><?php esc_html_e('AI Generation', 'botwriter'); ?></strong>
60 <span><?php esc_html_e('DALL-E, Stable Diffusion, Gemini, Replicate', 'botwriter'); ?></span>
61 </div>
62 </div>
63 <div class="bw-asi-feature-group">
64 <span class="bw-asi-feature-icon">🎬</span>
65 <div>
66 <strong><?php esc_html_e('GIFs & Videos', 'botwriter'); ?></strong>
67 <span><?php esc_html_e('GIPHY, YouTube thumbnails', 'botwriter'); ?></span>
68 </div>
69 </div>
70 </div>
71
72 <div class="bw-asi-promo-benefits">
73 <span><span class="dashicons dashicons-yes-alt"></span> <?php esc_html_e('Auto-generate on post publish', 'botwriter'); ?></span>
74 <span><span class="dashicons dashicons-yes-alt"></span> <?php esc_html_e('Bulk process existing posts', 'botwriter'); ?></span>
75 <span><span class="dashicons dashicons-yes-alt"></span> <?php esc_html_e('Insert images inside content', 'botwriter'); ?></span>
76 </div>
77 </div>
78
79 <div class="bw-asi-promo-actions">
80 <a href="<?php echo esc_url(admin_url('plugin-install.php?s=all+sources+images&tab=search&type=term')); ?>" class="button button-primary bw-asi-btn-install">
81 <span class="dashicons dashicons-download"></span>
82 <?php esc_html_e('Install Free Plugin', 'botwriter'); ?>
83 </a>
84 <a href="https://wordpress.org/plugins/all-sources-images/" target="_blank" class="button bw-asi-btn-learn">
85 <?php esc_html_e('Learn More', 'botwriter'); ?>
86 </a>
87 </div>
88
89 <p class="bw-asi-promo-note">
90 <span class="dashicons dashicons-info"></span>
91 <?php esc_html_e('Works perfectly with BotWriter! Auto-add images when posts are created.', 'botwriter'); ?>
92 </p>
93 </div>
94 </div>
95 <?php
96 }
97