我无法在我的wordpress网站的插件中加载自定义样式

I am trying to call my custom styles in my wordpress plugin. I tried the wp_enqueue methods but i could not find my style sheet getting loaded.

I have tried examples from stackoverflow itself but it is not working for me. I checked the enqued styles using debug bar - dependancy tool and cannot find the styles in that too. Please check the link for my enqued styles . debug bar The following are the two different ways, i tried to load my css.

function wp_adding_styles1()
{
wp_enqueue_style('my_eastern_charts_stylesheet', plugin_dir_url(__FILE__) . 'eastern_charts_stylesheet.css');   

}
add_action('wp_enqueue_scripts', 'wp_adding_styles1');

function wpb_adding_styles() {
wp_register_style('my_stylesheet', plugins_url('eastern_charts_stylesheet.css', __FILE__));
wp_enqueue_style('my_stylesheet');
}
add_action( 'wp_enqueue_scripts', 'wpb_adding_styles' );

Directory Structure

Try This

function custom_load_plugin_css() {
   $plugin_url = plugin_dir_url( __FILE__ );

        wp_enqueue_style( 'style1', $plugin_url . 'css/style1.css' );
        wp_enqueue_style( 'style2', $plugin_url . 'css/style2.css' );
    }
    add_action( 'wp_enqueue_scripts', 'custom_load_plugin_css' );

Please try with below code :

function your_namespace() {
 wp_register_style('charts_stylesheet',plugins_url('charts_stylesheet.css',__FILE__ ));
 wp_enqueue_style('charts_stylesheet');
}

add_action( 'wp_head','your_namespace');