March 12, 2013 at 10:56 pm #21206
Could you please prepare some quick manual how I can add new font to theme.
In polish language we have additional characters that are not being shown correctly (e.g. ążźćłńóę).
In some fonts Google is supporting that characters. Could you tell me how I am able to connect additional font to theme.
In general I only need one font. The chooser is not needed for me.
MichałMarch 14, 2013 at 11:51 am #110984
There are quite a few Polish fonts as far as I know. What font do you need added so we can give you the code.
NickMarch 14, 2013 at 11:57 am #110985
It’s quite easy – open up wp-contentthemespropulsionincludesadminregister-admin-options.php and search for following line:
$avia_elements = array( "name" => "Heading Font",
You’ll notice that this option array contains another array which lists all fonts like:
– just add your font to this array and make sure that you’re using the right font name. The structure is “FONTNAME”=>”FONTNAME”March 18, 2013 at 7:11 pm #110986
Thank you for response. I was thinking about Raleway font. But it seems that this font does not support Polish characters.
And maybe one more question. Please let me know if there is possibility to add custom font to Theme that be located somewhere on site.
I know that link to Google is faster, but if I will not something that looks nice with Polish letters I think I will need to make my custom font and upload to server.March 18, 2013 at 7:18 pm #110987March 18, 2013 at 7:48 pm #110988
Yes. I know that way and that site. But there is not Raleway PL font. I am able to buy extended version of Raleway font. And somehow I need to connect it with this theme. I would like to know if there is possibility to do this in easy way?March 18, 2013 at 7:58 pm #110989
Here is https://www.google.com/fonts/specimen/Raleway Raleway. It says it works with Polish. Now please follow Dude’s directions by opening wp-contentthemespropulsionincludesadminregister-admin-options.php file and looking for line 720 (please check Dude’s post above, and then adding the line below to line 720
NickMarch 18, 2013 at 8:11 pm #110990
Unfortunate it does not support PL. The font is already builded into theme and Polish letters are displayed not correctly. So the question is still valid.
I wouldn’t write here if I will be able to use that font with PL lettert :].March 18, 2013 at 10:52 pm #110991
Railway font has Polish characters according to the documentation http://www.impallari.com/projects/update/35
My suggestion is to find a different font that has Polish characters out of the box http://www.google.com/fonts#UsePlace:use/Collection:Playfair+Display
NickMarch 21, 2013 at 10:47 pm #110992
The topic ‘New font in theme – Polish national characters’ is closed to new replies.