Fixing dashicons not showing for non admin users
This commit is contained in:
parent
7e0fbae759
commit
48a2e805bc
|
|
@ -0,0 +1,13 @@
|
|||
/*
|
||||
* vim: set ai sw=4 smarttab expandtab: tabstop=8 softtabstop=0
|
||||
*
|
||||
*/
|
||||
|
||||
.print-link {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.print-link:hover {
|
||||
color: red;
|
||||
}
|
||||
|
||||
|
|
@ -11,6 +11,11 @@ if ( ! defined( 'WPINC' ) ) {
|
|||
die;
|
||||
}
|
||||
|
||||
function ww_load_styles(){
|
||||
wp_enqueue_style('dashicons');
|
||||
wp_enqueue_style( 'wpdfh-main', plugin_dir_url( __FILE__ ) . 'assets/wp-pdf-helper.css' );
|
||||
}
|
||||
add_action('wp_enqueue_scripts', 'ww_load_styles', 999);
|
||||
|
||||
add_filter('manage_media_columns', 'add_media_column', 50, 2);
|
||||
function add_media_column($columns, $detached) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue