Custom CSS, JS & PHP
Custom CSS, JS & PHP
Description
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!
Installation
- Upload the entire plugin folder to the
/wp-content/plugins/directory. - Activate the plugin through the “Plugins” menu in WordPress.
- Start by visiting plugin settings at “Tools > Custom CSS”, “Tools > Custom JS” or “Tools > Custom PHP”.
Faq
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
Reviews
Convenient and easy way to add custom code to any site
By d4niwp on November 23, 2024
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
I love this plugin
By plaguna22 on September 18, 2020
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
It just works !
By trollmancapote on February 6, 2018
Very simple, light and effective !
Changelog
2.4.3 – 08/09/2025
- Tested up to: 6.8.
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_loadedaction”. 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_loadedaction now. - Dev – Localization –
load_plugin_textdomain()moved to theinitaction. - 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.


