Dieses Plugin ist nicht mit den jüngsten 3 Hauptversionen von WordPress getestet worden. Es wird möglicherweise nicht mehr gewartet oder unterstützt und kann Kompatibilitätsprobleme haben, wenn es mit neueren Versionen von WordPress verwendet wird.

Plugin Name: Custom PHP Codes

Beschreibung

This plugin helps you to execute custom php codes in your wordpress posts and widgets. Only codes that has been approved by admin can be used for executing php codes in pages or widgets any new code is first shown to admin prior to it’s execution on the front end.

Screenshots

  • Copy customphpcodes folder in /wp-content/plugins/ directory.
  • Simple click to activate the plugin.
  • Open Custom PHP Codes -> Custom Settings page to configure the plugin.
  • Enable the features of plugin to Only allow admin enabled queries on front end and to Save custom PHP Codes in database.
  • Now place your custom php code using following tags [php_code] [/php_code].
  • Now preview your code on the front end although it will not display your code but it will log for approval by admin. Please note : Your code will not execute nor it will be visible on front end but it will be logged for admin approval.
  • Now open Custom PHP Codes -> Custom PHP Codes to allow your custom php code for execution.
  • Allow your Custom PHP Codes for execution.
  • Now your Custom PHP Codes will excute and it's results will be visible on front end.

Installation

This section describes how to install the plugin and get it working.

e.g.

  1. Upload the plugin files to the /wp-content/plugins/customphpcodes directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‚Plugins‘ screen in WordPress
  3. Use the Custom PHP Codes -> Custom Settings to configure the plugin
  4. In your posts or widget place your php code with following tags [php_code] Your Code Here [/php_code]
  5. Now preview your custom php code of your widget or post in front end to log it for approval in admin panel.
    Please note : Your code will nor execute and nor it will be visible on front end but it will be logged for admin approval.
  6. Use the Custom PHP Codes -> Custom PHP Codes to allow your custom php code to execute on front end.
  7. Your Custom PHP Code should be visible on front end.

FAQ

What’s the sytax to enclose custom php code ?

You can enclose your custom php code in following tags [php_code] [/php_code]

I can’t find my custom php code to allow in Custom PHP Codes page , how can I add it here ?

It would be added automatically once you preview your custom php code enclosed in tags on front end, although it will not execute nor it will be visible on frontend but it will be logged for approval on Custom PHP Codes Page.

Rezensionen

Für dieses Plugin gibt es keine Rezensionen.

Mitwirkende & Entwickler

„Plugin Name: Custom PHP Codes“ ist Open-Source-Software. Folgende Menschen haben an diesem Plugin mitgewirkt:

Mitwirkende

Änderungsprotokoll

1.0

  • Support for Posts & Widgets
  • Enhanced Custom PHP Codes Log for admin to allow/disallow codes for execution.