[wordpress插件] Code Injection For WYSIWYG所见即所得的代码注入

wordpress 插件 文章 2020-03-26 17:20 478 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

Whether it is an utub embedded code, html code, html or any other, the plugin will generate a shortcode which will set the place for your code to appear on the frontend of the site.

无论是utub嵌入式代码,html代码,html还是其他代码,插件都会生成一个短代码,该短代码将为您的代码显示在网站的前端。

Arbitrary section

任意部分

A brief Markdown Example

一个简短的Markdown示例

安装步骤

    1. After activation, the plugin meta box will appear at the bottom of the admin editor page (ex. “Admin”->”Posts”->”hello world”).
    2. 激活后,插件meta框将出现在admin编辑器页面的底部(例如“ Admin”->“ Posts”->“ hello world”)。

    3. “Plugin meta box”-> “1st text field”.

    4. “插件元框”->“第一个文本字段”。

      Within the plugin meta box enter the shortcode on the upper text field.

    5. 在插件meta框中,在上方文本字段中输入简码。

    6. “Plugin meta box”-> “2nd t text field”.

    7. “插件meta框”->“第二个t文本字段”。

      Enter the content that should replace the shortcode on the front-end.

    8. 在前端输入应替换简码的内容。

    9. Next to the 1st input field a short code shpuld appear, copy paste the generated shortcode to the “wysiwyg” meta box.
    10. 应该在第一个输入字段旁边显示一个短代码,然后将生成的短代码复制粘贴到“所见即所得”元框。

    11. Finally, update the page.

    12. 最后,更新页面。

      You should see the result on the front-end of the site.

    13. 您应该在网站的前端看到结果。

    14. U can use the “Add Code Snippet” & “Remove” for adding or removing a shortcode.

    15. U可以使用“添加代码段”和“删除”来添加或删除简码。

      .

下载地址
https://downloads.wordpress.org/plugin/code-snippets-by-webpals.3.3.zip
-EOF-

AI助手支持GPT4.0