✓ ' . esc_html__( 'llms.txt Einstellungen gespeichert.', 'ai-json-extractor-auto-embed-lite' ) . '

'; } // ── Werte laden (immer aus der DB nach dem Speichern) ───────────────────── $enabled = get_option( 'aije_llms_enabled', 1 ); $block_bots = get_option( 'aije_llms_block_bots', 0 ); $custom = get_option( 'aije_llms_custom', '' ); $max_posts = (int) get_option( 'aije_llms_max_posts', 10 ); $excerpt_len = (int) get_option( 'aije_llms_excerpt_len', 0 ); $show_cats = (int) get_option( 'aije_llms_show_cats', 1 ); $link_sitemap= (int) get_option( 'aije_llms_sitemap', 1 ); $key_pages = (array) get_option( 'aije_llms_key_pages', array() ); $llms_url = home_url( '/llms.txt' ); // Vorschau generieren (mit aktuellen Werten) $preview = $this->generate_llms_content(); $char_count = mb_strlen( $preview ); $pct = min( 100, round( $char_count / 3000 * 100 ) ); $bar_color = $char_count <= 2800 ? '#16a34a' : ( $char_count <= 3000 ? '#d97706' : '#dc2626' ); $bar_label = $char_count <= 2800 ? '✓ ' . __( 'Optimal', 'ai-json-extractor-auto-embed-lite' ) : ( $char_count <= 3000 ? '⚠ ' . __( 'Knapp am Limit', 'ai-json-extractor-auto-embed-lite' ) : '✕ ' . __( 'Zu lang', 'ai-json-extractor-auto-embed-lite' ) ); $all_pages = get_posts( array( 'post_type' => array( 'page', 'post' ), 'post_status' => 'publish', 'posts_per_page' => 50, 'orderby' => array( 'post_type' => 'ASC', 'title' => 'ASC' ), 'no_found_rows' => true ) ); ?>
✓ ↗

'any', 'post_status' => 'publish', 'posts_per_page' => 20, 'orderby' => 'modified', 'order' => 'DESC', 'no_found_rows' => true, 'meta_query' => array( 'relation' => 'OR', array( 'key' => '_aije_ki_highlight', 'value' => '1', 'compare' => '=' ), array( 'key' => '_yoast_wpseo_is_cornerstone', 'value' => '1', 'compare' => '=' ), array( 'key' => 'rank_math_pillar_content', 'value' => 'on', 'compare' => '=' ), ), ) ); $ki_in_llms = array_slice( $ki_active, 0, 5 ); $ki_waiting = array_slice( $ki_active, 5 ); ?>
✓
ID, '_yoast_wpseo_is_cornerstone', true ) ? 'Yoast' : ( get_post_meta( $p->ID, 'rank_math_pillar_content', true ) === 'on' ? 'Rank Math' : __( 'WP Rankify', 'ai-json-extractor-auto-embed-lite' ) ); ?>
✓
○

3000 ) : ?>
✕
2800 ) : ?>
⚠
✓