Okay
  Public Ticket #2316641
Adobe Typekit
Closed

Comments

  • glowdotdesign started the conversation

    Hi there! I am using Adobe Typekit for the fonts on my website and am wondering how I can get those fonts to show up in Salient's Typography manager. 


    The plugin I'm using to connect my Adobe Typekit fonts is Adobe Fonts: https://wordpress.org/plugins/custom-typekit-fonts/

  •  8,884
    Tahir replied

    Hey Again,

    Please have a look at this Article :Add a Custom Font.

    Best


    ThemeNectar Support Team 

  • Jason replied

    Tahir, I don't really see how this answers the question. If I am not mistaken, the Use Any Fonts does not work with Adobe Fonts. Am I missing something? I hope so, because I would love to use it.

    Thanks in advance for your response.

    ~ Jason

  •  8,884
    Tahir replied

    Hey Again,

    Unfortunately there is no such option to add Custom fonts to the Typography Tab at the moment though escalating it to the developer so he may add in a response regarding the New Beta Version .

    Best 


    ThemeNectar Support Team 

  •  1
    William replied

    The code posted in the now struck through part of that article does still work well for Typekit fonts.

    How do you load multiple fonts at the same time?


    function salient_redux_custom_fonts( $custom_fonts ) {    
    return array(        
    'Custom Fonts' => array(             
    'futura-pt,sans-serif' => "Futura PT"        
    )    
    );
    }
    add_filter( "redux/salient_redux/field/typography/custom_fonts", "salient_redux_custom_fonts" );


  •  8,884
    Tahir replied

    Hey Again,

    You can add to the array like this :

    function salient_redux_custom_fonts( $custom_fonts ) {    
    return array(        
    'Custom Fonts' => array(             
    'futura-pt,sans-serif' => "Futura PT"  ,'open-pt,sans-serif' => "Open PT" ,'Close-pt,sans-serif' => "Close PT"     
    )    
    );
    }
    add_filter( "redux/salient_redux/field/typography/custom_fonts", "salient_redux_custom_fonts" );
    

    Thanks


    ThemeNectar Support Team