[wordpress插件] bbPress Code SnippetsbbPress代码段

wordpress 插件 文章 2020-03-01 12:30 426 0 全屏看文

AI助手支持GPT4.0

评分
100
描述

No fancy, complicated syntax highlighting here.

这里没有花哨的复杂语法。

The goal of this plugin is to allow your bbPress users to post code snippets in their forum topics and replies without having to learn anything new.

该插件的目标是让您的bbPress用户在他们的论坛主题和回复中发布代码段,而无需学习任何新知识。

Basically, any raw HTML/PHP posted within

 or  tags will automatically be converted and displayed in the forum as you'd expect it would.

基本上,任何在

   标记内发布的原始HTML / PHP都将按照您的期望自动转换并显示在论坛中。

p>

>

And additionally, anything posted within

 tags will be automatically escaped from bbPress applying wpautop.

此外,在

 标记中发布的所有内容都将自动从bbPress中使用wpautop进行转义。

This will allow for your forum users’ code snippets to keep their whitespace as they intend.

这将使您的论坛用户的代码段能够按预期保留空白。

安装步骤

    1. Upload bbpress-code-snippets folder to the /wp-content/plugins/ directory
    2. bbpress-code-snippets 文件夹上传到 / wp-content / plugins / 目录

    3. Activate the plugin through the ‘Plugins’ menu in WordPress
    4. 通过WordPress中的“插件”菜单激活插件

下载地址
https://downloads.wordpress.org/plugin/bbpress-code-snippets.1.0.3.zip
-EOF-

AI助手支持GPT4.0