Warning: file_exists(): open_basedir restriction in effect. File(C:\wwwroot\hvhoo.net/wp-content/themes/Kratos/single-post-wordpress-%e4%bb%a3%e7%a0%81%e9%ab%98%e4%ba%ae%e6%8f%92%e4%bb%b6%ef%bc%9apure-highlightjs%ef%bc%88%e6%94%af%e6%8c%81%e5%8f%af%e8%a7%86%e5%8c%96%e4%b8%8b%e6%8f%92%e5%85%a5%e4%bb%a3%e7%a0%81%ef%bc%89.php) is not within the allowed path(s): (C:/wwwroot/hvhoo.net/;C:/Windows/Temp/;C:/Temp/;C:/BtSoft/temp/session/) in C:\wwwroot\hvhoo.net\wp-includes\template.php on line 634

Warning: file_exists(): open_basedir restriction in effect. File(C:\wwwroot\hvhoo.net/wp-content/themes/Kratos/single-post-wordpress-%e4%bb%a3%e7%a0%81%e9%ab%98%e4%ba%ae%e6%8f%92%e4%bb%b6%ef%bc%9apure-highlightjs%ef%bc%88%e6%94%af%e6%8c%81%e5%8f%af%e8%a7%86%e5%8c%96%e4%b8%8b%e6%8f%92%e5%85%a5%e4%bb%a3%e7%a0%81%ef%bc%89.php) is not within the allowed path(s): (C:/wwwroot/hvhoo.net/;C:/Windows/Temp/;C:/Temp/;C:/BtSoft/temp/session/) in C:\wwwroot\hvhoo.net\wp-includes\template.php on line 637

Warning: file_exists(): open_basedir restriction in effect. File(C:\wwwroot\hvhoo.net/wp-includes/theme-compat/single-post-wordpress-%e4%bb%a3%e7%a0%81%e9%ab%98%e4%ba%ae%e6%8f%92%e4%bb%b6%ef%bc%9apure-highlightjs%ef%bc%88%e6%94%af%e6%8c%81%e5%8f%af%e8%a7%86%e5%8c%96%e4%b8%8b%e6%8f%92%e5%85%a5%e4%bb%a3%e7%a0%81%ef%bc%89.php) is not within the allowed path(s): (C:/wwwroot/hvhoo.net/;C:/Windows/Temp/;C:/Temp/;C:/BtSoft/temp/session/) in C:\wwwroot\hvhoo.net\wp-includes\template.php on line 640
WordPress 代码高亮插件:Pure-Highlightjs(支持可视化下插入代码) - Web匠人博客

WordPress 代码高亮插件:Pure-Highlightjs(支持可视化下插入代码)

安装说明

1.  下载

点击下载 https://github.com/icodechef/…/Pure-Highlightjs_1.0.zip

2. 安装

进入 WordPress 后台管理页面,“插件 》安装插件 》上传插件”,上传刚才下载的 ZIP 文件,然后安装。

或者解压安装包,上传到插件目录,/wp-content/plugins/。

3. 启用

安装完毕后,在已经安装的插件里启用 “Pure Highlightjs”。

如何使用

可直接在可视化编辑界面点击“插入代码”按钮,然后选择代码类型,粘贴代码插入即可:

点赞