Easily add code snippets in WordPress. Insert header and footer scripts, add PHP code snippets with conditional logic,…
Maintained alternatives you can try now
Active on WordPress.org, updated in the last 18 months, and doing the same job. Each one opens in a live sandbox.
An easy, clean and simple way to run code snippets on your site.
A simple way to change a post's type in WordPress
About PHP Everywhere
Version 3.0.0 of this plugin is a major update that removes a shortcode and widget, but provides an upgrade wizard to help you migrate your old code to Gutenberg blocks. This plugin allows you to use PHP code in various parts of your WordPress site, including pages, posts, sidebars, and Gutenberg blocks. It also supports user restrictions and multiple PHP instances, giving you flexibility in customizing your site.Frequently asked questions
What is PHP Everywhere?
Where can I use PHP code with this plugin?
What are some examples of how I can use PHP Everywhere?
Who translated the plugin?
What should I know about the 3.0.0 update?
Changelog
3.0.0 – January 12, 2022
- New: Added upgrade wizard
- Improvement: Improved plugin settings
- Improvement: Improved plugin permission management. Previous permissions have been reset to admin only to allow users to set fine-grained permissions.
- Improvement: Improved Gutenberg block
- Fix: Fixed multiple critical vulnerabilities. Thanks to Ramuel Gall/Wordfence for pointing them out.
- Issue: Remote Code Execution by low-privileged users via shortcode; Estimated CVSS score: 9.9(Critical)
- Issue: Remote Code Execution by low-privileged users via metabox; Estimated CVSS score: 9.9(Critical)
- Issue: Remote Code Execution by low-privileged users via gutenberg block; Estimated CVSS score: 9.9(Critical)
- Removed: Removed shortcode because of vulnerability
- Removed: Removed options box because of vulnerability
- Removed: Removed PHP everywhere widget because of vulnerability
2.0.3 – December 23, 2021
- Fix: Fixed CSRF vulnerability in the plugin. Thanks for Rasif Afeef for pointing it out.
2.0.2 – August 03, 2020
- Info: Clarified WordPress 5.5 compatibility and adjusted settings page
- Info: Raised minimum PHP version to 5.6, but 7.3 iis recommended
- Fix: Fixed fatal errors introduced by upgrading to or installing on WordPress 5.4 and up
2.0.1 – December 04, 2019
- Info: Clarified WordPress 5.3 compatibility and adjusted settings page
2.0.0 – June 15, 2019
- New: Added Gutenberg Block
- New: Added option to disable Options box.
- New: Added option to disable Gutenberg Block.
1.4.5 – March 14, 2019
- Info: Clarified Gutenberg and WordPress 5.1 compatibility
1.4.3/4 – October 17, 2018
- Fix: Fixed deprecated warning on PHP 7.2
- Fix: Fixed error introduced in 1.4.3
1.4.2 – May 13, 2018
- New: Added italien translation
1.4.1 – December 01, 2017
- Fix: Added WordPress.org translation support
1.4 – November 26, 2017
- New: Added WordPress.org translation support
- Fix: Fixed security flaw where authenticated users were able to make themself administrators and execute php. Thanks @dandr3ss
1.3 – November 08, 2017
- Fix: Fixed deprecation notice on PHP 7.1
1.2.5
- minor bugfix for translations
- lowered the plugins memmory footprint
1.2.4
- added a portuguese translation
1.2.3
- bug fix for WP 4.3.1, thanks thea2zbrand
1.2
- added a german translation
- added a serbian translation
1.1.2
- fixed some minor bugs when creating a menu
1.1
- added multiple PHP instances
1.0
- release