Title: Generated Description Length
Last modified: June 13, 2022

---

# Generated Description Length

 *  Resolved [peterpruimboom](https://wordpress.org/support/users/peterpruimboom/)
 * (@peterpruimboom)
 * [3 years, 12 months ago](https://wordpress.org/support/topic/generated-description-length/)
 * Hello,
 * I’ve searched the documentation and could not find a way to limit the generated
   description length to for example 150 characters. Maybe I’ve overlooked it but
   does anyone know if and how it could be done?
 * Thanks in advance, Peter

Viewing 1 replies (of 1 total)

 *  Plugin Author [Sybre Waaijer](https://wordpress.org/support/users/cybr/)
 * (@cybr)
 * [3 years, 12 months ago](https://wordpress.org/support/topic/generated-description-length/#post-15733433)
 * Hi Peter,
 * You can adjust the recommendations by filtering `the_seo_framework_input_guidelines`.
 * For your request you’d want to filter `[description][search][chars][goodUpper]`.
   For example:
 *     ```
       add_filter(
       	'the_seo_framework_input_guidelines',
       	function( $guidelines ) {
   
       		$guidelines['description']['search']['chars']['goodUpper'] = 150;
   
       		return $guidelines;
       	}
       );
       ```
   
 * Code reference: [https://github.com/sybrew/the-seo-framework/blob/4.2.5/inc/classes/admin-init.class.php#L227-L296](https://github.com/sybrew/the-seo-framework/blob/4.2.5/inc/classes/admin-init.class.php#L227-L296)
 * **Some details:**
    The default `[description][search][chars][goodUpper]` value
   is `160 x language character calibration`.
 * (I’m presuming your languages of interest by name, excuse me if I’m mistaken.)
   No calibration is necessary for Dutch, French, and English (so it’s just 160).
   German’s character calibration value is `0.9875` because they capitalize nouns
   mid-sentence (so that equates to 158).
 * You can ignore this calibration entirely if you do not care for Google. Otherwise,
   in a future update, the calibration values are passed to the filter to use directly.
 * I hope this helps 🙂 Cheers!

Viewing 1 replies (of 1 total)

The topic ‘Generated Description Length’ is closed to new replies.

 * ![](https://ps.w.org/autodescription/assets/icon.svg?rev=3000376)
 * [The SEO Framework – Fast, Automated, Effortless.](https://wordpress.org/plugins/autodescription/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/autodescription/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/autodescription/)
 * [Active Topics](https://wordpress.org/support/plugin/autodescription/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/autodescription/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/autodescription/reviews/)

## Tags

 * [description](https://wordpress.org/support/topic-tag/description/)
 * [generated](https://wordpress.org/support/topic-tag/generated/)
 * [length](https://wordpress.org/support/topic-tag/length/)

 * 1 reply
 * 2 participants
 * Last reply from: [Sybre Waaijer](https://wordpress.org/support/users/cybr/)
 * Last activity: [3 years, 12 months ago](https://wordpress.org/support/topic/generated-description-length/#post-15733433)
 * Status: resolved