Unload fa-900.woff2

  • Author
    Posts
  • vdrive6

    how to unload fa-900.woff2 and its related files located at hivepress/asset/webfonts folder. Because i am using other fontawesome plugin.

    ihordeveloper

    This PHP code snippet should do it:

    add_filter(
    	'hivepress/v1/styles',
    	function( $styles ) {
    		unset( $styles['fontawesome'] );
    		unset( $styles['fontawesome_solid'] );
    
    		return $styles;
    	}
    );
Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

Subscribe

Sign In

Don't have an account? Register

Forgot password?

Register

Already have an account? Sign In

Forgot password?

Reset Password

Please enter your username or email address, you will receive a link to create a new password via email.