Plugin Directory

Changeset 3441589


Ignore:
Timestamp:
01/17/2026 01:37:34 PM (5 weeks ago)
Author:
samsonovteamwork
Message:

Updated to ver 8.2.5

Location:
website-llms-txt
Files:
3 edited
13 copied

Legend:

Unmodified
Added
Removed
  • website-llms-txt/tags/8.2.5/README.txt

    r3439714 r3441589  
    55Tested up to: 6.8.3
    66Requires PHP: 7.2
    7 Stable tag: 8.2.4
     7Stable tag: 8.2.5
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    9595== Changelog ==
    9696
     97= 8.2.5 =
     98
     99🛠 **Fix: Multilingual llms.txt generation with WPML**
     100
     101• The generated `llms.txt` file now contains **all WPML language versions at once**.
     102• Each language is rendered with its **correct localized permalink** (`/en/`, `/ro/`, etc.).
     103• The output is **no longer dependent on the currently viewed language**.
     104• This ensures that a single `llms.txt` file always exposes **all valid multilingual URLs**, regardless of which language version is accessed.
     105
     106Result:
     107
     108* One unified `llms.txt`
     109* All WPML languages included
     110* All links resolve correctly
     111* No missing or fallback-to-default-language URLs
     112
    97113= 8.2.4 =
    98114
    99115🛠 Improvement: Gravity Forms exclusion control
    100116
    101 • Added an option to **exclude Gravity Forms form fields from the generated llms.txt output.
     117• Added an option to exclude Gravity Forms form fields from the generated llms.txt output.
    102118• When disabled, all Gravity Forms markup (`<form id="gform_...">`, wrappers, and fields) is completely removed before file generation.
    103119• Prevents unintended exposure of form structure and field labels in llms.txt.
  • website-llms-txt/tags/8.2.5/includes/class-llms-generator.php

    r3439714 r3441589  
    877877        $sku = '';
    878878
    879         $permalink = get_permalink($post->ID);
     879        if(defined('ICL_LANGUAGE_CODE')) {
     880            $permalink = apply_filters(
     881                'wpml_permalink',
     882                get_permalink($post->ID),
     883                ICL_LANGUAGE_CODE
     884            );
     885        } else {
     886            $permalink = get_permalink($post->ID);
     887        }
    880888
    881889        $description = isset($this->settings['include_excerpts']) && $this->settings['include_excerpts'] ? $this->get_post_meta_description( $post ) : '';
  • website-llms-txt/tags/8.2.5/website-llms-txt.php

    r3439714 r3441589  
    33 * Plugin Name: Website LLMs.txt
    44 * Description: Generates and manages an llms.txt file, a structured, AI-ready index that helps large language models like ChatGPT, Claude, and Perplexity understand your site's most important content.
    5  * Version: 8.2.4
     5 * Version: 8.2.5
    66 * Author: Ryan Howard
    77 * Author URI: https://completeseo.com/author/ryan-howard/
     
    1919
    2020// Define plugin constants
    21 define('LLMS_VERSION', '8.2.4');
     21define('LLMS_VERSION', '8.2.5');
    2222define('LLMS_PLUGIN_FILE', __FILE__);
    2323define('LLMS_PLUGIN_DIR', plugin_dir_path(__FILE__));
  • website-llms-txt/trunk/README.txt

    r3439714 r3441589  
    55Tested up to: 6.8.3
    66Requires PHP: 7.2
    7 Stable tag: 8.2.4
     7Stable tag: 8.2.5
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    9595== Changelog ==
    9696
     97= 8.2.5 =
     98
     99🛠 **Fix: Multilingual llms.txt generation with WPML**
     100
     101• The generated `llms.txt` file now contains **all WPML language versions at once**.
     102• Each language is rendered with its **correct localized permalink** (`/en/`, `/ro/`, etc.).
     103• The output is **no longer dependent on the currently viewed language**.
     104• This ensures that a single `llms.txt` file always exposes **all valid multilingual URLs**, regardless of which language version is accessed.
     105
     106Result:
     107
     108* One unified `llms.txt`
     109* All WPML languages included
     110* All links resolve correctly
     111* No missing or fallback-to-default-language URLs
     112
    97113= 8.2.4 =
    98114
    99115🛠 Improvement: Gravity Forms exclusion control
    100116
    101 • Added an option to **exclude Gravity Forms form fields from the generated llms.txt output.
     117• Added an option to exclude Gravity Forms form fields from the generated llms.txt output.
    102118• When disabled, all Gravity Forms markup (`<form id="gform_...">`, wrappers, and fields) is completely removed before file generation.
    103119• Prevents unintended exposure of form structure and field labels in llms.txt.
  • website-llms-txt/trunk/includes/class-llms-generator.php

    r3439714 r3441589  
    877877        $sku = '';
    878878
    879         $permalink = get_permalink($post->ID);
     879        if(defined('ICL_LANGUAGE_CODE')) {
     880            $permalink = apply_filters(
     881                'wpml_permalink',
     882                get_permalink($post->ID),
     883                ICL_LANGUAGE_CODE
     884            );
     885        } else {
     886            $permalink = get_permalink($post->ID);
     887        }
    880888
    881889        $description = isset($this->settings['include_excerpts']) && $this->settings['include_excerpts'] ? $this->get_post_meta_description( $post ) : '';
  • website-llms-txt/trunk/website-llms-txt.php

    r3439714 r3441589  
    33 * Plugin Name: Website LLMs.txt
    44 * Description: Generates and manages an llms.txt file, a structured, AI-ready index that helps large language models like ChatGPT, Claude, and Perplexity understand your site's most important content.
    5  * Version: 8.2.4
     5 * Version: 8.2.5
    66 * Author: Ryan Howard
    77 * Author URI: https://completeseo.com/author/ryan-howard/
     
    1919
    2020// Define plugin constants
    21 define('LLMS_VERSION', '8.2.4');
     21define('LLMS_VERSION', '8.2.5');
    2222define('LLMS_PLUGIN_FILE', __FILE__);
    2323define('LLMS_PLUGIN_DIR', plugin_dir_path(__FILE__));
Note: See TracChangeset for help on using the changeset viewer.