• Resolved kojimo

    (@kojimo)


    Hi,
    Google sent me that my pages with WP Product Review, only and all of them, became with troubles after an update.
    He says that the problem is “external style files not supported. use ‘style amp custom’ instead” and indicate this code line:
    <link rel="stylesheet" href="https://spacenerd.it/wp-includes/css/dashicons.min.css"">
    Can you help me to fix that? Thanks!

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor contactashish13

    (@rozroz)

    @kojimo we will release a new version in the future that should address this.

    Till then, you can comment out line 189 in the file wp-product-review/includes/public/class-wppr-public.php under your plugins folder. It currently reads

    add_action( 'amp_post_template_head', array( $this, 'wppr_amp_add_styles' ), 999 );

    and after commenting out should read

    //add_action( 'amp_post_template_head', array( $this, 'wppr_amp_add_styles' ), 999 );

    Thread Starter kojimo

    (@kojimo)

    @rozroz thanks!
    Resolved.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘AMP Validation Error: Dashicons’ is closed to new replies.