admin_url( 'admin-ajax.php' ), 'nonce' => wp_create_nonce( 'replyvane_kb' ), // Ticks "refresh questions" on the first scan, when there are no questions yet. 'firstRun' => 0 === count( Replyvane_Store::items() ) ? '1' : '0', 'i18n' => array( 'stopped' => __( 'The scan stopped. Please try again.', 'replyvane-chat-support' ), 'reading' => __( 'Reading pages…', 'replyvane-chat-support' ), 'of' => __( 'of', 'replyvane-chat-support' ), 'done' => __( 'Done. Reloading…', 'replyvane-chat-support' ), 'finding' => __( 'Finding public pages…', 'replyvane-chat-support' ), 'noStart' => __( 'Could not start the scan.', 'replyvane-chat-support' ), 'noPages' => __( 'No public pages found.', 'replyvane-chat-support' ), ), ) ); } private static function url( array $args = array() ) { return add_query_arg( array_merge( array( 'page' => self::SLUG ), $args ), admin_url( 'admin.php' ) ); } public static function menu() { add_submenu_page( 'replyvane', 'Website knowledge', 'Website knowledge', 'manage_options', self::SLUG, array( __CLASS__, 'render' ), 1 ); } /** Progress and results messages on the plugin's own screens. */ public static function notices() { $screen = function_exists( 'get_current_screen' ) ? get_current_screen() : null; if ( ! $screen || false === strpos( (string) $screen->id, 'replyvane' ) || ! current_user_can( 'manage_options' ) ) { return; } $report = get_option( 'replyvane_autogen_report' ); if ( is_array( $report ) ) { delete_option( 'replyvane_autogen_report' ); printf( '
Your website has been read. %d questions were created or refreshed from its pages. Review them and edit anything you like; edited questions are never overwritten.
The chatbot hasn\'t read your website yet, so typed questions can only be matched to your FAQ list. Read my website now
Reading your website… %s See progress
The chatbot reads every public page of this website, exactly as a logged-out visitor sees it, so it can answer typed questions from your own content. Private, draft and password-protected pages, account, cart and checkout pages, anything that needs a login, and pages you keep out in Settings are never read.
| Pages it can answer from | |
| Passages indexed | |
| Q&A found on your pages | |
| Questions created from the website | |
| Last full scan | |
| Pages waiting to be read |
Pages are re-read automatically when you update them, and the whole site once a day. Scan now after big changes.
See the answer a visitor would get when their typed question doesn't match one of your FAQ questions.
get_error_message() ) ); } else { echo esc_html__( 'WordPress AI was not asked: nothing on your website relates to this question.', 'replyvane-chat-support' ); } ?>
From: ' . esc_html( $src['title'] ) . ''; } echo wp_kses_post( implode( ', ', $links ) ); if ( ! empty( $result['ai'] ) ) { echo esc_html( ' · written by ' . ( ! empty( $result['provider'] ) ? $result['provider'] : Replyvane_AI::label() ) . ' from these pages' ); } else { echo esc_html( ' · built-in engine, match ' . round( $result['confidence'] * 100 ) . '%' ); } ?>
No confident answer on the website. The visitor would see the closest FAQ questions, or the "couldn't find an answer" message. Consider adding this as a question.
If anything here should stay private, tick it under Settings → Pages to keep out. It is removed as soon as you save. "Rendered" means the page was read exactly as a visitor sees it; "Database" means the site couldn't request itself, so the content was rendered in PHP as a logged-out visitor instead.
| Page | Address | Read as | Passages |
|---|---|---|---|
| Nothing read yet. Click "Scan website now". | |||