PluginProbe ʕ •ᴥ•ʔ
Simple Author Box / trunk
Simple Author Box vtrunk
2.61 trunk 1.0 1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.9 2.0 2.0.1 2.0.2 2.0.4 2.0.5 2.0.6 2.0.7 2.0.8 2.0.9 2.1.0 2.1.1 2.1.2 2.1.3 2.1.4 2.1.5 2.2.0 2.2.1 2.2.2 2.3.0 2.3.1 2.3.11 2.3.12 2.3.15 2.3.16 2.3.2 2.3.20 2.3.21 2.3.22 2.4 2.41 2.42 2.45 2.46 2.47 2.48 2.49 2.50 2.51 2.52 2.54 2.55 2.56 2.57 2.59 2.60
simple-author-box / simple-author-box.php
simple-author-box Last commit date
assets 1 month ago inc 1 month ago template 1 year ago wf-flyout 1 month ago block.json 5 years ago license.txt 7 years ago readme.txt 1 month ago simple-author-box.php 1 month ago uninstall.php 5 years ago
simple-author-box.php
57 lines
1 <?php
2 /**
3 * Plugin Name: Simple Author Box
4 * Plugin URI: https://wpauthorbox.com/
5 * Description: Adds a responsive author box with social icons on any post.
6 * Version: 2.61
7 * Author: WebFactory Ltd
8 * Author URI: https://www.webfactoryltd.com/
9 * Requires: 4.6
10 * License: GPLv3 or later
11 * License URI: http://www.gnu.org/licenses/gpl-3.0.html
12 * Requires PHP: 5.6
13 * Tested up to: 7.0
14
15 *
16 * Copyright 2014-2017 Tiguan office@tiguandesign.com
17 * Copyright 2017-2019 MachoThemes office@machothemes.com
18 * Copyright 2019-2019 GreenTreeLabs diego@greentreelabs.net
19 * Copyright 2019-2026 WebFactory Ltd support@webfactoryltd.com
20 *
21 * This program is free software; you can redistribute it and/or modify
22 * it under the terms of the GNU General Public License, version 3, as
23 * published by the Free Software Foundation.
24 *
25 * This program is distributed in the hope that it will be useful,
26 * but WITHOUT ANY WARRANTY; without even the implied warranty of
27 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
28 * GNU General Public License for more details.
29 *
30 * You should have received a copy of the GNU General Public License
31 * along with this program; if not, write to the Free Software
32 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
33 */
34
35
36 if (!function_exists('is_plugin_active')) {
37 require_once ABSPATH . 'wp-admin/includes/plugin.php';
38 }
39
40 define('SIMPLE_AUTHOR_BOX_PATH', plugin_dir_path(__FILE__));
41 define('SIMPLE_AUTHOR_BOX_ASSETS', plugins_url('/assets/', __FILE__));
42 define('SIMPLE_AUTHOR_BOX_SLUG', plugin_basename(__FILE__));
43 define('SIMPLE_AUTHOR_BOX_FILE', __FILE__);
44 define('SIMPLE_AUTHOR_SCRIPT_DEBUG', false);
45 define('SIMPLE_AUTHOR_POINTERS', 'sab_pointers');
46
47
48 $plugin_data = get_file_data(__FILE__, array('version' => 'Version'), 'plugin');
49 define('SIMPLE_AUTHOR_BOX_VERSION', $plugin_data['version']);
50 require_once SIMPLE_AUTHOR_BOX_PATH . 'inc/class-simple-author-box.php';
51
52 require_once dirname(__FILE__) . '/wf-flyout/wf-flyout.php';
53 new wf_flyout(__FILE__);
54
55 global $simple_author_box;
56 $simple_author_box = Simple_Author_Box::get_instance();
57