Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #21206

    Hi,

    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.

    Best regards,

    Michał

    #110984

    Hi,

    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.

    Thanks,

    Nick

    #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:

    'Alice'=>'Alice',
    'Allerta'=>'Allerta',
    'Arvo'=>'Arvo',
    'Antic'=>'Antic',

    - just add your font to this array and make sure that you’re using the right font name. The structure is “FONTNAME”=>”FONTNAME”

    #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.

    #110987

    Hi,

    Have you looked at Dude’s post above that has the directions you should follow once you select a font that you will like.

    Here is a list of Google Polish Fonts http://hekate-design.pl/2011/01/lista-fontow-z-polskimi-znakami-diakrytycznymi-od-google-font-directory/

    Thanks,

    Nick

    #110988

    Hi,

    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?

    #110989

    Hi,

    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

    'Raleway'=>'Raleway',

    Thanks,

    Nick

    #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 :].

    #110991

    Hi,

    Railway font has Polish characters according to the documentation http://www.impallari.com/projects/update/35

    http://www.impallari.com/media/uploads/prosources/update-35-source.zip <—.ttf files

    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

    Thanks,

    Nick

    #110992

    Hi,

    Thanks for help. I have founded similar font with PL letters. Railway that is hosted on Google is not supporting Polish language.

Viewing 10 posts - 1 through 10 (of 10 total)

The topic ‘New font in theme – Polish national characters’ is closed to new replies.