[wordpress插件] Custom Code自定义代码

wordpress 插件 文章 2020-04-07 15:10 386 0 全屏看文

AI助手支持GPT4.0

评分
80
描述

Add Custom script and CSS code to header, footer,before post,after post.

在页眉,页脚,发布前,发布后添加自定义脚本和CSS代码。

1.

1。

You can add custom code at header, but before

您可以在标头处但在之前添加自定义代码

2.

2。

You can add custom code at footer, but before

您可以在页脚的之前添加自定义代码

3.

3。

You can add custom code before post content, this will display on single page only

您可以在帖子内容之前添加自定义代码,这只会显示在单个页面上

4.

4。

You can add custom code after post content, this will display on single page only

您可以在帖子内容之后添加自定义代码,这只会显示在单页上

You can use plain html, JavaScript and CSS code, but for JavaScript and CSS don’t forget to add and tag

您可以使用普通的html,JavaScript和CSS代码,但对于JavaScript和CSS,请不要忘记添加和标记

安装步骤

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

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

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

AI助手支持GPT4.0