PluginProbe
WPBot – AI ChatBot for Live Support, Lead Generation, WordPress Automation, AI Services / 6.6.0
WPBot – AI ChatBot for Live Support, Lead Generation, WordPress Automation, AI Services v6.6.0
8.7.7 8.7.6 8.7.5 8.7.4 8.7.3 8.7.2 8.7.1 8.7.0 8.6.9 8.6.8 8.6.7 8.6.6 8.6.5 8.6.4 8.6.2 8.6.1 8.6.0 8.5.9 8.5.8 8.5.7 8.5.6 8.5.5 8.5.4 8.5.3 8.5.2 All 533 releases
chatbot / includes / openai / admin / content_writer.php

content_writer.php in WPBot – AI ChatBot for Live Support, Lead Generation, WordPress Automation, AI Services 6.6.0, at includes/openai/admin/content_writer.php

219 lines 16.5 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 global $wpchatbot_pro_professional_init,$wpchatbot_pro_master_init;
3 if((isset($wpchatbot_pro_master_init) && $wpchatbot_pro_master_init->is_valid()) || (isset($wpchatbot_pro_professional_init) && $wpchatbot_pro_professional_init->is_valid()) || (function_exists('get_openaiaddon_valid_license') && get_openaiaddon_valid_license())){
4 ?>
5 <div class="wrap fs-section">
6 <div class="qcld-seohelp qcld_seo_ai_single_content">
7 <div class="qcld-seohelp-input">
8 <div class="qcld-seohelp-input-field">
9 <label for="qcld_article_keyword_suggestion" class="form-label"><?php esc_html_e('Prompt', "qcld-seo-help" ); ?></label><br>
10 <input type="text" id="qcld_article_keyword_suggestion_mf" class="form-control" data-press="qcld_article_keyword_suggestion"><br>
11 </div>
12 </div>
13 <div class="qcld-seohelp-input">
14 <div class="qcld-seohelp-input-field qcld-seohelp-input-field_ai_wrap">
15 <div class="qcld_seohelp_ai_con">
16 <label for="qcld_article_number_of_heading"><?php esc_html_e( "How many headings?", "qcld-seo-help" ); ?></label>
17 <input type="number" placeholder="e.g. 5" id="qcld_article_number_of_heading" class="qcld_article_number_of_heading" name="qcld_article_number_of_heading" value="">
18 </div>
19
20 <div class="qcld_seohelp_ai_con">
21 <label for="qcld_article_heading_tag"><?php esc_html_e( "Heading Tag", "qcld-seo-help" ); ?></label>
22 <select name="qcld_article_heading_tag" id="qcld_article_heading_tag">
23 <option value="h1"><?php esc_html_e( "h1", "qcld-seo-help" ); ?></option>
24 <option value="h2"><?php esc_html_e( "h2", "qcld-seo-help" ); ?></option>
25 <option value="h3"><?php esc_html_e( "h3", "qcld-seo-help" ); ?></option>
26 <option value="h4"><?php esc_html_e( "h4", "qcld-seo-help" ); ?></option>
27 <option value="h5"><?php esc_html_e( "h5", "qcld-seo-help" ); ?></option>
28 <option value="h6"><?php esc_html_e( "h6", "qcld-seo-help" ); ?></option>
29 </select>
30 </div>
31
32 <div class="qcld_seohelp_ai_con">
33 <label for="qcld_article_heading_style"><?php esc_html_e( "Writing Style", "qcld-seo-help" ); ?></label>
34 <select name="qcld_article_heading_style" id="qcld_article_heading_style">
35 <option value="infor"><?php esc_html_e( "Informative", "qcld-seo-help" ); ?></option>
36 <option value="analy"><?php esc_html_e( "Analytical", "qcld-seo-help" ); ?></option>
37 <option value="argum"><?php esc_html_e( "Argumentative", "qcld-seo-help" ); ?></option>
38 <option value="creat"><?php esc_html_e( "Creative", "qcld-seo-help" ); ?></option>
39 <option value="criti"><?php esc_html_e( "Critical", "qcld-seo-help" ); ?></option>
40 <option value="descr"><?php esc_html_e( "Descriptive", "qcld-seo-help" ); ?></option>
41 <option value="evalu"><?php esc_html_e( "Evaluative", "qcld-seo-help" ); ?></option>
42 <option value="expos"><?php esc_html_e( "Expository", "qcld-seo-help" ); ?></option>
43 <option value="journ"><?php esc_html_e( "Journalistic", "qcld-seo-help" ); ?></option>
44 <option value="narra"><?php esc_html_e( "Narrative", "qcld-seo-help" ); ?></option>
45 <option value="persu"><?php esc_html_e( "Persuasive", "qcld-seo-help" ); ?></option>
46 <option value="refle"><?php esc_html_e( "Reflective", "qcld-seo-help" ); ?></option>
47 <option value="simpl"><?php esc_html_e( "Simple", "qcld-seo-help" ); ?></option>
48 <option value="techn"><?php esc_html_e( "Technical", "qcld-seo-help" ); ?></option>
49 <option value="repor"><?php esc_html_e( "Report", "qcld-seo-help" ); ?></option>
50 <option value="resea"><?php esc_html_e( "Research", "qcld-seo-help" ); ?></option>
51 </select>
52 </div>
53
54 <div class="qcld_seohelp_ai_con">
55 <label for="qcld_article_heading_tone"><?php esc_html_e( "Writing Tone", "qcld-seo-help" ); ?></label>
56 <select name="qcld_article_heading_tone" id="qcld_article_heading_tone">
57 <option value="formal"><?php esc_html_e( "Formal", "qcld-seo-help" ); ?></option>
58 <option value="asser"><?php esc_html_e( "Assertive", "qcld-seo-help" ); ?></option>
59 <option value="cheer"><?php esc_html_e( "Cheerful", "qcld-seo-help" ); ?></option>
60 <option value="humor"><?php esc_html_e( "Humorous", "qcld-seo-help" ); ?></option>
61 <option value="informal"><?php esc_html_e( "Informal", "qcld-seo-help" ); ?></option>
62 <option value="inspi"><?php esc_html_e( "Inspirational", "qcld-seo-help" ); ?></option>
63 <option value="neutr"><?php esc_html_e( "Neutral", "qcld-seo-help" ); ?></option>
64 <option value="profe"><?php esc_html_e( "Professional", "qcld-seo-help" ); ?></option>
65 <option value="sarca"><?php esc_html_e( "Sarcastic", "qcld-seo-help" ); ?></option>
66 <option value="skept"><?php esc_html_e( "Skeptical", "qcld-seo-help" ); ?></option>
67 <option value="curio"><?php esc_html_e( "Curious", "qcld-seo-help" ); ?></option>
68 <option value="disap"><?php esc_html_e( "Disappointed", "qcld-seo-help" ); ?></option>
69 <option value="encou"><?php esc_html_e( "Encouraging", "qcld-seo-help" ); ?></option>
70 <option value="optim"><?php esc_html_e( "Optimistic", "qcld-seo-help" ); ?></option>
71 <option value="surpr"><?php esc_html_e( "Surprised", "qcld-seo-help" ); ?></option>
72 <option value="worry"><?php esc_html_e( "Worried", "qcld-seo-help" ); ?></option>
73
74
75 </select>
76 </div>
77
78 <div class="qcld_seohelp_ai_con">
79 <label for="qcld_article_img_size" ><?php esc_html_e('Image Size', "qcld-seo-help" ); ?></label>
80 <select name="qcld_article_img_size" id="qcld_article_img_size">
81 <option value="256x256"><?php esc_html_e( "256x256", "qcld-seo-help" ); ?> </option>
82 <option value="512x512" selected><?php esc_html_e( "512x512", "qcld-seo-help" ); ?> </option>
83 <option value="1024x1024"><?php esc_html_e( "1024x1024", "qcld-seo-help" ); ?> </option>
84 </select>
85 </div>
86
87 <div class="qcld_seohelp_ai_con">
88 <label for="qcld_article_language"><?php esc_html_e( "Language", "qcld-seo-help" ); ?></label>
89 <select name="qcld_article_language" id="qcld_article_language">
90 <option value="en"><?php esc_html_e( "English", "qcld-seo-help" ); ?> </option>
91 <option value="ar"><?php esc_html_e( "Arabic", "qcld-seo-help" ); ?> </option>
92 <option value="bg"><?php esc_html_e( "Bulgarian", "qcld-seo-help" ); ?> </option>
93 <option value="zh"><?php esc_html_e( "Chinese", "qcld-seo-help" ); ?> </option>
94 <option value="cs"><?php esc_html_e( "Czech", "qcld-seo-help" ); ?> </option>
95 <option value="nl"><?php esc_html_e( "Dutch", "qcld-seo-help" ); ?> </option>
96 <option value="fr"> <?php esc_html_e( "French", "qcld-seo-help" ); ?> </option>
97 <option value="de"> <?php esc_html_e( "German", "qcld-seo-help" ); ?> </option>
98 <option value="el"> <?php esc_html_e( "Greek", "qcld-seo-help" ); ?> </option>
99 <option value="hi"> <?php esc_html_e( "Hindi", "qcld-seo-help" ); ?> </option>
100 <option value="hu"> <?php esc_html_e( "Hungarian", "qcld-seo-help" ); ?> </option>
101 <option value="id"> <?php esc_html_e( "Indonesian", "qcld-seo-help" ); ?> </option>
102 <option value="it"> <?php esc_html_e( "Italian", "qcld-seo-help" ); ?> </option>
103 <option value="ja"> <?php esc_html_e( "Japanese", "qcld-seo-help" ); ?> </option>
104 <option value="ko"> <?php esc_html_e( "Korean", "qcld-seo-help" ); ?> </option>
105 <option value="pl"> <?php esc_html_e( "Polish", "qcld-seo-help" ); ?> </option>
106 <option value="pt"> <?php esc_html_e( "Portuguese", "qcld-seo-help" ); ?> </option>
107 <option value="ro"> <?php esc_html_e( "Romanian", "qcld-seo-help" ); ?> </option>
108 <option value="ru"> <?php esc_html_e( "Russian", "qcld-seo-help" ); ?> </option>
109 <option value="es"> <?php esc_html_e( "Spanish", "qcld-seo-help" ); ?> </option>
110 <option value="sv"> <?php esc_html_e( "Swedish", "qcld-seo-help" ); ?> </option>
111 <option value="tr"> <?php esc_html_e( "Turkish", "qcld-seo-help" ); ?> </option>
112 <option value="uk"> <?php esc_html_e( "Ukranian", "qcld-seo-help" ); ?> </option>
113 </select>
114 </div>
115
116
117 </div>
118 </div>
119 <div class="qcld-seohelp-input">
120 <div class="qcld-seohelp-input-field qcld-seohelp-input-field_ai_wrap col-sm-12">
121 <div class="qcld_seohelp_ai_con ">
122 <input type="checkbox" name="qcld_article_heading_img" id="qcld_article_heading_img" class="qcld_article_heading_img" value="1"/>
123 <label for="qcld_article_heading_img" class="form-check-label"><?php esc_html_e( "Add Image", "qcld-seo-help" ); ?></label>
124 </div>
125
126 <div class="qcld_seohelp_ai_con form-check">
127 <input type="checkbox" id="qcld_article_heading_tagline" name="qcld_article_heading_tagline" class="qcld_article_heading_tagline" value="1" />
128 <label for="qcld_article_heading_tagline" class="form-check-label"><?php esc_html_e( "Add Tagline", "qcld-seo-help" ); ?></label>
129 </div>
130
131 <div class="qcld_seohelp_ai_con form-check">
132 <input type="checkbox" id="qcld_article_heading_intro" name="qcld_article_heading_intro" class="qcld_article_heading_intro" value="1"/>
133 <label for="qcld_article_heading_intro" class="form-check-label"><?php esc_html_e( "Add Introduction", "qcld-seo-help" ); ?></label>
134 </div>
135
136 <div class="qcld_seohelp_ai_con form-check">
137 <input type="checkbox" id="qcld_article_heading_conclusion" name="qcld_article_heading_conclusion" class="qcld_article_heading_conclusion" value="1" />
138 <label for="qcld_article_heading_conclusion" class="form-check-label"><?php esc_html_e( "Add Conclusion", "qcld-seo-help" ); ?></label>
139 </div>
140
141 <div class="qcld_seohelp_ai_con form-check">
142 <input type="checkbox" id="qcld_article_heading_faq" name="qcld_article_heading_faq" class="qcld_article_heading_faq" value="1" />
143 <label for="qcld_article_heading_faq" class="form-check-label"><?php esc_html_e( "Add Faq", "qcld-seo-help" ); ?></label>
144 </div>
145 </div>
146 </div>
147 <div class="qcld-seohelp-input">
148 <div class="qcld-seohelp-input-field qcld-seohelp-input-field_ai_wrap">
149
150 <div class="qcld_seohelp_ai_con">
151 <label for="qcld_article_label_anchor_text"><?php esc_html_e( "Anchor Text", "qcld-seo-help" ); ?></label>
152 <input type="text" id="qcld_article_label_anchor_text" placeholder="e.g. battery life" class="qcld_article_label_anchor_text" name="qcld_article_label_anchor_text" >
153 </div>
154
155 <div class="qcld_seohelp_ai_con">
156 <label for="qcld_article_target_url"><?php esc_html_e( "Target URL", "qcld-seo-help" ); ?></label>
157 <input type="url" id="qcld_article_target_url" placeholder="https://..." class="qcld_article_target_url" name="qcld_article_target_url">
158 </div>
159
160 <div class="qcld_seohelp_ai_con">
161 <label for="qcld_article_target_label_cta"><?php esc_html_e( "Add Call-to-Action", "qcld-seo-help" ); ?></label>
162 <input type="url" id="qcld_article_target_label_cta" placeholder="https://..." class="qcld_article_target_label_cta" name="qcld_article_target_label_cta">
163 </div>
164
165
166 <div class="qcld_seohelp_ai_con">
167 <label for="qcld_article_cta_pos"><?php esc_html_e( "Call-to-Action Position", "qcld-seo-help" ); ?></label>
168 <select name="qcld_article_cta_pos" id="qcld_article_cta_pos">
169 <option value="beg"><?php esc_html_e( "Beginning", "qcld-seo-help" ); ?></option>
170 <option value="end"><?php esc_html_e( "End", "qcld-seo-help" ); ?></option>
171 </select>
172 </div>
173
174
175 </div>
176 </div>
177 <div class="qcld-seohelp-input">
178 <div class="qcld-seohelp-input-field qcld-seohelp-input-field_ai_wrap">
179
180 <div class="qcld_seohelp_ai_con">
181 <label for="qcld_article_label_keywords"><?php esc_html_e( "Add Keywords", "qcld-seo-help" ); ?></label>
182 <input type="text" id="qcld_article_label_keywords" placeholder="Write Keywords..." class="qcld_article_label_keywords" name="qcld_article_label_keywords">
183 <p><i><?php esc_html_e( "Use comma to seperate keywords", "qcld-seo-help" ); ?></i></p>
184 </div>
185
186 <div class="qcld_seohelp_ai_con">
187 <label for="qcld_article_label_word_to_avoid"><?php esc_html_e( "Keywords to Avoid", "qcld-seo-help" ); ?></label>
188 <input type="text" id="qcld_article_label_word_to_avoid" placeholder="Write Keywords..." class="qcld_article_label_word_to_avoid" name="qcld_article_label_word_to_avoid" value="">
189 <p><i><?php esc_html_e( "Use comma to seperate keywords", "qcld-seo-help" ); ?></i></p>
190 </div>
191
192 <div class="qcld_seohelp_ai_con form-check">
193 <input type="checkbox" id="qcld_article_label_keywords_bold" class="qcld_article_label_keywords_bold" name="qcld_article_label_keywords_bold" value="1">
194 <label for="qcld_article_label_keywords_bold" class="form-check-label"><?php esc_html_e( "Make Keywords Bold", "qcld-seo-help" ); ?></label>
195 </div>
196
197
198 </div>
199 </div>
200 <button id="qcld_article_keyword_suggestion" class="btn btn-info"><?php esc_html_e('Generate', 'qcld-seo-help'); ?></button>
201 </div>
202 <hr/>
203 <div class="linkbait_single_field">
204 <div id="linkbait_article_keyword_data">
205 </div>
206 </div>
207 </div>
208 <?php
209 } else { ?>
210 <div class="row my-4">
211 <div class="col-md-12">
212 <?php esc_html_e('Fine tuning and training is available with the ');?>
213 <a href="https://www.wpbot.pro/pricing/"><?php esc_html_e('WPBot Pro Professional'); ?></a>
214 <?php esc_html_e(' and '); ?>
215 <a href="https://www.wpbot.pro/pricing/"><?php esc_html_e('Master'); ?></a>
216 <?php esc_html_e(' Licenses'); ?>
217 </div>
218 </div>
219 <?php } ?>