這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

BJH Website 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

安裝方式

  1. Uncompress the downloaded package
  2. Upload folder including all files to the “/wp-content/plugins/” directory
  3. Activate the plugin through the ‘Plugins’ menu in WordPress

常見問題集

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

Support

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

使用者評論

2016 年 12 月 24 日
Just compliment myself ^_^, hope can be helpful to others
閱讀全部 1 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈BJH Website Assistant〉的開發相關工作。

參與者

將〈BJH Website Assistant〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

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.