Tutorial for moving away from PHP Everywhere 3.0
-
Hello,
As you probably know already, PHP Everywhere 3.0 only supports PHP Gutenberg blocks, and it drops support for both PHP widgets and PHP short codes. People (like me) who don’t like or can’t use Gutenberg, don’t have a choice and have to move away from PHP Everywhere 3.0. Here is a tutorial summarizing the steps you can follow and the alternative plug-ins you can use:
? Restore PHP Everywhere 2.0.3
For non-Gutenberg users, 2.0.3 is the last working version. So, the first step is to restore it, in order to be able to easily copy the PHP code you already have. (The 3.0 update didn’t delete this code. It just made it inaccessible.)
Download PHP Everywhere 2.0.3 from:
https://www.ads-software.com/plugins/php-everywhere/advanced/#download-previous-link
and install it in the WordPress dashboard.
? For PHP widgets, replace PHP Everywhere with Code Widget
An alternative plug-in that supports PHP widgets is Code Widget. Download it from:
https://www.ads-software.com/plugins/code-widget/
and install it in the WordPress dashboard. Then go to Appearance → Widgets. The PHP Everywhere’s widgets you already have are called PHP+HTML. Replace them with equivalent Code Widgets. Inside each new Code Widget, under “Widget Type”, make sure to select “PHP Code”.
? For PHP shortcodes, replace PHP Everywhere with Insert PHP Code Snippet
An alternative plug-in that supports PHP short codes is Insert PHP Code Snippet. Download it from:
https://www.ads-software.com/plugins/insert-php-code-snippet/
and install it in the WordPress dashboard. Then go to XYZ PHP Code → PHPCode Snippets. Now, one by one, go to your posts/pages containing PHP short codes, and replace them with equivalent XYZ PHP Code’s short codes, which look like this:
[xyz-ips snippet="nameofsnippet”]
If you have many posts/pages with PHP short codes and have trouble locating them all, download Search Regex from:
https://www.ads-software.com/plugins/search-regex/
and install it in the WordPress dashboard. Then go to Tools → Search Regex and search for “php”.
Hope this helps one or two people!
- The topic ‘Tutorial for moving away from PHP Everywhere 3.0’ is closed to new replies.