Title: Structured Data Headline Error
Last modified: July 9, 2019

---

# Structured Data Headline Error

 *  [kutalia](https://wordpress.org/support/users/kutalia/)
 * (@kutalia)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/structured-data-headline-error/)
 * [According to the Google](https://developers.google.com/search/docs/data-types/article)
   BlogPosting headline should not exceed 110 characters. Currently the plugin uses
   post name as a headline (in class-carousel-slider-structured-data.php on line
   285): `$json['headline'] = $json['name'];`. This means if a post name is longer
   than 110 characters Google will see it as an invalid JSON LD.
    I think it would
   be a good idea to strip extra characters from a post name like this: `$json['
   headline'] = mb_substr($json['name'], 0, 106) . '...';`
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fstructured-data-headline-error%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

The topic ‘Structured Data Headline Error’ is closed to new replies.

 * ![](https://ps.w.org/carousel-slider/assets/icon.svg?rev=3102828)
 * [Carousel Slider](https://wordpress.org/plugins/carousel-slider/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/carousel-slider/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/carousel-slider/)
 * [Active Topics](https://wordpress.org/support/plugin/carousel-slider/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/carousel-slider/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/carousel-slider/reviews/)

## Tags

 * [json-ld](https://wordpress.org/support/topic-tag/json-ld/)

 * 0 replies
 * 1 participant
 * Last reply from: [kutalia](https://wordpress.org/support/users/kutalia/)
 * Last activity: [6 years, 11 months ago](https://wordpress.org/support/topic/structured-data-headline-error/)
 * Status: not resolved