ae1d73c3d6
- Add: Expert mode setting - Add: Activation and Deactivation of WordPress hooks to look for Footnotes (expert mode) - Add: WordPress hooks: 'the_title' and 'widget_title' (default: disabled) to search for Footnote short codes - Bugfix: Default value for the WordPress hook the_post to be disabled (adds Footnotes twice to the Reference container) - Bugfix: Activation, Deactivation and Uninstall hook class name - Bugfix: Add submenu pages only once for each ManFisher WordPress Plugin - Bugfix: Display the Reference container in the Footer correctly git-svn-id: https://plugins.svn.wordpress.org/footnotes/tags/1.5.5@1004129 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.5
|
|
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(); |