Js Css Include Manager

0

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 o

Version
Last updated
Active installations
WordPress Version
Tested up to
Rating
Total ratings
Tag
This plugin is outdated and might not be supported anymore.

Description

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箇所で管理するためのプラグインです。
サイトで何のファイルを読み込んでいるのか、すっきり。