• 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

    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)
  • 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

    (@mesmer7)

    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 );
    // }

    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.