Title: 活动链接推广插件
Author: 野人
Published: <strong>July 17, 2022</strong>
Last modified: December 11, 2024

---

Search plugins

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://ps.w.org/yr-activity-link/assets/icon-256x256.png?rev=2757618)

# 活动链接推广插件

 By [野人](https://profiles.wordpress.org/yerenwz/)

[Download](https://downloads.wordpress.org/plugin/yr-activity-link.1.2.4.zip)

 * [Details](https://wordpress.org/plugins/yr-activity-link/#description)
 * [Reviews](https://wordpress.org/plugins/yr-activity-link/#reviews)
 *  [Installation](https://wordpress.org/plugins/yr-activity-link/#installation)
 * [Development](https://wordpress.org/plugins/yr-activity-link/#developers)

 [Support](https://wordpress.org/support/plugin/yr-activity-link/)

## Description

开发插件的初衷：

在推广的过程中，想必大家都有遇到过，推广链接失效了，却没有第一时间知道这个消息，
从而可能带来了损失。

所以该功能点，基于此出发，提供自动检测链接是否失效的功能，并可以通过配置指定的文章
进行评论，从而告知推广者链接失效的消息。

目前的失效提示的方式，有文章评论，后续可能会接入邮件，或者微信通知等。

目前检测链接是否失效的原理是，会先判断该链接服务器是否正常和通过后台配置的指定关键
词来检测，这样的双重检测，可以更加准确的得知该链接是否失效，所以大家在添加活动的
时候，尽量查看下所推广的链接的包含的关键词有哪些是很有必要的操作。同时这块的话，
后续也会考虑检测链接是否在微信/QQ中可以正常打开。

基本操作：

1、在活动列表添加要推广的活动信息

2、添加完成后，点击调用代码按钮进行复制。对了，短代码大概是长这样子：[YrActivityLink
id=”我是id”]我是title[/YrActivityLink]，如果你需要修改字体颜色/大小，正确的使用方法:
点我查看

3、将刚才第2步生成的短代码，粘贴到你想要的文章中即可。

4、快去前台预览效果吧

## Installation

 1. 上传 `yr-activity-link`目录 到 `/wp-content/plugins/` 目录
 2. 激活插件，开始设置使用。

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“活动链接推广插件” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ 野人 ](https://profiles.wordpress.org/yerenwz/)

[Translate “活动链接推广插件” into your language.](https://translate.wordpress.org/projects/wp-plugins/yr-activity-link)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/yr-activity-link/),
check out the [SVN repository](https://plugins.svn.wordpress.org/yr-activity-link/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/yr-activity-link/)
by [RSS](https://plugins.trac.wordpress.org/log/yr-activity-link/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.2.4

修复短代码XSS漏洞风险，感谢WP官方大大的提醒！！！

#### 1.2.0

增加点击按钮的loading(加载)态
 增加插件自定义样式 增加动态渲染展示类型+可自定义屏蔽
某些来源是否可见（来自某seo大佬的思路，真滴香，开放了） 增加百度统计的点击事件（
仅在有装百度统计的站点上生效，且上报的数据只有对应的站点才能查看），更多方便分析
推广数据

#### 1.1.9

修复推广链接中含有特殊字符（&<>…等）导致链接参数丢失的问题(感谢金榜反馈)

#### 1.1.8

修复低版本（如5.6）的PHP获取数据失败的问题

#### 1.1.7

增加数据大盘
 增加公告消息 增加展示类型-APP中的弹幕图文 修复前台链接含有特殊字符
导致解析失败的问题(感谢x隐者反馈)

#### 1.1.6

修复修复失败的问题
 更正ajax请求为wp自带的方式

#### 1.1.5

 * 保持跟其他的CMS一直的版本

## Meta

 *  Version **1.2.4**
 *  Last updated **1 year ago**
 *  Active installations **10+**
 *  WordPress version ** 5.0.16 or higher **
 *  Tested up to **6.6.5**
 *  PHP version ** 5.6 or higher **
 *  [Advanced View](https://wordpress.org/plugins/yr-activity-link/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/yr-activity-link/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/yr-activity-link/reviews/)

## Contributors

 *   [ 野人 ](https://profiles.wordpress.org/yerenwz/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/yr-activity-link/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://www.yerenwz.com/)