Jump to content
camaran

Add new font

Recommended Posts

camaran    4
camaran

Hi,

how i can add new font in pagelines?

this is correct:


add_filter ( 'pagelines_foundry', 'my_google_font' );

function my_google_font( $thefoundry ) {

$myfont = array( 'Ubuntu' => array(

   'name' => 'Ubuntu',

   'family' => '"Ubuntu", arial, serif',

   'web_safe' => true,

   'google' => true,

   'monospace' => false

   ),

   'Maven' => array(

   'name' => 'Maven Pro',

   'family' => '"Maven Pro", sans-serif',

   'web_safe' => true,

   'google' => true,

   'monospace' => false

   )

  );

return array_merge( $thefoundry, $myfont );

}

Share this post


Link to post
Share on other sites
Rob    547
Rob

I'm not sure if that works as I've never tried it. However, we do have built in support for Typekit and Cufon. Have you looked into this?


Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×