Title: BJH Website Assistant
Author: bjhee
Published: <strong>2016 年 2 月 28 日</strong>
Last modified: 2016 年 12 月 24 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://s.w.org/plugins/geopattern-icon/bjh-site-assistant.svg)

# BJH Website Assistant

 作者：[bjhee](https://profiles.wordpress.org/bjhee/)

[下载](https://downloads.wordpress.org/plugin/bjh-site-assistant.zip)

 * [详情](https://cn.wordpress.org/plugins/bjh-site-assistant/#description)
 * [评价](https://cn.wordpress.org/plugins/bjh-site-assistant/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/bjh-site-assistant/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/bjh-site-assistant/#developers)

 [支持](https://wordpress.org/support/plugin/bjh-site-assistant/)

## 描述

该WordPress插件提供的小功能将有助你的网站运行的更好。

The WordPress plugin that provides small functions to help your website working 
better, especially in “some countries”. The functions this plugin currently provides:

#### Replace Google fonts by Qihoo 360 mirror

Google fonts (such as Open Sans) are blocked in “some countries”. Replace the font
URL from Google fonts (fonts.googleapi.com) to Qihoo 360 mirror (fonts.useso.com).

#### Replace Gravatar images by local default image

Gravatar images are blocked in “some countries”. Replace the image URL from Gravatar(*.
gravatar.com) to local default image.

#### Add page meta keywords and description

This function is for SEO (Search Engine Optimization). Meta keywords and description
on page are more easily to be categorized by search engine. The function will add
the tags of articles to page meta keywords, and add summary of articles to page 
meta description.

#### Prevent spam with validation code

The anonymous reader must input a 3-digits number of validation code before submit
a comment. The number is random and will be verified by both front end and back 
end. This won’t bring much inconvenient to user, but can be easily prevent most 
of the spam comments. It definitely has the hole for hackers to attack. However 
I believe for most of the websites, it is not worth for hackers to spent much time
to break it.

#### Allow user to add “Back-to-Top” button on blogs and pages

When the user scoll down the screen of blogs and pages, a “Back-to-Top” will appear
at bottom-right of the screen. When you can click it, the page will go back to the
top. This is a convenient function that let users quickly go to the page head.

#### Allow user to add code to page head

When using analytics tool like Baidu Analytics, it will ask you to add a piece of
script in HTML head tag. The plugin allow you to save the content of script on configuration,
and it will automatically put it to page.

#### Enable post link actively submitted to Baidu

Baidu Zhanzhang platform published the active link submission function in 2015. 
Compare to Baidu Sitemap, it can submit the link of your article immediately when
you post it, so that Baidu can archive it at once. It can also prevent the 3rd party
site reposting your article and submit to Baidu beforehand. Note that you should
request for a token on Baidu Zhanzhang, and enter the token in option page before
enabling it. Also, make sure you have php5-curl module installed on your web server.

#### Add article copyright

Add a simple claim at the end of the article to announce the copyright. Also, it
provides a link for others to include when copying the article to other website.

## 屏幕截图

[⌊Enable or disable the functions by settings⌉⌊Enable or disable the functions by
settings⌉[

Enable or disable the functions by settings

## 安装

 1. Uncompress the downloaded package
 2. Upload folder including all files to the “/wp-content/plugins/” directory
 3. 通过WordPress的的“Plugins”菜单激活插件

## 常见问题

Q: Where can I get the newest version of the plugin
 * Chinese plugin URL: http://
www.bjhee.com/bjh-site-assistant * WordPress plugin URL: https://wordpress.org/plugins/
bjh-site-assistant/ * Github project URL: https://github.com/bjhee/bjh-site-assistant

  技术支持

Contact me at http://www.bjhee.com/ or junhe0526@hotmail.com

## 评价

![](https://secure.gravatar.com/avatar/2ad3abd3cb5cee29fb81e911ece3c97aa38e39929b2511768dc477a66c707b21?
s=60&d=retro&r=g)

### 󠀁[Quite useful](https://wordpress.org/support/topic/quite-useful-4/)󠁿

 [bjhee](https://profiles.wordpress.org/bjhee/) 2016 年 12 月 24 日

Just compliment myself ^_^, hope can be helpful to others

 [ 阅读所有1条评价 ](https://wordpress.org/support/plugin/bjh-site-assistant/reviews/)

## 贡献者及开发者

「BJH Website Assistant」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ bjhee ](https://profiles.wordpress.org/bjhee/)

[帮助将「BJH Website Assistant」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/bjh-site-assistant)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/bjh-site-assistant/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/bjh-site-assistant/)，或通过[RSS](https://plugins.trac.wordpress.org/log/bjh-site-assistant/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/bjh-site-assistant/)。

## 更新日志

#### 12/24/2016 v1.3.1

Do not enable Google font URL replacement by default since Google font is accessible
in China after Sep. 2016

#### 3/16/2016 v1.3

 * Allow user to add “Back-to-Top” button on blogs and pages.
 * Include JS and CSS of this site assistant plugin when enabling it.
 * Fix the bug of wrong url returned by get_plugin_url in util.php.

#### 2/23/2016 v1.2

Add function that allow user to add script to HTML head tag. It is usually used 
to add utility code like Baidu Analytics.

#### 1/9/2016 v1.1.2

Fix the ‘self’ variable case sensitive issue

#### 12/25/2015 v1.1.1

Fix the issue that copyright info and baidu token will be lost when the option is
disabled.

#### 12/24/2015 v1.1

Add the function to enable Baidu post link active submission

#### 01/31/2015 v1.0

Initial release. Include the functions of:
 * Replace Google fonts by Qihoo 360 
mirror * Replace Gravatar images by local default image * Add page meta keywords
and description * Prevent spam with validation code * Add article copyright.

## 额外信息

 *  版本 **1.3.1**
 *  最后更新：**10 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 3.5 或更高版本 **
 *  已测试的最高版本为 **4.7.38**
 *  语言
 * [English (US)](https://wordpress.org/plugins/bjh-site-assistant/)
 * 标签
 * [anti-spam](https://cn.wordpress.org/plugins/tags/anti-spam/)[copyright](https://cn.wordpress.org/plugins/tags/copyright/)
   [google font](https://cn.wordpress.org/plugins/tags/google-font/)[gravatar](https://cn.wordpress.org/plugins/tags/gravatar/)
   [seo](https://cn.wordpress.org/plugins/tags/seo/)
 *  [高级视图](https://cn.wordpress.org/plugins/bjh-site-assistant/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  1 条 5 星评价     ](https://wordpress.org/support/plugin/bjh-site-assistant/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/bjh-site-assistant/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/bjh-site-assistant/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/bjh-site-assistant/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/bjh-site-assistant/reviews/?filter=1)

[您的评价](https://wordpress.org/support/plugin/bjh-site-assistant/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/bjh-site-assistant/reviews/)

## 贡献者

 *   [ bjhee ](https://profiles.wordpress.org/bjhee/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/bjh-site-assistant/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](https://github.com/bjhee/bjh-site-assistant)