Plugin Directory

Changeset 3463013


Ignore:
Timestamp:
02/17/2026 03:09:46 AM (5 days ago)
Author:
rifaldye
Message:

v1.4.1: Add FAQ option to article generation and rewriting

Location:
apicoid-ghostwriter
Files:
16 edited
1 copied

Legend:

Unmodified
Added
Removed
  • apicoid-ghostwriter/tags/1.4.1/CHANGELOG.md

    r3461830 r3463013  
    55The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
    66and 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
    714
    815## [1.4.0] - 2026-02-15
     
    143150- Secure API key validation
    144151
     152[1.4.1]: https://github.com/apicoid/ghostwriter/compare/v1.4.0...v1.4.1
    145153[1.4.0]: https://github.com/apicoid/ghostwriter/compare/v1.3.3...v1.4.0
    146154[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  
    44 * Plugin URI:  https://wordpress.org/plugins/apicoid-ghostwriter/
    55 * 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.0
     6 * Version:     1.4.1
    77 * Author:      Api.co.id
    88 * Author URI:  https://api.co.id
     
    2121
    2222// Define plugin constants
    23 define( 'APICOID_GW_VERSION', '1.4.0' );
     23define( 'APICOID_GW_VERSION', '1.4.1' );
    2424define( 'APICOID_GW_DIR', plugin_dir_path( __FILE__ ) );
    2525define( 'APICOID_GW_URL', plugin_dir_url( __FILE__ ) );
     
    15291529            $data['related_articles'] = (bool) $_POST['related_articles'];
    15301530        }
    1531        
     1531        if ( isset( $_POST['faq'] ) ) {
     1532            $data['faq'] = (bool) $_POST['faq'];
     1533        }
     1534
    15321535        // Store generation data for later use (regenerate)
    15331536        $generation_data_json = wp_json_encode( $data );
    1534        
     1537
    15351538        // Validate required fields
    15361539        $required_fields = array(
     
    20292032            $data['related_articles'] = (bool) $_POST['related_articles'];
    20302033        }
    2031        
     2034        if ( isset( $_POST['faq'] ) ) {
     2035            $data['faq'] = (bool) $_POST['faq'];
     2036        }
     2037
    20322038        // Store generation data for later use
    20332039        $generation_data_json = wp_json_encode( $data );
    2034        
     2040
    20352041        if ( empty( $data['url'] ) ) {
    20362042            wp_send_json_error( array( 'message' => __( 'URL is required.', 'apicoid-ghostwriter' ) ) );
     
    34603466            'related_articles'      => ! empty( $_POST['related_articles'] ),
    34613467            'related_article_label' => isset( $_POST['related_article_label'] ) ? sanitize_text_field( wp_unslash( $_POST['related_article_label'] ) ) : '',
     3468            'faq'                   => ! empty( $_POST['faq'] ),
    34623469        );
    34633470
  • apicoid-ghostwriter/tags/1.4.1/assets/css/admin.css

    r3461830 r3463013  
    505505    margin-top: 12px;
    506506    margin-bottom: 0;
    507 }
    508 
    509 .apicoid-gw-setup-link a {
     507}.apicoid-gw-setup-link a {
    510508    font-weight: 600;
    511509}
  • apicoid-ghostwriter/tags/1.4.1/assets/js/admin.js

    r3461830 r3463013  
    209209                $('#apicoid-gw-preset-field-related-articles').prop('checked', !!preset.related_articles);
    210210                $('#apicoid-gw-preset-field-related-article-label').val(preset.related_article_label || '');
     211                $('#apicoid-gw-preset-field-faq').prop('checked', !!preset.faq);
    211212                $('#apicoid-gw-preset-preview-label').text(preset.related_article_label || 'Related Article');
    212213
     
    230231                $('#apicoid-gw-preset-field-related-articles').prop('checked', false);
    231232                $('#apicoid-gw-preset-field-related-article-label').val('');
     233                $('#apicoid-gw-preset-field-faq').prop('checked', false);
    232234            }
    233235
     
    300302                        generate_image: $('#apicoid-gw-preset-field-generate-image').is(':checked') ? 1 : 0,
    301303                        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
    303306                    },
    304307                    success: function(response) {
  • apicoid-ghostwriter/tags/1.4.1/assets/js/article-generator.js

    r3461830 r3463013  
    7474            $('#' + p + 'generate_image').prop('checked', !!preset.generate_image);
    7575            $('#' + p + 'related_articles').prop('checked', !!preset.related_articles);
     76            $('#' + p + 'faq').prop('checked', !!preset.faq);
    7677
    7778            // Related article label
     
    129130            $form.find('input[name="related_articles"], [id$="_related_articles"]').prop('checked', !!preset.related_articles);
    130131            $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);
    131133        });
    132134
     
    494496                    related_articles: relatedArticles ? 1 : 0,
    495497                    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
    497500                },
    498501                dataType: 'json',
     
    623626                    related_articles: relatedArticles ? 1 : 0,
    624627                    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
    626630                },
    627631                dataType: 'json',
     
    943947            if ($('#apicoid_gw_generate_image').is(':checked')) {
    944948                $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);
    945952            }
    946953
     
    10871094                        related_articles: relatedArticles ? 1 : 0,
    10881095                        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
    10901098                    },
    10911099                    dataType: 'json',
     
    13961404            if ($('#apicoid_gw_generate_image').is(':checked')) {
    13971405                $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);
    13981409            }
    13991410
     
    16301641                    related_articles: relatedArticles ? 1 : 0,
    16311642                    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
    16331645                };
    16341646
  • apicoid-ghostwriter/tags/1.4.1/includes/article-optimizer-page.php

    r3461830 r3463013  
    7373$default_additional_prompt  = ! empty( $default_preset['additional_prompt'] ) ? $default_preset['additional_prompt'] : '';
    7474$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;
    7576$default_related_article_label = ! empty( $default_preset['related_article_label'] ) ? $default_preset['related_article_label'] : 'Related Article';
    7677
     
    495496                    <tr>
    496497                        <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">
    497509                            <label for="apicoid_gw_generate_image"><?php esc_html_e( 'Generate Image?', 'apicoid-ghostwriter' ); ?></label>
    498510                        </th>
     
    703715                                <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' ); ?>" />
    704716                                <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>
    705728                            </td>
    706729                        </tr>
  • apicoid-ghostwriter/tags/1.4.1/includes/settings-page.php

    r3461830 r3463013  
    201201                    <tr>
    202202                        <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">
    203214                            <label><?php esc_html_e( 'Generate Image?', 'apicoid-ghostwriter' ); ?></label>
    204215                        </th>
  • apicoid-ghostwriter/tags/1.4.1/readme.txt

    r3461830 r3463013  
    55Requires at least: 6.2
    66Tested up to: 6.9
    7 Stable tag: 1.4.0
     7Stable tag: 1.4.1
    88Requires PHP: 7.4
    99License: GPLv2 or later
     
    131131
    132132== 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
    133138
    134139= 1.4.0 =
     
    221226== Upgrade Notice ==
    222227
     228= 1.4.1 =
     229This 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
    223231= 1.4.0 =
    224232This 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  
    55The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
    66and 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
    714
    815## [1.4.0] - 2026-02-15
     
    143150- Secure API key validation
    144151
     152[1.4.1]: https://github.com/apicoid/ghostwriter/compare/v1.4.0...v1.4.1
    145153[1.4.0]: https://github.com/apicoid/ghostwriter/compare/v1.3.3...v1.4.0
    146154[1.3.3]: https://github.com/apicoid/ghostwriter/compare/v1.3.2...v1.3.3
  • apicoid-ghostwriter/trunk/apicoid-ghostwriter.php

    r3461830 r3463013  
    44 * Plugin URI:  https://wordpress.org/plugins/apicoid-ghostwriter/
    55 * 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.0
     6 * Version:     1.4.1
    77 * Author:      Api.co.id
    88 * Author URI:  https://api.co.id
     
    2121
    2222// Define plugin constants
    23 define( 'APICOID_GW_VERSION', '1.4.0' );
     23define( 'APICOID_GW_VERSION', '1.4.1' );
    2424define( 'APICOID_GW_DIR', plugin_dir_path( __FILE__ ) );
    2525define( 'APICOID_GW_URL', plugin_dir_url( __FILE__ ) );
     
    15291529            $data['related_articles'] = (bool) $_POST['related_articles'];
    15301530        }
    1531        
     1531        if ( isset( $_POST['faq'] ) ) {
     1532            $data['faq'] = (bool) $_POST['faq'];
     1533        }
     1534
    15321535        // Store generation data for later use (regenerate)
    15331536        $generation_data_json = wp_json_encode( $data );
    1534        
     1537
    15351538        // Validate required fields
    15361539        $required_fields = array(
     
    20292032            $data['related_articles'] = (bool) $_POST['related_articles'];
    20302033        }
    2031        
     2034        if ( isset( $_POST['faq'] ) ) {
     2035            $data['faq'] = (bool) $_POST['faq'];
     2036        }
     2037
    20322038        // Store generation data for later use
    20332039        $generation_data_json = wp_json_encode( $data );
    2034        
     2040
    20352041        if ( empty( $data['url'] ) ) {
    20362042            wp_send_json_error( array( 'message' => __( 'URL is required.', 'apicoid-ghostwriter' ) ) );
     
    34603466            'related_articles'      => ! empty( $_POST['related_articles'] ),
    34613467            'related_article_label' => isset( $_POST['related_article_label'] ) ? sanitize_text_field( wp_unslash( $_POST['related_article_label'] ) ) : '',
     3468            'faq'                   => ! empty( $_POST['faq'] ),
    34623469        );
    34633470
  • apicoid-ghostwriter/trunk/assets/css/admin.css

    r3461830 r3463013  
    505505    margin-top: 12px;
    506506    margin-bottom: 0;
    507 }
    508 
    509 .apicoid-gw-setup-link a {
     507}.apicoid-gw-setup-link a {
    510508    font-weight: 600;
    511509}
  • apicoid-ghostwriter/trunk/assets/js/admin.js

    r3461830 r3463013  
    209209                $('#apicoid-gw-preset-field-related-articles').prop('checked', !!preset.related_articles);
    210210                $('#apicoid-gw-preset-field-related-article-label').val(preset.related_article_label || '');
     211                $('#apicoid-gw-preset-field-faq').prop('checked', !!preset.faq);
    211212                $('#apicoid-gw-preset-preview-label').text(preset.related_article_label || 'Related Article');
    212213
     
    230231                $('#apicoid-gw-preset-field-related-articles').prop('checked', false);
    231232                $('#apicoid-gw-preset-field-related-article-label').val('');
     233                $('#apicoid-gw-preset-field-faq').prop('checked', false);
    232234            }
    233235
     
    300302                        generate_image: $('#apicoid-gw-preset-field-generate-image').is(':checked') ? 1 : 0,
    301303                        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
    303306                    },
    304307                    success: function(response) {
  • apicoid-ghostwriter/trunk/assets/js/article-generator.js

    r3461830 r3463013  
    7474            $('#' + p + 'generate_image').prop('checked', !!preset.generate_image);
    7575            $('#' + p + 'related_articles').prop('checked', !!preset.related_articles);
     76            $('#' + p + 'faq').prop('checked', !!preset.faq);
    7677
    7778            // Related article label
     
    129130            $form.find('input[name="related_articles"], [id$="_related_articles"]').prop('checked', !!preset.related_articles);
    130131            $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);
    131133        });
    132134
     
    494496                    related_articles: relatedArticles ? 1 : 0,
    495497                    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
    497500                },
    498501                dataType: 'json',
     
    623626                    related_articles: relatedArticles ? 1 : 0,
    624627                    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
    626630                },
    627631                dataType: 'json',
     
    943947            if ($('#apicoid_gw_generate_image').is(':checked')) {
    944948                $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);
    945952            }
    946953
     
    10871094                        related_articles: relatedArticles ? 1 : 0,
    10881095                        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
    10901098                    },
    10911099                    dataType: 'json',
     
    13961404            if ($('#apicoid_gw_generate_image').is(':checked')) {
    13971405                $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);
    13981409            }
    13991410
     
    16301641                    related_articles: relatedArticles ? 1 : 0,
    16311642                    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
    16331645                };
    16341646
  • apicoid-ghostwriter/trunk/includes/article-optimizer-page.php

    r3461830 r3463013  
    7373$default_additional_prompt  = ! empty( $default_preset['additional_prompt'] ) ? $default_preset['additional_prompt'] : '';
    7474$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;
    7576$default_related_article_label = ! empty( $default_preset['related_article_label'] ) ? $default_preset['related_article_label'] : 'Related Article';
    7677
     
    495496                    <tr>
    496497                        <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">
    497509                            <label for="apicoid_gw_generate_image"><?php esc_html_e( 'Generate Image?', 'apicoid-ghostwriter' ); ?></label>
    498510                        </th>
     
    703715                                <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' ); ?>" />
    704716                                <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>
    705728                            </td>
    706729                        </tr>
  • apicoid-ghostwriter/trunk/includes/settings-page.php

    r3461830 r3463013  
    201201                    <tr>
    202202                        <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">
    203214                            <label><?php esc_html_e( 'Generate Image?', 'apicoid-ghostwriter' ); ?></label>
    204215                        </th>
  • apicoid-ghostwriter/trunk/readme.txt

    r3461830 r3463013  
    55Requires at least: 6.2
    66Tested up to: 6.9
    7 Stable tag: 1.4.0
     7Stable tag: 1.4.1
    88Requires PHP: 7.4
    99License: GPLv2 or later
     
    131131
    132132== 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
    133138
    134139= 1.4.0 =
     
    221226== Upgrade Notice ==
    222227
     228= 1.4.1 =
     229This 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
    223231= 1.4.0 =
    224232This 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.