A fork of Ryan Summer's WordPress plugin Obvious Post States (https://github.com/ryansommers/obvious-post-states)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
666 B

Plugin Name: Obvious Post States
Plugin URI: https://github.com/ryansommers/slate
Description: Make your WordPress post state text (draft, pending, sticky, etc) stand out.
Author: Ryan Sommers
Version: 1.0.0
Author URI: http://ryansommers.com
function obvious_post_states_files() {
wp_enqueue_style( 'obvious-post-states', plugins_url('obvious-post-states.css', __FILE__) );
wp_enqueue_script( 'obvious-post-states', plugins_url( "js/obvious-post-states.js", __FILE__ ), array( 'jquery' ), '1.0.0', true );
add_action( 'admin_enqueue_scripts', 'obvious_post_states_files' );
add_action( 'login_enqueue_scripts', 'obvious_post_states_files' );