[wordpress插件] Add Script添加脚本

wordpress 插件 文章 2020-02-01 17:20 753 0 全屏看文

AI助手支持GPT4.0

评分

0

0

描述

This plugin add Google Analytics script in the footer, removing all spaces.

此插件在页脚中添加Google Analytics(分析)脚本,删除所有空格。

Useful to use with Italy Cookie Choices (for EU Cookie Law).

意大利Cookie选择(适用于欧盟Cookie法)一起使用时很有用。

If isset the Wp Italy Cookies “Display Cookie Consents”, it prints the code, otherwise the Javascript code will NOT BE printed.

如果isset Wp Italy Cookies“显示Cookie同意”,它将打印代码,否则将不打印Javascript代码。

Usage

用法

    1. Copy and Paste (include also the scripts tag) the Analytics Code in the settings page.
    2. 在设置页面中复制并粘贴(还包括scripts标签)Analytics代码。

    To Do

    要做

      1. Select if add script on footer or header
      2. 选择是否在页脚或页眉上添加脚本

      3. Create POTs
      4. 创建POT

      5. Display notice if WP Italy is not installed
      6. 如果未安装WP Italy,则显示通知

      7. Add option to skip cookie check and print directly
      8. 添加选项以跳过cookie检查并直接打印

安装步骤

    1. Upload the plugin files to the /wp-content/plugins/ directory
    2. 将插件文件上传到 / wp-content / plugins / 目录

下载地址

https://downloads.wordpress.org/plugin/addscript.1.4.zip

https://downloads.wordpress.org/plugin/addscript.1.4.zip

-EOF-

AI助手支持GPT4.0