PluginProbe
Shortcodes and extra features for Phlox theme / 1.0.1
Shortcodes and extra features for Phlox theme v1.0.1
2.17.22 2.17.21 2.17.20 trunk 1.0.0 1.0.1 1.0.2 1.0.3 1.0.6 1.0.9 1.1.0 1.3.0 1.3.1 1.3.10 1.3.14 1.3.2 1.3.3 1.3.6 1.4.0 1.4.1 1.4.2 1.5.0 1.5.2 1.6.0 1.6.2 All 148 releases
auxin-elements / auxin-elements.php

auxin-elements.php in Shortcodes and extra features for Phlox theme 1.0.1, at auxin-elements.php

53 lines 1.7 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Extra features, shortcodes and widgets for themes with auxin framework
4 *
5 *
6 * @package auxin-elements
7 * @license LICENSE.txt
8 * @author
9 * @link https://bitbucket.org/averta/
10 * @copyright (c) 2010-2016
11 *
12 * Plugin Name: Auxin Elements
13 * Plugin URI: https://wordpress.org/plugins/auxin-elements/
14 * Description: Extra features, shortcodes and widgets for PHLOX theme.
15 * Version: 1.0.1
16 * Author: averta
17 * Author URI: http://averta.net
18 * Text Domain: auxin-elements
19 * License URI: LICENSE.txt
20 * Domain Path: /languages
21 * Tested up to: 1.0.1
22 */
23
24 // If this file is called directly, abort.
25 if ( ! defined( 'WPINC' ) ) {
26 die('No Naughty Business Please !');
27 }
28
29 // Abort loading if WordPress is upgrading
30 if ( defined( 'WP_INSTALLING' ) && WP_INSTALLING ) {
31 return;
32 }
33
34 function auel_requirement_notice() {
35 echo '<div class="error"><p>' . __( 'PHP version 5.3.0 or above is required for "Auxin Elements" plugin', 'auxin-elements' ) . '</p></div>';
36 }
37
38 if ( version_compare( PHP_VERSION, '5.3.0', '<' ) ) {
39 add_action( 'admin_notices', 'auel_requirement_notice' );
40 return;
41 }
42
43 /*----------------------------------------------------------------------------*/
44
45 require_once( plugin_dir_path( __FILE__ ) . 'includes/define.php' );
46 require_once( plugin_dir_path( __FILE__ ) . 'public/class-auxels.php' );
47
48 // Register hooks that are fired when the plugin is activated or deactivated.
49 register_activation_hook ( __FILE__, array( 'AUXELS', 'activate' ) );
50 register_deactivation_hook( __FILE__, array( 'AUXELS', 'deactivate' ) );
51
52 /*----------------------------------------------------------------------------*/
53