File: /home/zwafgyp/dodolodge-net/wp-content/themes/hotel-wp/inc/function-thimcore.php
<?php
/**
* Created by PhpStorm.
* User: dongc
* Date: 06/15/2018
* Time: 9:32 AM
*/
/**
* Info theme into dashboard
* @return array
*/
function config_links_guide_user() {
return array(
'docs' => 'http://docspress.thimpress.com/hotelwp/',
'support' => 'https://thimpress.com/forums/forum/hotelwp/',
'knowledge' => 'https://thimpress.com/knowledge-base/',
);
}
add_filter( 'thim_theme_links_guide_user', 'config_links_guide_user', 9999 );
/**
* List child themes.
*
* @return array
*/
function thim_hotelwp_list_child_themes() {
return array(
'hotelwp-child' => array(
'name' => 'Hotel WP Child',
'slug' => 'hotelwp-child',
'screenshot' => 'https://foobla.bitbucket.io/hotel-wp/child-themes/hotel-wp-child.jpg',
'source' => 'https://foobla.bitbucket.io/hotel-wp/child-themes/hotel-wp-child.zip',
'version' => '1.0.0'
),
);
}
add_filter( 'thim_core_list_child_themes', 'thim_hotelwp_list_child_themes' );
//Add font
function my_custom_fonts( $standard_fonts ) {
$fonts['serif'] = array(
'label' => 'Serif',
'stack' => 'Georgia,Times,"Times New Roman",serif',
);
$fonts['sans-serif'] = array(
'label' => 'Sans Serif',
'stack' => '-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif',
);
$fonts['monospace'] = array(
'label' => 'Monospace',
'stack' => 'Monaco,"Lucida Sans Typewriter","Lucida Typewriter","Courier New",Courier,monospace',
);
$fonts['arial'] = array(
'label' => 'Arial',
'stack' => 'Arial',
);
return $fonts;
}
add_filter( 'kirki/fonts/standard_fonts', 'my_custom_fonts' );