How to insert another font to typography Sparkling

i have a problem here, i want to insert a font that i get with download from internet, can you help me?

sorry for my bad english

Hi @erlara,

I hope you are well today and thank you for your question.

If you want to use custom font on your site then you can do so by referring the information provided on the following pages.

If you want to add another font to Sparkling typography options then you can use the attached small plugin that contains the following code.

function add_custom_font(){ 
    // Typography Options
        global $typography_options;
        $typography_options['faces'] =  array(
                        'custom-font-name' => 'Custom Font Name',
                        'arial'          => 'Arial',
                        'verdana'        => 'Verdana, Geneva',
                        'trebuchet'      => 'Trebuchet',
                        'georgia'        => 'Georgia',
                        'times'          => 'Times New Roman',
                        'tahoma'         => 'Tahoma, Geneva',
                        'Open Sans'      => 'Open Sans',
                        'palatino'       => 'Palatino',
                        'helvetica'      => 'Helvetica',
                        'Helvetica Neue' => 'Helvetica Neue,Helvetica,Arial,sans-serif'
add_action('init', 'add_custom_font', 99);

In the above plugin code replace the ‘Custom Font Name’ with the font name that you want to use.

Best Regards,

Let’s say I would like to use Google web fonts, am I supposed to load every fonts I mean to use in the <head> part of the code? Or there’s a way to selectively load only the font I choose in the “typography options”?

Hi @mc9625,

To help keep support thread separates could you please create your own thread for your question here instead of replying on others thread as it makes the thread messy and hard to read.

If you want to you can also add reference of this thread in your newly created thread.

We would be more than happy to help you on your new thread.


Hi Movin,

sorry, you pointed me to this thread so I guess it was related to the thread I’ve already opened here: , but actually it doesn’t fit.


Hi @mc9625,

I have replied to your following topic.

As requested please don’t post on multiple topics to avoid duplication of threads and replies.

I am sure you understand this.