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

    (@rozroz)

    @bayonjoset the page you need help with is not accessible by the AMP validator. Can you please make it available so that we can check what it says? Also, the link you have provided “https://www.ads-software.com/support/topic/the-author-stylesheet-specified-in-tag-style-amp-custom-is-too-long-5/” does not appear to be something that we resolved for you. Can you please verify it?

    Thread Starter bayonjoset

    (@bayonjoset)

    Hi,

    Sorry for the mix-up. The page is accessible to the validator, try again it might be a host issue. (It shows can’t fetch for the first try)

    About the link, I pasted the wrong link. I tried to give you this link:
    https://www.ads-software.com/support/topic/amp-validation-error-dashicons/

    This is another user’s thread, but similar issue showed up on my site too. So I used this solution to resolve the issue. Does this have anything to do with the current problem?

    Plugin Contributor contactashish13

    (@rozroz)

    @bayonjoset can you please add this code to your theme’s functions.php and see if it fixes it?

    
    	add_filter( 'wppr_amp_exclude_stylesheets', function( $list ) {
    		$list[] = 'dashicons';
    		return $list;
    	}, 10, 1 );
    
    
    Thread Starter bayonjoset

    (@bayonjoset)

    Hi. This fixed the problem. What did this command do to my site? When the next update comes, do I have to do these same things all over again?

    Regards
    B

    Plugin Contributor contactashish13

    (@rozroz)

    @bayonjoset this code does the same job as as what we had recommended in the link you had shared. You do not have to do anything when the plugin is updated, as long as the code does not disappear from the functions file.

    Thread Starter bayonjoset

    (@bayonjoset)

    Hi,
    The author stylesheet specified in tag ‘style amp-custom’ is too long – the limit is 50000 bytes AMP error is back. According to AMPforWP team, this plugin is causing the problem. Can you check this out?

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘AMP Error in style amp-custom’ is closed to new replies.