/
wanderlist.php
55 lines (46 loc) · 1.49 KB
/
wanderlist.php
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
50
51
52
53
54
55
<?php
/*
Plugin Name: Wanderlist
Plugin URI: http://triggersandsparks.com/wanderlist
Description: A WordPress plugin for tracking the places you've visited. Display them on a map, brag about your country-count, and show fun stats! Because everyone loves stats, right?
Version: 0.1.0
Author: sarah semark
Author URI: http://triggersandsparks.com
License: GPL2
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Domain Path: /languages
Text Domain: wanderlist
/*
/**
* All code that needs to be run once the plugin is activated.
*/
require plugin_dir_path( __FILE__ ) . 'includes/wanderlist-activator.php';
register_activation_hook( __FILE__, 'wanderlist_activate' );
/**
* Core code available across both admin and public views.
*/
require plugin_dir_path( __FILE__ ) . 'includes/wanderlist.php';
/**
* Code that filters our post loops.
*/
require plugin_dir_path( __FILE__ ) . 'includes/public/wanderlist-filters.php';
/**
* Code that manages date-related functions.
*/
require plugin_dir_path( __FILE__ ) . 'includes/public/wanderlist-dates.php';
/**
* Public-facing code.
*/
require plugin_dir_path( __FILE__ ) . 'includes/public/wanderlist-public.php';
/**
* Template-related code.
*/
require plugin_dir_path( __FILE__ ) . 'includes/public/wanderlist-templates.php';
/**
* Shortcodes!
*/
require plugin_dir_path( __FILE__ ) . 'includes/public/wanderlist-shortcodes.php';
/**
* Admin-side code.
*/
require plugin_dir_path( __FILE__ ) . 'includes/admin/wanderlist-admin.php';