Custom CSS, JS & PHP

描述

Custom CSS, JS & PHP is a lightweight plugin that lets you add:

  • custom CSS (front-end and/or back-end),
  • custom JavaScript (front-end and/or back-end), and
  • custom PHP.

🗘 Feedback

  • We are open to your suggestions and feedback. Thank you for using or trying out one of our plugins!

螢幕截圖

  • Custom CSS.
  • Custom JS.
  • Custom PHP.

安裝

  1. Upload the entire plugin folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the “Plugins” menu in WordPress.
  3. Start by visiting plugin settings at “Tools > Custom CSS”, “Tools > Custom JS” or “Tools > Custom PHP”.

常見問題

How do I disable (non-valid) PHP code?

Add alg_disable_custom_php parameter to the URL, e.g.: http://example.com/wp-admin/tools.php?page=alg-custom-php&alg_disable_custom_php.

評價

2024年11月23日 2 replies
Lightweight plugin that easily performs its task without bloatware, crap or other nonsense. You can add custom php (action, filters, etc.), custom styles and scripts (front-end & back-end) without any problems.A must-have little gem for your plugins repository
2020年9月18日
It is an excellent application, it helped me a lot on my wordpress page, the programmer is very attentive to help. It has other plugins that I always use too. Highly recommended
閱讀全部3個評價

貢獻者及開發者

“Custom CSS, JS & PHP” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Custom CSS, JS & PHP 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

2.4.1 – 06/01/2025

  • Dev – Custom PHP – “Execute” option added. Defaults to “Execute on plugins_loaded action”. New option: “Execute in [alg_custom_php] shortcode”.
  • Dev – Changed the deploy script.

2.4.0 – 22/11/2024

  • Dev – Security – Output escaped.
  • Dev – Coding standards improved.
  • Dev – Code refactoring.
  • Tested up to: 6.7.

2.3.0 – 05/09/2024

  • Dev – Code editors added.
  • Dev – Custom PHP – Now allows/recommends the opening tag.
  • Dev – PHP 8.2 compatibility – “Creation of dynamic property is deprecated” notice fixed.
  • Dev – Admin settings restyled.
  • Dev – Code refactoring.
  • Tested up to: 6.6.

2.2.1 – 09/12/2022

  • Tested up to: 6.1.
  • Readme.txt updated.
  • Deploy script added.

2.2.0 – 28/09/2021

  • Dev – Plugin is initialized on the plugins_loaded action now.
  • Dev – Localization – load_plugin_textdomain() moved to the init action.
  • Dev – Code refactoring.
  • Tested up to: 5.8.

2.1.0 – 03/03/2020

  • Dev – Admin settings – Split into three separate sections: “Custom CSS”, “Custom JS” and “Custom PHP”; menu added.
  • Dev – Admin settings – Descriptions updated; restyled.
  • Dev – Admin settings – Checkbox – Wrapped in <label> now.
  • Donate link removed.
  • Tested up to: 5.3.

2.0.1 – 18/10/2018

  • Dev – “CSS position” and “JS position” options added.

2.0.0 – 28/09/2018

  • Feature – “Custom JS” section added.
  • Feature – “Custom PHP” section added.
  • Dev – Major code refactoring.
  • Dev – Settings screen restyled.
  • Dev – POT file added.

1.0.0 – 07/04/2017

  • Initial Release.