PHP Everywhere

Description

This plugin enables PHP code everywhere in your WordPress instalation.

Using this plugin you can use PHP in:

  • Widgets
  • Pages
  • Posts

The plugin also supports different user restrictions and multiple PHP instances.

So feel free to just insert PHP in every part of your WordPress site.

Examples of use:

  • Create custom contact forms and process any kind of data or upload.
  • Generate user optimized content.
  • Customize every little detail of your WordPress installation.

Design

Icon & Wallpaper Design : GiGATEAM Ltd.

Translation

English and German : Alexander Fuchs
Spanish : IBIDEM GROUP
Portuguese : Luis Reis
Serbian : Borisa Djuraskovic
Italian : Andrea Rosenthal Manetti

Screenshots

  • This is the plugins Gutenberg Block.
  • This is the plugins post and pages option. Paste your PHP or HTML into this option and place the shortcode where you want the plugin to appear.
  • This is the plugins multiple PHP instance functionality
  • The plugin looks like this while using the classic editor

Blocks

This plugin provides 1 block.

  • PHP Everywhere

Installation

Extract the zip file and just drop the contents in the wp-content/plugins/ directory of your WordPress installation and then activate the Plugin from Plugins page. There is a usage guide on the plugins options page.

FAQ

Q: How do I use this plugin?

A: You can find a usage guide on the options page

Q: Does this plugin support multiple PHP instances?

A: Yes, but you need to check for a position parameter using an if statements in your PHP snippet. The Gutenberg Block also supports multiple instances.

Q: Does this plugin support the Gutenberg editor?

A: Yes. The plugin provides a Gutenberg Block.

Reviews

November 20, 2020
When I updated the plugin and wordpress, for the latest versions the haphazard stopped working, and includes the message: There is a critical error on your site. I tried to revert to the previous versions and the error did not disappear .. it continued. and the page is unconfigured. Can you help me?
September 15, 2020
Your plugin is excellent! I use it mainly the widget combined with Siteorigin page builder. One important improvement you can add is a reasonable editor for the snippets. For example, Ace is a plugged-in JS editor. It would reduce the possibility of simple errors and site crashes. Another improvement is a safety net that will prevent site crash when an error occurs. Thank you for the plugin Rafi
August 3, 2020
Anyone else getting a critical error every time this plug in is used? It like completely doesn't allow me to acsess the whole page I'm working on but is the only helpful php code plugin I've found thus far.
June 17, 2020
I've used this for years for VERY simple stuff, but lately I realized I couldn't do something simple like: $var = 10; include 'blah.php'; It crashes WP so badly you have to hack the DB just to access that post again. Horrid. I moved over to Insert PHP Code Snippet and the same code works flawlessly.
December 16, 2019
Please add codemirror editor to the Gutenberg blocks for the php everywhere block. Once that is done, I believe this could be the best plugin I've ever used. I use this so much for so many things, but I have to edit my code in another editor, then copy and paste back, because I can't stand not having the codemirror editor, for formatting, line numbers, tabbing, editor auto height, etc.. error checking before saving would be a life saver as well. please, thanks!
Read all 32 reviews

Contributors & Developers

“PHP Everywhere” is open source software. The following people have contributed to this plugin.

Contributors

“PHP Everywhere” has been translated into 1 locale. Thank you to the translators for their contributions.

Translate “PHP Everywhere” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

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