Home › Forums › WoodMart support forum › How to add inc folder in child theme › Reply To: How to add inc folder in child theme
September 14, 2023 at 5:41 pm
#496040
Artem Temos
Keymaster
Currently, there are no filters there. But we will add it in our next update. As for now, you can replace that file code with the following one and use a hook called woodmart_get_standard_fonts
in your child theme to override that array
<?php
if ( ! defined( 'WOODMART_THEME_DIR' ) ) {
exit( 'No direct script access allowed' );
}
return apply_filters(
'woodmart_get_standard_fonts',
array(
'-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif' => 'System font stack',
'Arial, Helvetica, sans-serif' => 'Arial, Helvetica, sans-serif',
'\'Arial Black\', Gadget, sans-serif' => '\'Arial Black\', Gadget, sans-serif',
'\'Bookman Old Style\', serif' => '\'Bookman Old Style\', serif',
'\'Comic Sans MS\', cursive' => '\'Comic Sans MS\', cursive',
'Courier, monospace' => 'Courier, monospace',
'Garamond, serif' => 'Garamond, serif',
'Georgia, serif' => 'Georgia, serif',
'Impact, Charcoal, sans-serif' => 'Impact, Charcoal, sans-serif',
'\'Lucida Console\', Monaco, monospace' => '\'Lucida Console\', Monaco, monospace',
'\'Lucida Sans Unicode\', \'Lucida Grande\', sans-serif' => '\'Lucida Sans Unicode\', \'Lucida Grande\', sans-serif',
'\'MS Sans Serif\', Geneva, sans-serif' => '\'MS Sans Serif\', Geneva, sans-serif',
'\'MS Serif\', \'New York\', sans-serif' => '\'MS Serif\', \'New York\', sans-serif',
'\'Palatino Linotype\', \'Book Antiqua\', Palatino, serif' => '\'Palatino Linotype\', \'Book Antiqua\', Palatino, serif',
'Tahoma,Geneva, sans-serif' => 'Tahoma, Geneva, sans-serif',
'\'Times New Roman\', Times,serif' => '\'Times New Roman\', Times, serif',
'\'Trebuchet MS\', Helvetica, sans-serif' => '\'Trebuchet MS\', Helvetica, sans-serif',
'Verdana, Geneva, sans-serif' => 'Verdana, Geneva, sans-serif',
)
);