Author: Hans-Helge Buerger
Date: 21. March 2014
Version: v0.1.1
License: GPLv2 or later
This is a simple WordPress Plugin which takes the content and scans it for links and puts them at the end of a page in a box. And this looks like this.
- Download the
ZIP
File and upload it via your backend in WordPress - Upload the
citation-box
folder to/wp-content/plugins/
directory
This plugin uses the_content
filter and goes through the DOM Tree to look for <a>
tags (exceptions are: images and WordPress more-link). The link is extracted form the content and a number is added after the former link. The link itself will be added to a list at the end of each site.
In the settings you can decide where this box is displayed. The first option will add a box at each post if the single post is viewed. The second is for pages and Home
is referring to the main page where you can browser your articles. In addition, it is possible to choose own colors to fit perfectly to your theme.
BTW: If no links are found in a post / page also no Citation Box is shown.
Citation Box is translated in:
- German: special thanks to myself.
- [FIX] Load Farbtastic and JS-Script only on CB Settings page otherwise an
Uncaught TypeError
is thrown becausefarbtastic
is undefined
- [FEATURE] Citation Box for posts, pages, and home page
- [FEATURE] Settings: choose where Citation Box should be displayed and choose own colors
Citation Box is licensed under the MIT license. Please see LICENSE
.