Changeset 3463013
- Timestamp:
- 02/17/2026 03:09:46 AM (5 days ago)
- Location:
- apicoid-ghostwriter
- Files:
-
- 16 edited
- 1 copied
-
tags/1.4.1 (copied) (copied from apicoid-ghostwriter/trunk)
-
tags/1.4.1/CHANGELOG.md (modified) (2 diffs)
-
tags/1.4.1/apicoid-ghostwriter.php (modified) (5 diffs)
-
tags/1.4.1/assets/css/admin.css (modified) (1 diff)
-
tags/1.4.1/assets/js/admin.js (modified) (3 diffs)
-
tags/1.4.1/assets/js/article-generator.js (modified) (8 diffs)
-
tags/1.4.1/includes/article-optimizer-page.php (modified) (3 diffs)
-
tags/1.4.1/includes/settings-page.php (modified) (1 diff)
-
tags/1.4.1/readme.txt (modified) (3 diffs)
-
trunk/CHANGELOG.md (modified) (2 diffs)
-
trunk/apicoid-ghostwriter.php (modified) (5 diffs)
-
trunk/assets/css/admin.css (modified) (1 diff)
-
trunk/assets/js/admin.js (modified) (3 diffs)
-
trunk/assets/js/article-generator.js (modified) (8 diffs)
-
trunk/includes/article-optimizer-page.php (modified) (3 diffs)
-
trunk/includes/settings-page.php (modified) (1 diff)
-
trunk/readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
apicoid-ghostwriter/tags/1.4.1/CHANGELOG.md
r3461830 r3463013 5 5 The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), 6 6 and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). 7 8 ## [1.4.1] - 2026-02-17 9 10 ### Added 11 - **FAQ Option**: New "Generate FAQ" checkbox in article generation and rewriting forms to include an FAQ section in generated content 12 - **FAQ in Presets**: FAQ setting is now stored in and loaded from article presets (Settings page, all modal forms) 13 - **FAQ Across All Flows**: FAQ parameter is sent to the API in Generate Article, Rewrite Article, Generate by Category, and Create Support Article workflows 7 14 8 15 ## [1.4.0] - 2026-02-15 … … 143 150 - Secure API key validation 144 151 152 [1.4.1]: https://github.com/apicoid/ghostwriter/compare/v1.4.0...v1.4.1 145 153 [1.4.0]: https://github.com/apicoid/ghostwriter/compare/v1.3.3...v1.4.0 146 154 [1.3.3]: https://github.com/apicoid/ghostwriter/compare/v1.3.2...v1.3.3 -
apicoid-ghostwriter/tags/1.4.1/apicoid-ghostwriter.php
r3461830 r3463013 4 4 * Plugin URI: https://wordpress.org/plugins/apicoid-ghostwriter/ 5 5 * Description: Connects your WordPress site to Api.co.id to generate content and rewrite content automatically using AI. Features include article generation, content rewriting, automatic related article linking, SEO integration, and image generation. 6 * Version: 1.4. 06 * Version: 1.4.1 7 7 * Author: Api.co.id 8 8 * Author URI: https://api.co.id … … 21 21 22 22 // Define plugin constants 23 define( 'APICOID_GW_VERSION', '1.4. 0' );23 define( 'APICOID_GW_VERSION', '1.4.1' ); 24 24 define( 'APICOID_GW_DIR', plugin_dir_path( __FILE__ ) ); 25 25 define( 'APICOID_GW_URL', plugin_dir_url( __FILE__ ) ); … … 1529 1529 $data['related_articles'] = (bool) $_POST['related_articles']; 1530 1530 } 1531 1531 if ( isset( $_POST['faq'] ) ) { 1532 $data['faq'] = (bool) $_POST['faq']; 1533 } 1534 1532 1535 // Store generation data for later use (regenerate) 1533 1536 $generation_data_json = wp_json_encode( $data ); 1534 1537 1535 1538 // Validate required fields 1536 1539 $required_fields = array( … … 2029 2032 $data['related_articles'] = (bool) $_POST['related_articles']; 2030 2033 } 2031 2034 if ( isset( $_POST['faq'] ) ) { 2035 $data['faq'] = (bool) $_POST['faq']; 2036 } 2037 2032 2038 // Store generation data for later use 2033 2039 $generation_data_json = wp_json_encode( $data ); 2034 2040 2035 2041 if ( empty( $data['url'] ) ) { 2036 2042 wp_send_json_error( array( 'message' => __( 'URL is required.', 'apicoid-ghostwriter' ) ) ); … … 3460 3466 'related_articles' => ! empty( $_POST['related_articles'] ), 3461 3467 'related_article_label' => isset( $_POST['related_article_label'] ) ? sanitize_text_field( wp_unslash( $_POST['related_article_label'] ) ) : '', 3468 'faq' => ! empty( $_POST['faq'] ), 3462 3469 ); 3463 3470 -
apicoid-ghostwriter/tags/1.4.1/assets/css/admin.css
r3461830 r3463013 505 505 margin-top: 12px; 506 506 margin-bottom: 0; 507 } 508 509 .apicoid-gw-setup-link a { 507 }.apicoid-gw-setup-link a { 510 508 font-weight: 600; 511 509 } -
apicoid-ghostwriter/tags/1.4.1/assets/js/admin.js
r3461830 r3463013 209 209 $('#apicoid-gw-preset-field-related-articles').prop('checked', !!preset.related_articles); 210 210 $('#apicoid-gw-preset-field-related-article-label').val(preset.related_article_label || ''); 211 $('#apicoid-gw-preset-field-faq').prop('checked', !!preset.faq); 211 212 $('#apicoid-gw-preset-preview-label').text(preset.related_article_label || 'Related Article'); 212 213 … … 230 231 $('#apicoid-gw-preset-field-related-articles').prop('checked', false); 231 232 $('#apicoid-gw-preset-field-related-article-label').val(''); 233 $('#apicoid-gw-preset-field-faq').prop('checked', false); 232 234 } 233 235 … … 300 302 generate_image: $('#apicoid-gw-preset-field-generate-image').is(':checked') ? 1 : 0, 301 303 related_articles: $('#apicoid-gw-preset-field-related-articles').is(':checked') ? 1 : 0, 302 related_article_label: $('#apicoid-gw-preset-field-related-article-label').val() 304 related_article_label: $('#apicoid-gw-preset-field-related-article-label').val(), 305 faq: $('#apicoid-gw-preset-field-faq').is(':checked') ? 1 : 0 303 306 }, 304 307 success: function(response) { -
apicoid-ghostwriter/tags/1.4.1/assets/js/article-generator.js
r3461830 r3463013 74 74 $('#' + p + 'generate_image').prop('checked', !!preset.generate_image); 75 75 $('#' + p + 'related_articles').prop('checked', !!preset.related_articles); 76 $('#' + p + 'faq').prop('checked', !!preset.faq); 76 77 77 78 // Related article label … … 129 130 $form.find('input[name="related_articles"], [id$="_related_articles"]').prop('checked', !!preset.related_articles); 130 131 $form.find('input[name="related_article_label"], [id$="_related_article_label"]').val(preset.related_article_label || ''); 132 $form.find('input[name="faq"], [id$="_faq"]').prop('checked', !!preset.faq); 131 133 }); 132 134 … … 494 496 related_articles: relatedArticles ? 1 : 0, 495 497 generate_image: generateImage ? 1 : 0, 496 related_article_label: $('#apicoid_gw_related_article_label').val() || '' 498 related_article_label: $('#apicoid_gw_related_article_label').val() || '', 499 faq: $('#apicoid_gw_faq').is(':checked') ? 1 : 0 497 500 }, 498 501 dataType: 'json', … … 623 626 related_articles: relatedArticles ? 1 : 0, 624 627 generate_image: generateImage ? 1 : 0, 625 related_article_label: $('#rewrite_related_article_label').val() || '' 628 related_article_label: $('#rewrite_related_article_label').val() || '', 629 faq: $('#rewrite_faq').is(':checked') ? 1 : 0 626 630 }, 627 631 dataType: 'json', … … 943 947 if ($('#apicoid_gw_generate_image').is(':checked')) { 944 948 $generateForm.find('#category_apicoid_gw_generate_image').prop('checked', true); 949 } 950 if ($('#apicoid_gw_faq').is(':checked')) { 951 $generateForm.find('#category_apicoid_gw_faq').prop('checked', true); 945 952 } 946 953 … … 1087 1094 related_articles: relatedArticles ? 1 : 0, 1088 1095 generate_image: generateImage ? 1 : 0, 1089 related_article_label: $generateForm.find('#category_apicoid_gw_related_article_label').val() || '' 1096 related_article_label: $generateForm.find('#category_apicoid_gw_related_article_label').val() || '', 1097 faq: $generateForm.find('#category_apicoid_gw_faq').is(':checked') ? 1 : 0 1090 1098 }, 1091 1099 dataType: 'json', … … 1396 1404 if ($('#apicoid_gw_generate_image').is(':checked')) { 1397 1405 $generateForm.find('#suggestion_apicoid_gw_generate_image').prop('checked', true); 1406 } 1407 if ($('#apicoid_gw_faq').is(':checked')) { 1408 $generateForm.find('#suggestion_apicoid_gw_faq').prop('checked', true); 1398 1409 } 1399 1410 … … 1630 1641 related_articles: relatedArticles ? 1 : 0, 1631 1642 generate_image: generateImage ? 1 : 0, 1632 related_article_label: $generateForm.find('#suggestion_apicoid_gw_related_article_label').val() || '' 1643 related_article_label: $generateForm.find('#suggestion_apicoid_gw_related_article_label').val() || '', 1644 faq: $generateForm.find('#suggestion_apicoid_gw_faq').is(':checked') ? 1 : 0 1633 1645 }; 1634 1646 -
apicoid-ghostwriter/tags/1.4.1/includes/article-optimizer-page.php
r3461830 r3463013 73 73 $default_additional_prompt = ! empty( $default_preset['additional_prompt'] ) ? $default_preset['additional_prompt'] : ''; 74 74 $default_generate_image = isset( $default_preset['generate_image'] ) ? (bool) $default_preset['generate_image'] : false; 75 $default_faq = isset( $default_preset['faq'] ) ? (bool) $default_preset['faq'] : false; 75 76 $default_related_article_label = ! empty( $default_preset['related_article_label'] ) ? $default_preset['related_article_label'] : 'Related Article'; 76 77 … … 495 496 <tr> 496 497 <th scope="row"> 498 <label for="apicoid_gw_faq"><?php esc_html_e( 'Generate FAQ', 'apicoid-ghostwriter' ); ?></label> 499 </th> 500 <td> 501 <label> 502 <input type="checkbox" id="apicoid_gw_faq" name="faq" value="1" <?php checked( $default_faq, true ); ?> /> 503 <?php esc_html_e( 'Include FAQ section in the generated article', 'apicoid-ghostwriter' ); ?> 504 </label> 505 </td> 506 </tr> 507 <tr> 508 <th scope="row"> 497 509 <label for="apicoid_gw_generate_image"><?php esc_html_e( 'Generate Image?', 'apicoid-ghostwriter' ); ?></label> 498 510 </th> … … 703 715 <input type="text" id="rewrite_related_article_label" name="related_article_label" class="regular-text" value="<?php echo esc_attr( $default_related_article_label ); ?>" placeholder="<?php echo esc_attr__( 'Related Article', 'apicoid-ghostwriter' ); ?>" /> 704 716 <p class="description"><?php esc_html_e( 'Text shown before related article links (e.g. "Related Article", "Artikel terkait")', 'apicoid-ghostwriter' ); ?></p> 717 </td> 718 </tr> 719 <tr> 720 <th scope="row"> 721 <label for="rewrite_faq"><?php esc_html_e( 'Generate FAQ', 'apicoid-ghostwriter' ); ?></label> 722 </th> 723 <td> 724 <label> 725 <input type="checkbox" id="rewrite_faq" name="faq" value="1" <?php checked( $default_faq, true ); ?> /> 726 <?php esc_html_e( 'Include FAQ section in the rewritten article', 'apicoid-ghostwriter' ); ?> 727 </label> 705 728 </td> 706 729 </tr> -
apicoid-ghostwriter/tags/1.4.1/includes/settings-page.php
r3461830 r3463013 201 201 <tr> 202 202 <th scope="row"> 203 <label><?php esc_html_e( 'Generate FAQ', 'apicoid-ghostwriter' ); ?></label> 204 </th> 205 <td> 206 <label> 207 <input type="checkbox" id="apicoid-gw-preset-field-faq" value="1" /> 208 <?php esc_html_e( 'Include FAQ section in generated articles', 'apicoid-ghostwriter' ); ?> 209 </label> 210 </td> 211 </tr> 212 <tr> 213 <th scope="row"> 203 214 <label><?php esc_html_e( 'Generate Image?', 'apicoid-ghostwriter' ); ?></label> 204 215 </th> -
apicoid-ghostwriter/tags/1.4.1/readme.txt
r3461830 r3463013 5 5 Requires at least: 6.2 6 6 Tested up to: 6.9 7 Stable tag: 1.4. 07 Stable tag: 1.4.1 8 8 Requires PHP: 7.4 9 9 License: GPLv2 or later … … 131 131 132 132 == Changelog == 133 134 = 1.4.1 = 135 * FAQ Option: Added new "Generate FAQ" checkbox to article generation and rewriting forms to include an FAQ section in generated content 136 * FAQ in Presets: FAQ setting is now saved and loaded from article presets 137 * FAQ across all flows: FAQ parameter is sent to the API in Generate Article, Rewrite Article, Generate by Category, and Create Support Article 133 138 134 139 = 1.4.0 = … … 221 226 == Upgrade Notice == 222 227 228 = 1.4.1 = 229 This update adds a new "Generate FAQ" option to article generation and rewriting. Enable it to automatically include an FAQ section in your generated articles. The setting is also available in presets. 230 223 231 = 1.4.0 = 224 232 This update introduces Auto Schedule, allowing you to schedule posts with one click from the post editor. Configure daily article limits and time windows in Settings, then auto-schedule drafts with smart related article reinjection that prevents 404 links. Scheduled posts are now visible in the Article Generator list and can be used to generate support articles. -
apicoid-ghostwriter/trunk/CHANGELOG.md
r3461830 r3463013 5 5 The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), 6 6 and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). 7 8 ## [1.4.1] - 2026-02-17 9 10 ### Added 11 - **FAQ Option**: New "Generate FAQ" checkbox in article generation and rewriting forms to include an FAQ section in generated content 12 - **FAQ in Presets**: FAQ setting is now stored in and loaded from article presets (Settings page, all modal forms) 13 - **FAQ Across All Flows**: FAQ parameter is sent to the API in Generate Article, Rewrite Article, Generate by Category, and Create Support Article workflows 7 14 8 15 ## [1.4.0] - 2026-02-15 … … 143 150 - Secure API key validation 144 151 152 [1.4.1]: https://github.com/apicoid/ghostwriter/compare/v1.4.0...v1.4.1 145 153 [1.4.0]: https://github.com/apicoid/ghostwriter/compare/v1.3.3...v1.4.0 146 154 [1.3.3]: https://github.com/apicoid/ghostwriter/compare/v1.3.2...v1.3.3 -
apicoid-ghostwriter/trunk/apicoid-ghostwriter.php
r3461830 r3463013 4 4 * Plugin URI: https://wordpress.org/plugins/apicoid-ghostwriter/ 5 5 * Description: Connects your WordPress site to Api.co.id to generate content and rewrite content automatically using AI. Features include article generation, content rewriting, automatic related article linking, SEO integration, and image generation. 6 * Version: 1.4. 06 * Version: 1.4.1 7 7 * Author: Api.co.id 8 8 * Author URI: https://api.co.id … … 21 21 22 22 // Define plugin constants 23 define( 'APICOID_GW_VERSION', '1.4. 0' );23 define( 'APICOID_GW_VERSION', '1.4.1' ); 24 24 define( 'APICOID_GW_DIR', plugin_dir_path( __FILE__ ) ); 25 25 define( 'APICOID_GW_URL', plugin_dir_url( __FILE__ ) ); … … 1529 1529 $data['related_articles'] = (bool) $_POST['related_articles']; 1530 1530 } 1531 1531 if ( isset( $_POST['faq'] ) ) { 1532 $data['faq'] = (bool) $_POST['faq']; 1533 } 1534 1532 1535 // Store generation data for later use (regenerate) 1533 1536 $generation_data_json = wp_json_encode( $data ); 1534 1537 1535 1538 // Validate required fields 1536 1539 $required_fields = array( … … 2029 2032 $data['related_articles'] = (bool) $_POST['related_articles']; 2030 2033 } 2031 2034 if ( isset( $_POST['faq'] ) ) { 2035 $data['faq'] = (bool) $_POST['faq']; 2036 } 2037 2032 2038 // Store generation data for later use 2033 2039 $generation_data_json = wp_json_encode( $data ); 2034 2040 2035 2041 if ( empty( $data['url'] ) ) { 2036 2042 wp_send_json_error( array( 'message' => __( 'URL is required.', 'apicoid-ghostwriter' ) ) ); … … 3460 3466 'related_articles' => ! empty( $_POST['related_articles'] ), 3461 3467 'related_article_label' => isset( $_POST['related_article_label'] ) ? sanitize_text_field( wp_unslash( $_POST['related_article_label'] ) ) : '', 3468 'faq' => ! empty( $_POST['faq'] ), 3462 3469 ); 3463 3470 -
apicoid-ghostwriter/trunk/assets/css/admin.css
r3461830 r3463013 505 505 margin-top: 12px; 506 506 margin-bottom: 0; 507 } 508 509 .apicoid-gw-setup-link a { 507 }.apicoid-gw-setup-link a { 510 508 font-weight: 600; 511 509 } -
apicoid-ghostwriter/trunk/assets/js/admin.js
r3461830 r3463013 209 209 $('#apicoid-gw-preset-field-related-articles').prop('checked', !!preset.related_articles); 210 210 $('#apicoid-gw-preset-field-related-article-label').val(preset.related_article_label || ''); 211 $('#apicoid-gw-preset-field-faq').prop('checked', !!preset.faq); 211 212 $('#apicoid-gw-preset-preview-label').text(preset.related_article_label || 'Related Article'); 212 213 … … 230 231 $('#apicoid-gw-preset-field-related-articles').prop('checked', false); 231 232 $('#apicoid-gw-preset-field-related-article-label').val(''); 233 $('#apicoid-gw-preset-field-faq').prop('checked', false); 232 234 } 233 235 … … 300 302 generate_image: $('#apicoid-gw-preset-field-generate-image').is(':checked') ? 1 : 0, 301 303 related_articles: $('#apicoid-gw-preset-field-related-articles').is(':checked') ? 1 : 0, 302 related_article_label: $('#apicoid-gw-preset-field-related-article-label').val() 304 related_article_label: $('#apicoid-gw-preset-field-related-article-label').val(), 305 faq: $('#apicoid-gw-preset-field-faq').is(':checked') ? 1 : 0 303 306 }, 304 307 success: function(response) { -
apicoid-ghostwriter/trunk/assets/js/article-generator.js
r3461830 r3463013 74 74 $('#' + p + 'generate_image').prop('checked', !!preset.generate_image); 75 75 $('#' + p + 'related_articles').prop('checked', !!preset.related_articles); 76 $('#' + p + 'faq').prop('checked', !!preset.faq); 76 77 77 78 // Related article label … … 129 130 $form.find('input[name="related_articles"], [id$="_related_articles"]').prop('checked', !!preset.related_articles); 130 131 $form.find('input[name="related_article_label"], [id$="_related_article_label"]').val(preset.related_article_label || ''); 132 $form.find('input[name="faq"], [id$="_faq"]').prop('checked', !!preset.faq); 131 133 }); 132 134 … … 494 496 related_articles: relatedArticles ? 1 : 0, 495 497 generate_image: generateImage ? 1 : 0, 496 related_article_label: $('#apicoid_gw_related_article_label').val() || '' 498 related_article_label: $('#apicoid_gw_related_article_label').val() || '', 499 faq: $('#apicoid_gw_faq').is(':checked') ? 1 : 0 497 500 }, 498 501 dataType: 'json', … … 623 626 related_articles: relatedArticles ? 1 : 0, 624 627 generate_image: generateImage ? 1 : 0, 625 related_article_label: $('#rewrite_related_article_label').val() || '' 628 related_article_label: $('#rewrite_related_article_label').val() || '', 629 faq: $('#rewrite_faq').is(':checked') ? 1 : 0 626 630 }, 627 631 dataType: 'json', … … 943 947 if ($('#apicoid_gw_generate_image').is(':checked')) { 944 948 $generateForm.find('#category_apicoid_gw_generate_image').prop('checked', true); 949 } 950 if ($('#apicoid_gw_faq').is(':checked')) { 951 $generateForm.find('#category_apicoid_gw_faq').prop('checked', true); 945 952 } 946 953 … … 1087 1094 related_articles: relatedArticles ? 1 : 0, 1088 1095 generate_image: generateImage ? 1 : 0, 1089 related_article_label: $generateForm.find('#category_apicoid_gw_related_article_label').val() || '' 1096 related_article_label: $generateForm.find('#category_apicoid_gw_related_article_label').val() || '', 1097 faq: $generateForm.find('#category_apicoid_gw_faq').is(':checked') ? 1 : 0 1090 1098 }, 1091 1099 dataType: 'json', … … 1396 1404 if ($('#apicoid_gw_generate_image').is(':checked')) { 1397 1405 $generateForm.find('#suggestion_apicoid_gw_generate_image').prop('checked', true); 1406 } 1407 if ($('#apicoid_gw_faq').is(':checked')) { 1408 $generateForm.find('#suggestion_apicoid_gw_faq').prop('checked', true); 1398 1409 } 1399 1410 … … 1630 1641 related_articles: relatedArticles ? 1 : 0, 1631 1642 generate_image: generateImage ? 1 : 0, 1632 related_article_label: $generateForm.find('#suggestion_apicoid_gw_related_article_label').val() || '' 1643 related_article_label: $generateForm.find('#suggestion_apicoid_gw_related_article_label').val() || '', 1644 faq: $generateForm.find('#suggestion_apicoid_gw_faq').is(':checked') ? 1 : 0 1633 1645 }; 1634 1646 -
apicoid-ghostwriter/trunk/includes/article-optimizer-page.php
r3461830 r3463013 73 73 $default_additional_prompt = ! empty( $default_preset['additional_prompt'] ) ? $default_preset['additional_prompt'] : ''; 74 74 $default_generate_image = isset( $default_preset['generate_image'] ) ? (bool) $default_preset['generate_image'] : false; 75 $default_faq = isset( $default_preset['faq'] ) ? (bool) $default_preset['faq'] : false; 75 76 $default_related_article_label = ! empty( $default_preset['related_article_label'] ) ? $default_preset['related_article_label'] : 'Related Article'; 76 77 … … 495 496 <tr> 496 497 <th scope="row"> 498 <label for="apicoid_gw_faq"><?php esc_html_e( 'Generate FAQ', 'apicoid-ghostwriter' ); ?></label> 499 </th> 500 <td> 501 <label> 502 <input type="checkbox" id="apicoid_gw_faq" name="faq" value="1" <?php checked( $default_faq, true ); ?> /> 503 <?php esc_html_e( 'Include FAQ section in the generated article', 'apicoid-ghostwriter' ); ?> 504 </label> 505 </td> 506 </tr> 507 <tr> 508 <th scope="row"> 497 509 <label for="apicoid_gw_generate_image"><?php esc_html_e( 'Generate Image?', 'apicoid-ghostwriter' ); ?></label> 498 510 </th> … … 703 715 <input type="text" id="rewrite_related_article_label" name="related_article_label" class="regular-text" value="<?php echo esc_attr( $default_related_article_label ); ?>" placeholder="<?php echo esc_attr__( 'Related Article', 'apicoid-ghostwriter' ); ?>" /> 704 716 <p class="description"><?php esc_html_e( 'Text shown before related article links (e.g. "Related Article", "Artikel terkait")', 'apicoid-ghostwriter' ); ?></p> 717 </td> 718 </tr> 719 <tr> 720 <th scope="row"> 721 <label for="rewrite_faq"><?php esc_html_e( 'Generate FAQ', 'apicoid-ghostwriter' ); ?></label> 722 </th> 723 <td> 724 <label> 725 <input type="checkbox" id="rewrite_faq" name="faq" value="1" <?php checked( $default_faq, true ); ?> /> 726 <?php esc_html_e( 'Include FAQ section in the rewritten article', 'apicoid-ghostwriter' ); ?> 727 </label> 705 728 </td> 706 729 </tr> -
apicoid-ghostwriter/trunk/includes/settings-page.php
r3461830 r3463013 201 201 <tr> 202 202 <th scope="row"> 203 <label><?php esc_html_e( 'Generate FAQ', 'apicoid-ghostwriter' ); ?></label> 204 </th> 205 <td> 206 <label> 207 <input type="checkbox" id="apicoid-gw-preset-field-faq" value="1" /> 208 <?php esc_html_e( 'Include FAQ section in generated articles', 'apicoid-ghostwriter' ); ?> 209 </label> 210 </td> 211 </tr> 212 <tr> 213 <th scope="row"> 203 214 <label><?php esc_html_e( 'Generate Image?', 'apicoid-ghostwriter' ); ?></label> 204 215 </th> -
apicoid-ghostwriter/trunk/readme.txt
r3461830 r3463013 5 5 Requires at least: 6.2 6 6 Tested up to: 6.9 7 Stable tag: 1.4. 07 Stable tag: 1.4.1 8 8 Requires PHP: 7.4 9 9 License: GPLv2 or later … … 131 131 132 132 == Changelog == 133 134 = 1.4.1 = 135 * FAQ Option: Added new "Generate FAQ" checkbox to article generation and rewriting forms to include an FAQ section in generated content 136 * FAQ in Presets: FAQ setting is now saved and loaded from article presets 137 * FAQ across all flows: FAQ parameter is sent to the API in Generate Article, Rewrite Article, Generate by Category, and Create Support Article 133 138 134 139 = 1.4.0 = … … 221 226 == Upgrade Notice == 222 227 228 = 1.4.1 = 229 This update adds a new "Generate FAQ" option to article generation and rewriting. Enable it to automatically include an FAQ section in your generated articles. The setting is also available in presets. 230 223 231 = 1.4.0 = 224 232 This update introduces Auto Schedule, allowing you to schedule posts with one click from the post editor. Configure daily article limits and time windows in Settings, then auto-schedule drafts with smart related article reinjection that prevents 404 links. Scheduled posts are now visible in the Article Generator list and can be used to generate support articles.
Note: See TracChangeset
for help on using the changeset viewer.