Js Css Include Manager
This plugin allows you to include extra JavaScript or CSS files in your WordPress page. You can: Include as many as you like. Choose whether files are to be included on the front-end or the back-end. Choose where to include them in the header or the footer. Choose conditions to use for inclusion (lo
About this tool.
This plugin allows you to include extra JavaScript or CSS files in your WordPress page.
You can:
- Include as many as you like.
- Choose whether files are to be included on the front-end or the back-end.
- Choose where to include them in the header or the footer.
- Choose conditions to use for inclusion (logged-in users only, admin users only, front page only).
- Choose conditions of you can add.
Please if you want to add conditions. For example add filter:
add_filter( 'jcim_condition' , 'my_conditions' ); function my_conditions( ) { $conditions = array( array( "code" => "current_user_can", "val" => "edit_themes", "desc" => "Only edit theme role have user", "help_link" => "https://codex.wordpress.org/Function_Reference/current_user_can" ), array( "code" => "is_admin", "val" => "", "desc" => "Only admin screen", "help_link" => "" ), ); return $conditions; }
日本語でのご説明
このプラグインは、よくごちゃごちゃになってしまうjavascriptファイルの読み込みとcssファイルの読み込みを、 管理画面だけ、またはサイトだけに読み込むファイルを、1箇所で管理するためのプラグインです。 サイトで何のファイルを読み込んでいるのか、すっきり。
Getting started.
- 01Upload the full directory to the /wp-content/plugins/ directory.
- 02Activate the plugin through the ‘Plugins’ menu in WordPress.
- 03Go to WP-Admin -> Settings -> Js Css Include Manager to configure the plugin.