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

    (@aahulsebos)

    Hi @kaschwei,

    Of course, I will try to create an integration. Did you try with the script center?

    I understand Adobe has other licensing than Google Fonts, so it might be necessary to use the API, because self-hosting is not always possible. But I’d like to remind everyone who wants consent for fonts from external resources that consent might cause lay-out shifts and noticeable differences between before and after consent. A video example can be found here. This is not something Complianz can prevent.

    https://complianz.io/self-hosting-google-fonts-for-wordpress/

    I will get back to you soon, regards Aert

    Plugin Contributor Aert Hulsebos

    (@aahulsebos)

    Hi @kaschwei, as a quick follow-up;

    Is this the plugin you’re referring to? https://www.ads-software.com/plugins/custom-typekit-fonts/

    As per possibility to self-host; Adobe doesn’t offer it directly, but I have seen specific fonts that are available for self-hosting, but downloadable via Google Fonts for example. It might be worth checking out if this is the case.

    Thread Starter kaschwei

    (@kaschwei)

    Hi Aert!
    No it is a theme which is supported by elementor pro.
    So you can connect the account of Adobe Font Kit with a Porject ID in the elementor settings.

    If I delete the Project ID, I loose all the fonts, and the layout started with a custom font like arial.

    So at least I have no experience with the Script center!

    Regards and thank you
    Heinz

    Plugin Contributor Leon Wimmenhoeve

    (@leonwimmenhoeve)

    Hi @kaschwei,

    Just a little update, one of our developers will investigate Adobe Typekit i.c.w. Elementor to see if we can create an integration. Please note that (as you mention) the result will be to only load fonts after consent, as Adobe prohibits to self-host fonts.

    We’ll be in touch shortly.

    Kind regards,
    Leon

    Plugin Contributor jarnovos

    (@jarnovos)

    Hello @kaschwei,

    To block these Adobe Typekit sources prior to consent, you can add the below code in a .php file in the folder /wp-content/mu-plugins/ on your website.

    <?php
    defined( 'ABSPATH' ) or die( "you do not have access to this page!" );
    
    add_filter( 'cmplz_known_style_tags', 'cmplz_adobe_typekit_mu_plugin' );
    function cmplz_adobe_typekit_mu_plugin( $tags ) {
    	$tags[] = array(
    		'name' => 'adobe-typekit',
    		'category' => 'marketing',
    		'urls' => array(
    			'use.typekit.net',
    			'p.typekit.net',
    		),
    		'enable_placeholder' => '0',
            'dependency' => '0',
    	);
    
    	return $tags;
    }

    I expect that this will be added to the plugin in one of the upcoming releases as well, and at that point you won’t require the use of this separate MU Plugin any longer. It will be noted in the plugin changelog when that is the case!

    Kind regards,
    Jarno

    Thread Starter kaschwei

    (@kaschwei)

    Thank you very much I will try it!

    Best Regards and thank you again!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Implementation Adobe Font Kit’ is closed to new replies.