-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmicroslider.php
More file actions
49 lines (37 loc) · 1.45 KB
/
microslider.php
File metadata and controls
49 lines (37 loc) · 1.45 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<?php
/**
* Plugin Name: microSlider
* Plugin URI: https://dzoni.net/microslider
* Description: This is a simple WordPress slider plugin that you can use to add a single image slider to your website. It use minimal HTML/JS code and a simple markup that can easily be adapted to your website with CSS. Just place [microslider] and it's ready to go!
* Version: 1.0.6
* Author: Nikola Tomic
* Author URI: https://dzoni.net/
* License: GPL-2.0+
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
* Text Domain: microslider
* Domain Path: /languages
*/
if ( ! defined( 'WPINC' ) ) {
die;
}
define( 'MICROSLIDER_VERSION', '1.0.6' );
function activate_microslider() {
require_once plugin_dir_path( __FILE__ ) . 'includes/class-microslider-activator.php';
Microslider_Activator::activate();
}
function deactivate_microslider() {
require_once plugin_dir_path( __FILE__ ) . 'includes/class-microslider-deactivator.php';
Microslider_Deactivator::deactivate();
}
register_activation_hook( __FILE__, 'activate_microslider' );
register_deactivation_hook( __FILE__, 'deactivate_microslider' );
/**
* The core plugin class that is used to define internationalization,
* admin-specific hooks, and public-facing site hooks.
*/
require plugin_dir_path( __FILE__ ) . 'includes/class-microslider.php';
function run_microslider() {
$plugin = new Microslider();
$plugin->run();
}
run_microslider();