• According to the Google 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 to see the link]

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