Title: Structured data errors
Last modified: December 13, 2019

---

# Structured data errors

 *  [mesmer7](https://wordpress.org/support/users/mesmer7/)
 * (@mesmer7)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/structured-data-errors-15/)
 * The structured data in the product sliders violate Google’s guidelines. The guidelines
   state you should only include the product structured data on “a product page 
   that describes a single product”.
 * [https://developers.google.com/search/docs/data-types/product](https://developers.google.com/search/docs/data-types/product)
 * I’ve disabled the structured data on my installation. And I suggest you remove
   it from the plugin altogether.
 * On the post slider, Google’s structured data testing tool returns an error for
   every post in the slider. The tool says that the company logo is required. That
   doesn’t make any sense to me. But I’d rather have no data than bad data. So I’ve
   also disabled this on my installation.
 * Please fix this or remove it as well.
 * Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [The Rite Sites](https://wordpress.org/support/users/theritesites/)
 * (@theritesites)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/structured-data-errors-15/#post-12252801)
 * Hey Mesmer,
 * I am running into the same issue on one of my websites. As to save time, would
   you mind sharing what you did to disable the structured data for the sliders?
 * Thank you!
    Parker
 *  Thread Starter [mesmer7](https://wordpress.org/support/users/mesmer7/)
 * (@mesmer7)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/structured-data-errors-15/#post-12256087)
 * Go into the plugin’s main file, “carousel-slider.php” and comment out line 153
 * // require_once CAROUSEL_SLIDER_INCLUDES . ‘/class-carousel-slider-structured-
   data.php’;
 * That should be sufficient, if it isn’t you can also go into /includes/class-carousel-
   slider-structured-data.php and comment out lines 39-45
 * // public function __construct() {
    // add_action( ‘carousel_slider_image_gallery_loop’,
   array( $this, ‘generate_image_data’ ) ); // add_action( ‘carousel_slider_post_loop’,
   array( $this, ‘generate_post_data’ ) ); // add_action( ‘carousel_slider_product_loop’,
   array( $this, ‘generate_product_data’ ), 10, 2 ); // // Output structured data.//
   add_action( ‘wp_footer’, array( $this, ‘output_structured_data’ ), 90 ); // }
 *  [The Rite Sites](https://wordpress.org/support/users/theritesites/)
 * (@theritesites)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/structured-data-errors-15/#post-12297596)
 * Thank you Mesmer!
    Worked like a charm.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Structured data errors’ 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/)

 * 3 replies
 * 2 participants
 * Last reply from: [The Rite Sites](https://wordpress.org/support/users/theritesites/)
 * Last activity: [6 years, 5 months ago](https://wordpress.org/support/topic/structured-data-errors-15/#post-12297596)
 * Status: not resolved