Changeset 1675496
- Timestamp:
- 06/10/2017 01:46:56 PM (9 years ago)
- Location:
- mnml-footnotes/trunk
- Files:
-
- 4 edited
-
lib/class-mnml-version-check.php (modified) (1 diff)
-
mnml-footnotes.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
-
src/class-main.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
mnml-footnotes/trunk/lib/class-mnml-version-check.php
r1675304 r1675496 3 3 * PHP and WordPress version check 4 4 * 5 * @package minimal-footnotes5 * @package MNML_Footnotes 6 6 */ 7 7 -
mnml-footnotes/trunk/mnml-footnotes.php
r1675304 r1675496 3 3 * Plugin Name: MNML Footnotes 4 4 * Description: Auto-listed footnotes for posts. 5 * Version: 0.1. 15 * Version: 0.1.2 6 6 * Author: Mauro Bringolf 7 7 * Author URI: https://maurobringolf.ch -
mnml-footnotes/trunk/readme.txt
r1675304 r1675496 4 4 Requires at least: 3.0 5 5 Tested up to: 4.8 6 Stable tag: 0.1. 16 Stable tag: 0.1.2 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 13 13 14 14 This plugin gives you a shortcode to make numbered references to footnotes, directly from your post content. Footnotes are listed and enumerated automatically at the end of your post 15 content, reusing all existing styles of your site. 15 content, reusing all existing styles of your site. All references become anchor links guiding the user to the footnote section of the post. 16 16 17 We would love to hear and discuss your feedback in a [review](https://wordpress.org/support/plugin/mnml-footnotes/reviews/). 17 We would love to hear and discuss your feedback in a [review](https://wordpress.org/support/plugin/mnml-footnotes/reviews/). If you want to report a bug or have a feature request, please do so via the [GitHub repository](https://github.com/maurobringolf/mnml-footnotes). 18 19 == Usage == 20 21 To make a new footnote reference in your content you can use the shortcode **mnml_footnote** in the following way: 22 23 *This is your regular post content and the shortcode by this plugin looks like this [mnml_footnote] Easy, right? [/mnml_footnote]* 24 25 Everything inside the shortcode will be moved into a footnote and replaced by a numbered reference link to it. In this example the footnote content would be *"Easy, right?"*. 18 26 19 27 == Installation == 20 28 21 1. Upload the plugin files to the '/wp-content/plugins/mnml-footnotes' directory, or install the plugin through the WordPress plugins screen directly. 22 1. Activate the plugin through the 'Plugins' screen in WordPress. 29 1. Upload the plugin files to the `/wp-content/plugins/mnml-footnotes` directory, or install the plugin through the WordPress plugins screen directly. 30 31 1. Activate the plugin through the **Plugins** area in WordPress. 32 23 33 1. Start using the shortcode `[mnml_footnote]Your footnote reference here.[/mnml_footnote]` within your post content. 24 1. Optionally, you can go to 'Settings->Writing' and add a title for your footnotes sections on posts. 34 35 1. Optionally, you can go to **Settings->Writing** and add a title for your footnotes sections on posts. 36 37 == Screenshots == 38 1. Examples of footnote references taken from [maurobringolf.ch](https://maurobringolf.ch). 25 39 26 40 == Changelog == 41 42 = v0.1.2 = 43 * A sketch of another shortcode was removed in favor of simplicity for now. Nothing changes though, the shortcode for 44 footnote references works exactly the same way as before. 27 45 28 46 = v0.1.1 = -
mnml-footnotes/trunk/src/class-main.php
r1675304 r1675496 63 63 64 64 $this->prefix = 'mnml-footnotes'; 65 $this->version = '0.1. 1';65 $this->version = '0.1.2'; 66 66 $this->file = $file; 67 67 $this->settings = new Settings(); … … 109 109 public function register_shortcodes() { 110 110 add_shortcode( 'mnml_footnote', array( $this->shortcodes, 'footnote_reference' ) ); 111 add_shortcode( 'mnml_footnotes', array( $this->shortcodes, 'footnote_list' ) );112 111 } 113 112
Note: See TracChangeset
for help on using the changeset viewer.