-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathandyp_responsive_images.php
More file actions
27 lines (23 loc) · 2.03 KB
/
andyp_responsive_images.php
File metadata and controls
27 lines (23 loc) · 2.03 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
<?php
/*
Plugin Name: _ANDYP - Responsive Images
Plugin URI: http://londonparkour.com
Description: <em>Shortcode to create <picture> responsive sources.</em>
Version: 1.0
Author: Andy Pearson
Author URI: http://londonparkour.com
*/
define( 'ANDYP_RESPIMAGE_PATH', __DIR__ );
define( 'ANDYP_RESPIMAGE_URL', plugins_url( '/', __FILE__ ) );
// ┌─────────────────────────────────────────────────────────────────────────┐
// │ Register with ANDYP Plugins │
// └─────────────────────────────────────────────────────────────────────────┘
require __DIR__.'/src/acf/andyp_plugin_register.php';
// ┌─────────────────────────────────────────────────────────────────────────┐
// │ Use composer autoloader │
// └─────────────────────────────────────────────────────────────────────────┘
require __DIR__.'/vendor/autoload.php';
// ┌─────────────────────────────────────────────────────────────────────────┐
// │ Initialise │
// └─────────────────────────────────────────────────────────────────────────┘
new andyp\core\pictures;