7e1fa18d86
- Add: Setting to enable an excerpt of the Footnotes mouse-over box text (default: disabled) - Add: Setting to define the maximum length of the excerpt displayed in the mouse-over box (default: 150 characters) - Update: Detail information about other Plugins from ManFisher (rating, downloads, last updated, Author name/url) - Update: Receiving list of other Plugins from the Developer Team from an external server - Update: Translations (EN and DE) - Bugfix: Removed hard coded position of the 'ManFisher' main menu page (avoid errors with other Plugins) - Bugfix: Changed function name (includes.php) to be unique (avoid errors with other Plugins) - Bugfix: Try to replace each appearance of Footnotes in the current Post object loaded from the WordPress database git-svn-id: https://plugins.svn.wordpress.org/footnotes/tags/1.5.4@1003412 b8457f37-d9ea-0310-8a92-e5e31aec5664
44 lines
No EOL
1.6 KiB
PHP
Executable file
44 lines
No EOL
1.6 KiB
PHP
Executable file
<?php
|
|
/*
|
|
Plugin Name: footnotes
|
|
Plugin URI: http://wordpress.org/plugins/footnotes/
|
|
Description: time to bring footnotes to your website! footnotes are known from offline publishing and everybody takes them for granted when reading a magazine.
|
|
Author: ManFisher Medien ManuFaktur
|
|
Version: 1.5.4
|
|
Author URI: http://manfisher.net/plugins/footnotes/
|
|
Text Domain: footnotes
|
|
Domain Path: /languages
|
|
*/
|
|
/*
|
|
Copyright 2014 Mark Cheret, Stefan Herndler (email : info@manfisher.eu | support@herndler.org)
|
|
|
|
This program is free software; you can redistribute it and/or modify
|
|
it under the terms of the GNU General Public License, version 3, as
|
|
published by the Free Software Foundation.
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
GNU General Public License for more details.
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
along with this program; if not, write to the Free Software
|
|
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
*/
|
|
/**
|
|
* @filesource
|
|
* @author Stefan Herndler
|
|
* @since 0.0.1
|
|
*/
|
|
|
|
// Get all common classes and functions
|
|
require_once(dirname(__FILE__) . "/includes.php");
|
|
|
|
// add Plugin Links to the "installed plugins" page
|
|
$l_str_plugin_file = 'footnotes/index.php';
|
|
add_filter("plugin_action_links_{$l_str_plugin_file}", array("MCI_Footnotes_Hooks", "PluginLinks"), 10, 2);
|
|
|
|
// initialize the Plugin
|
|
$g_obj_MCI_Footnotes = new MCI_Footnotes();
|
|
// run the Plugin
|
|
$g_obj_MCI_Footnotes->run(); |