[wordpress插件] Alink Tap链接水龙头

wordpress 插件 文章 2020-02-15 16:20 764 0 全屏看文

AI助手支持GPT4.0

评分

0

0

描述

IMPORTANT NOTE TO ANYBODY CONSIDERING ADDING THIS PLUGIN TO A WP-MU INSTALLATION:

关于将这个插件添加到WP-MU安装中的任何人的重要说明:

If you aren’t sure whether you are using a WP-MU blog, then you aren’t.

如果不确定是否正在使用WP-MU博客,那么您就不是。

Trust me.

相信我。

If this warning applies to you, then you will know it.

如果此警告适用于您,那么您会知道的。

For WP-MU administrators: You should not use this plugin.

对于WP-MU管理员:您不应使用此插件。

Your users could use it to place (potentially malicious) javascript into their blogs.

您的用户可以使用它将javascript(可能是恶意的)放入他们的博客中。

This plugin is PERFECTLY SAFE for non-WP-MU blogs, so ignore this message if you’re using regular wordpress (you probably are).

对于非WP-MU博客,此插件是完全安全的,因此,如果您使用的是普通的wordpress,则可以忽略此消息。

Considerations

注意事项

    • URLs should be valid (i.e. begin with http://)
    • URL应该有效(即以http://开头)

    • The same URL can appear on more than one line (i.e. with more than one keyword).
    • 同一URL可以出现在多行上(即具有多个关键字)。

    • Because a word can only link to one site, a keyword should not appear on more than one line.

    • 由于一个单词只能链接到一个站点,因此关键字不应出现在多行上。

      If it does, only the last instance of the keyword will be matched to its URL.

    • 如果是这样,则仅关键字的最后一个实例将与其URL匹配。

    • If one of your keywords is a substring of the other–e.g.

    • 如果您的一个关键字是另一个关键字的子字符串,例如

      “download wordpress” and “wordpress”–then you should list the shorter one later than the first one.

    • “下载wordpress”和“ wordpress” –然后,您应列出比第一个短的单词。

    • Keywords are case-insensitive (e.g. “wordpress” is the same as “WoRdPrEsS”).
    • 关键字不区分大小写(例如,“ wordpress”与“ WoRdPrEsS”相同)。

    • Spaces count, so “wordpress” is not the same as “wordpress “.
    • 空格计数,因此“ wordpress”与“ wordpress”不同。

    • Keywords will be linked only if they occur in your post as a word (or phrase), not as a partial word.

    • 仅当关键字在您的帖子中以单词(或短语)而非部分单词出现时,它们才会被链接。

      So if one of your keywords is “a” (for some strange reason), it will be linked only when it occurs as the word “a”–when the letter “a” occurs within a word, it will not be linked.<

      因此,如果您的关键字之一是“ a”(出于某种奇怪的原因),则仅当它以单词“ a”出现时才被链接-当单词中的字母“ a”出现时,则不会链接。

      /li>

      / li>

    • You can use any valid target attribute, not just “_blank”–see W3C

    • 您可以使用任何有效的目标属性,而不仅仅是“ _blank”-请参见 W3C

      for a list of valid targets.

    • 以获得有效目标的列表。

    DATABASE STRUCTURE

    数据库结构

    The options->alink_tap_linker_remote page will create a set of matching terms and URLs that gets stored as a list.

    选项-> alink_tap_linker_remote页面将创建一组匹配的术语和URL,并将其存储为列表。

    “alink_tap_linker_remote” is a serialized value as follows:

    “ alink_tap_linker_remote”是如下序列化的值:

    array(
        

    array(
        

    ‘keyword1’ => array(
            

    ‘keyword1’=>数组(
            

    ‘name’ => the keyword
            

    ‘name’=>关键字
            

    ‘url’ => the original url
            

    ‘url’=>原始网址
            

    ‘urles’ => the url that serve the content in spanish
            

    ‘urles’=>用西班牙语提供内容的网址
            

    ‘licencia’ => 1, 0 if 1, we check if client’s ip is from Spain and use the urles as link
        

    ‘licencia’=> 1,如果为1,则为0,我们检查客户的IP是否来自西班牙,并使用urles作为链接
        

    ),
        

    ),
        

    ‘keyword2’ => array(
            

    ‘keyword2’=>数组(
            

    ‘name’ => the keyword
            

    ‘name’=>关键字
            

    ‘url’ => the original url
            

    ‘url’=>原始网址
            

    ‘urles’ => the url that serve the content in spanish
            

    ‘urles’=>用西班牙语提供内容的网址
            

    ‘licencia’ => 1, 0 if 1, we check if client’s ip is from Spain and use the urles as link
        

    ‘licencia’=> 1,如果为1,则为0,我们检查客户的IP是否来自西班牙,并使用urles作为链接
        

    ),
      

    ),
      

    )

    Arbitrary section

    任意部分

    Nothing for now

    暂时没有

    Updates

    更新

    The basic structure of this plugin was cloned from the WordPress-Plugin-Boilerplate project

    此插件的基本结构是从 WordPress-Plugin-Boilerplate 项目中克隆的

    .


    This plugin supports the GitHub Updater plugin, so if you install that, this plugin becomes automatically updateable direct from

    该插件支持 GitHub Updater 插件,因此,如果您安装了该插件,则该插件可以直接从

    GitHub.

    GitHub。

    Any submission to WP.org repo will make this redundant.

    向WP.org存储库提交的任何内容都将使其多余。

安装步骤

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

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

Using The WordPress Dashboard

使用WordPress仪表板

    1. Navigate to the ‘Add New’ in the plugins dashboard
    2. 导航至插件仪表板中的“添加新项”

    3. Search for ‘Alink Tap’
    4. 搜索“链接点击”

    5. Click ‘Install Now’
    6. 点击“立即安装”

    7. Activate the plugin on the Plugin dashboard
    8. 在“插件”信息中心上激活插件

    Uploading in WordPress Dashboard

    在WordPress仪表板中上传

      1. Navigate to the ‘Add New’ in the plugins dashboard
      2. 导航至插件仪表板中的“添加新项”

      3. Navigate to the ‘Upload’ area
      4. 导航到“上传”区域

      5. Select alink-tap.zip from your computer
      6. 从计算机中选择 alink-tap.zip

      7. Click ‘Install Now’
      8. 点击“立即安装”

      9. Activate the plugin in the Plugin dashboard
      10. 在“插件”信息中心中激活插件

      Using FTP

      使用FTP

        1. Download alink-tap.zip
        2. 下载 alink-tap.zip

        3. Extract the plugin-name directory to your computer
        4. plugin-name 目录提取到您的计算机

        5. Upload the plugin-name directory to the /wp-content/plugins/ directory
        6. plugin-name 目录上传到 / wp-content / plugins / 目录

        7. Activate the plugin in the Plugin dashboard
        8. 在“插件”信息中心中激活插件

下载地址

https://downloads.wordpress.org/plugin/alink-tap.1.1.12.zip

https://downloads.wordpress.org/plugin/alink-tap.1.1.12.zip

-EOF-

AI助手支持GPT4.0