[wordpress插件] Plugin Name: Custom PHP Codes插件名称:自定义PHP代码

wordpress 插件 文章 2020-04-09 00:01 400 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

This plugin helps you to execute custom php codes in your wordpress posts and widgets.

此插件可帮助您在wordpress帖子和小部件中执行自定义php代码。

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.

只有经过管理员批准的代码才能用于在页面或窗口小部件中执行php代码,任何新代码在前端执行之前都会首先显示给管理员。

安装步骤

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. 将插件文件上传到 / wp-content / plugins / customphpcodes 目录,或直接通过WordPress插件屏幕安装插件。

    3. Activate the plugin through the ‘Plugins’ screen in WordPress
    4. 通过WordPress中的“插件”屏幕激活插件

    5. Use the Custom PHP Codes -> Custom Settings to configure the plugin
    6. 使用“自定义PHP代码”->“自定义设置”来配置插件

    7. In your posts or widget place your php code with following tags [php_code] Your Code Here [/php_code]
    8. 在您的帖子或小部件中,将带有以下标记的php代码放入[php_code]您的代码在此处[/ php_code]

    9. Now preview your custom php code of your widget or post in front end to log it for approval in admin panel.

    10. 现在预览您的小部件的自定义php代码或在前端发布以将其记录在管理面板中以供批准。

      Please note : Your code will nor execute and nor it will be visible on front end but it will be logged for admin approval.

    11. 请注意:您的代码既不会执行,也不会在前端显示,但会记录下来以供管理员批准。

    12. Use the Custom PHP Codes -> Custom PHP Codes to allow your custom php code to execute on front end.
    13. 使用“自定义PHP代码”->“自定义PHP代码”以允许您的自定义php代码在前端执行。

    14. Your Custom PHP Code should be visible on front end.
    15. 您的自定义PHP代码应该在前端可见。

下载地址
https://downloads.wordpress.org/plugin/custom-php-codes.zip
-EOF-

AI助手支持GPT4.0