| 1 |
<?php |
| 2 |
/** |
| 3 |
* @link catchplugins.com |
| 4 |
* @since 1.0 |
| 5 |
* @package Catch_Gallery |
| 6 |
* |
| 7 |
* @wordpress-plugin |
| 8 |
* Plugin Name: Catch Gallery |
| 9 |
* Plugin URI: https://catchplugins.com/plugins/catch-gallery/ |
| 10 |
* Description: Catch Gallery allows you to add three different types of layouts (in addition to the default layout provided by WordPress – Thumbnail Grid) for your galleries to stand out—Tiled Mosaic, Square Tiles, Circles. |
| 11 |
* Version: 1.0.1 |
| 12 |
* Author: Catch Plugins |
| 13 |
* Author URI: catchplugins.com |
| 14 |
* License: GPL-2.0+ |
| 15 |
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt |
| 16 |
* Text Domain: catch-gallery |
| 17 |
* Tags: catch-gallery, gallery, tiled gallery, image gallery, mosaic, carousel, lightbox, media, jetpack, jetpack lite |
| 18 |
* Domain Path: /languages |
| 19 |
*/ |
| 20 |
|
| 21 |
/* |
| 22 |
Copyright (C) 2018 Catch Plugins, (info@catchplugins.com) |
| 23 |
|
| 24 |
This program is free software; you can redistribute it and/or modify |
| 25 |
it under the terms of the GNU General Public License as published by |
| 26 |
the Free Software Foundation; either version 3 of the License, or |
| 27 |
(at your option) any later version. |
| 28 |
|
| 29 |
This program is distributed in the hope that it will be useful, |
| 30 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 31 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 32 |
GNU General Public License for more details. |
| 33 |
|
| 34 |
You should have received a copy of the GNU General Public License |
| 35 |
along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 36 |
*/ |
| 37 |
|
| 38 |
if ( ! defined( 'CATCH_GALLERY_VERSION' ) ) { |
| 39 |
define( 'CATCH_GALLERY_VERSION', '1.0.1' ); |
| 40 |
} |
| 41 |
|
| 42 |
function catch_gallery_load_textdomain() { |
| 43 |
load_plugin_textdomain( 'catch-gallery', false, plugin_basename( dirname( __FILE__ ) ) . '/languages' ); |
| 44 |
} |
| 45 |
add_action( 'plugins_loaded', 'catch_gallery_load_textdomain' ); |
| 46 |
|
| 47 |
|
| 48 |
// Include admin part. |
| 49 |
include( plugin_dir_path( __FILE__ ) . 'admin/admin.php' ); |
| 50 |
|
| 51 |
include( plugin_dir_path( __FILE__ ) . 'inc/functions.php' ); |
| 52 |
|
| 53 |
include( plugin_dir_path( __FILE__ ) . 'inc/tiled-gallery.php' ); |
| 54 |
|
| 55 |
include( plugin_dir_path( __FILE__ ) . 'inc/jetpack-carousel.php' ); |
| 56 |
|