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”.

FAQ

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개
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.2 – 31/03/2025

  • Dev – Security – Added user permissions check and nonce verification when saving options.

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.