[wordpress插件] Hide Adsense Ads for specific countries隐藏特定国家/地区的Adsense广告

wordpress 插件 文章 2020-03-06 15:10 535 0 全屏看文

AI助手支持GPT4.0

评分
60
描述

The simplest solution to integrate Adsense Ads into WordPress Content.

将Adsense Ads集成到WordPress内容中的最简单解决方案。

Just copy your Google Adsense code, paste it and configure where you want to display.

只需复制您的Google Adsense代码,将其粘贴并配置要显示的位置即可。

    1. This script will import the GeoLite City CSV file into a usable MySQL table in your database.

      此脚本会将GeoLite City CSV文件导入数据库中可用的MySQL表中。

      ( http://dev.maxmind.com/geoip/legacy/geolite/ )

      (http://dev.maxmind.com/geoip/legacy/geolite/)

      The GeoLite databases are our free IP geolocation databases.

      GeoLite数据库是我们的免费IP地理位置数据库。

      They are updated on the first Tuesday of each month.

      它们在每个月的第一个星期二进行更新。

      These databases are offered in the same binary and csv formats as our subscription databases.

      这些数据库以与我们的订阅数据库相同的二进制和csv格式提供。

      Any code which can read the subscription databases can also read the GeoLite databases.

      任何可以读取预订数据库的代码也可以读取GeoLite数据库。

      The GeoLite Developer’s Package allows you to distribute GeoLite databases (including updates) royalty-free for one year.

      使用GeoLite开发人员软件包,您可以免费分发一年的GeoLite数据库(包括更新)。

    2. Choosing which countries do not show the Adsense Ads.

      选择哪些国家不展示Adsense广告。

    3. Usage is easy, just use the following shortcode:

      用法很简单,只需使用以下短代码:

    * [hide-adsense-block number=1]

    * [hide-adsense-block number = 1]

    * [hide-adsense-block number=2]

    * [hide-adsense-block number = 2]

    * [hide-adsense-block number=3]

    * [hide-adsense-block number = 3]

    Supported languages

    支持的语言

      • English
      • 英语

安装步骤

This section describes how to install the plugin and get it working.

本节介绍如何安装插件并使其正常工作。

    1. Upload folders and files to the ‘/wp-content/plugins/’ directory
    2. 将文件夹和文件上传到“ / wp-content / plugins /”目录

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

    5. Access setting – Hide Adsense Ads to configure it
    6. 访问设置-隐藏Adsense广告以对其进行配置

下载地址
https://downloads.wordpress.org/plugin/block-hide-adsense-ads-for-specific-countries.zip
-EOF-

AI助手支持GPT4.0