Jump to content
Sign in to follow this  
jkegley

how do I upload new custom fonts to pagelines framework template

Recommended Posts

jkegley

I have many custom fonts created from handwriting. How do I upload them for use in PageLines?

Share this post


Link to post
Share on other sites
Danny
Hi, The below code is taken from the PageLines Customisation plug-in and is an example on how to add custom fonts. [code]// FILTERS EXAMPLE ---------// // The following filter will add the font Ubuntu into the font array $thefoundry. // This makes the font available to the framework and the user via the admin panel. */ 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 ) ); return array_merge( $thefoundry, $myfont ); }[/code] You could also try using this plug-in - http://wordpress.org/extend/plugins/font-uploader/ It has been reported that it doesn't work with the latest version of Wordpress, however the author replied to a forum post informing the original poster, that it does.

Please search our forums, before posting!

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

Sign in to follow this  

×