[wordpress插件] Deactivate Visual Editor停用视觉编辑器

wordpress 插件 文章 2020-04-13 19:40 677 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

The visual editor is nice when pages and posts are simple, but when you try to add special text such as php code to a page then the visual editor oftentimes has to be deactivated to edit the page.

当页面和帖​​子很简单时,视觉编辑器很好,但是当您尝试向页面添加特殊文本(例如php代码)时,通常必须停用视觉编辑器才能编辑页面。

This plug-in allows you to set which posts should not use the visual editor by setting a custom field ‘deactivate_visual_editor’ to true.

该插件可通过将自定义字段“ deactivate_visual_editor”设置为true来设置哪些帖子不应使用视觉编辑器。

This allows the visual editor to be deactivated for the given post/page, but remain active for all others.

这样一来,可视化编辑器就可以针对给定的帖子/页面停用,而对于其他所有页面/页面保持激活状态。

安装步骤

    1. Upload deactivate_visual_editor.php to the /wp-content/plugins/ directory
    2. deactivate_visual_editor.php 上载到 / wp-content / plugins / 目录

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

下载地址
https://downloads.wordpress.org/plugin/deactive-visual-editor.zip
-EOF-

AI助手支持GPT4.0