• Resolved Masoud d

    (@themefour)


    Hi, I wrote this code. I want my font to be added to the font list in the theme settings. But it was not added. what is the problem? Can you write me the correct code?

    add_filter('redux/options/ReduxCore/inc/fields/typography/field_typography', function( $std_fonts) {
    $std_fonts = array(
    	"Myfont"                                            => "Myfont",
    		
    			 ]
    		);
    return $std_fonts;
    
    );
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Dōvy Paukstys

    (@dovyp)

    That’s a bit edge work. I wrote the capability, but you’d have to hack around a bit. We do have a custom fonts extension that does it to an extent…

    Thread Starter Masoud d

    (@themefour)

    thank you. Please increase the hooks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Hooks’ is closed to new replies.