该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Allow PHP Execute

描述

Allow PHP Execute Run PHP code inserted into WordPress posts and pages and Text Widget
also you can add php code in your post or page title section.

The PHP code runs as the page is sent to the browser. Output of the PHP code is published
directly onto the post , page or widget section where the PHP code is located.
you can be activated without any fear.

Examples of use:

  • Use the php code on your page, post ,default text widget ,page title or post title

屏幕截图

  • screenshot-1.png
  • screenshot-2.png
  • screenshot-3.png
  • screenshot-4.png
  • screenshot-5.png

安装

  1. Put the Allow PHP Execute to plugin folder “/wp-content/plugins/”
  2. Go into the WordPress admin pannel and activate the plugin
  3. Go into Setting section “Allow PHP Execute” Options ( Choose to execute/run PHP )
  4. Enjoy

常见问题

See the plugin offical page.

评价

2021 年 5 月 18 日
Depending on any other plugin using shortcodes for the direct inclusion of php is just a nightmare in my book. I’d been using Exec-PHP all the way up to moving to PHP8 but just finally couldn’t get Exec-PHP to work with PHP8 after all these years of using it. Allow-PHP-Execute is now my Dev Saviour and all I had to do to replace Exec-PHP was to disable it, install and activate Allow-PHP-Execute then activate 2 of the 3 config selections. Did and Done!!! Plus, Allow-PHP-Execute only has 1 single short PHP code page so my hopes are high that it will be much easier to keep it going for a very long time into the future.
2018 年 7 月 27 日
Still Works – WordPress 4.7.11
2018 年 4 月 7 日
Nice Plugin Worked In Page And Post But Not Working In Custom Post Type Pages Please Check That And Give A New Update I Really Need That 🙂
2017 年 1 月 17 日
Much appreciated. Remind me on Friday and I’ll send you a few bucks. :))
2016 年 9 月 16 日
I needed to use another CMS on top of Wordpress (for a few specific pages), which required a lot of PHP code to be added into certain Wordpress pages to display other content. The fact that I could just put in the PHP/HTML code on the page without doing anything else is fantastic. I tried seven other PHP plugins and they all had different drawbacks and issues. This plugin just worked. THANK YOU!!!
2016 年 9 月 3 日
this plugin is wonderful to use. and alternative syntax friendly as well as wordpress function usable as well. im able to create shortcodes using this plugin. downside is it will not function with my client’s theme which is divi by elegant themes if created without using default editor. but however I have tested it with recent version of wordpress and it allows me control only when under the default editor, but that is not a big deal. it is compatible with recent version of wordpress, but just not the divi theme which is a wonderful theme and kicks wix butt! but overall great job on the plugin. 10 out of 5 stars. 20 if you can make it fully compatible with future updates of wordpress and elegant theme’s divi wordpress theme. keep up the good work. we developers need developers like you. thank you again for this amazing gift.
阅读所有9条评价

贡献者及开发者

“Allow PHP Execute” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“Allow PHP Execute”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.0

Initial release