Plugin yìí kò tíì ṣe àyẹ̀wò pẹ̀lú àwọn ìtújáde mẹ́ta pàtàkì tó kẹ́yìn ti WordPress. Ó lè jẹ́ pé a kò tọ́jú tàbí ṣe àtìlẹ́yìn fún un mọ́, ó sì lè ní àwọn ọ̀ràn ìbámu nígbà tí a bá lò ó pẹ̀lú àwọn ẹ̀yà WordPress tuntun.

Js Css Include Manager

Àpèjúwe

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

Àwọn àwòrán ìbòjú

  • Settings Interface
  • Configuration Example
  • Conditions after added of settins interface

Ìgbéwọlẹ̀

  1. Upload the full directory to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Go to WP-Admin -> Settings -> Js Css Include Manager to configure the plugin.

FAQ

A question that someone might have
What about foo bar?

Àwọn àgbéyẹ̀wò

Kò sí àwọn àgbéyẹ̀wò fún plugin yìí.

Àwọn Olùkópa & Olùgbéejáde

“Js Css Include Manager” jẹ́ ètò ìṣàmúlò orísun ṣíṣí sílẹ̀. Àwọn ènìyàn wọ̀nyí ti ṣe ìkópa sí plugin yìí.

Àwọn Olùkópa

Túmọ̀ “Js Css Include Manager” sí èdè rẹ.

Ṣe o nífẹ̀ẹ́ sí ìdàgbàsókè?

Ṣàwárí koodu, ṣàyẹ̀wò ibi ìpamọ́ SVN, tàbí ṣe àgbékalẹ̀ sí àkọsílẹ̀ ìdàgbàsókè nípasẹ̀ RSS.

Àkọsílẹ̀ àwọn àyípadà

1.4.4

  • Fixed: Re-setting data broken to file location.
  • Changed: Delete the parent theme location if use child theme.

1.4.3

  • Security enhancement: Escape to add_query_arg/remove_query_arg.

1.4.2

  • Fixed: Get the current user group.

1.4.1

  • Fixed: Small bug fixes.
  • Fixed: Remove useless globals.

1.4

  • Added: Support to Multisite.
  • Added: Allows the change of setting user role.
  • Updated: Organize sorce files.
  • Updated: Delete how to update in ajax.
  • Updated: Strinct condition check.

1.3.3.1

  • Fixed: Data update way.

1.3.3

  • Updated: Change the source code.
  • Updated: Data save way of settings.
  • Updated: Change way to edit of settings.
  • Updated: Compatible for WP 3.8.
  • Updated: Screen shots.
  • Added: Filter for condition of settings.

1.3.2

  • Support on SSL.

1.3.1.2 alpha

  • Fixed bug : Active themes directory location settings.
  • Added field to data identification for backwards compatibility.

1.3.1.1

  • Translate fix : Japanese.
  • Checked Compatibility.
  • Added Information of plugin.

1.3.1

Added a confirmation of Nonce field.

1.3

Adding capability to add file based on conditions (e.g. user is logged in, user is an admin, etc.).

1.2.1

Bugfix: Action footer bug fixed.

1.2

Change the notation of the donation.

1.1

Change Layout.
Fixed a bug that does not appear in the footer.

1.0

This is the initial release.