| 1 |
<?php |
| 2 |
/** |
| 3 |
* Plugin Name: PostX - Gutenberg Post Grid Blocks |
| 4 |
* Description: <a href="https://www.wpxpo.com/postx/">PostX</a> is the #1 Gutenberg Blocks plugin with 38+ free blocks that includes post gird, post list, post slider, carousel, news ticker, etc. Advanced capabilities like dynamic site building and design variations make it the best choice for creating News Magazine sites, and any kind of blog such as Personal Blogs, Travel Blogs, Fashion Blogs, Food Reviews, Recipe Blogs, etc. |
| 5 |
* Version: 2.8.4 |
| 6 |
* Author: wpxpo |
| 7 |
* Author URI: https://wpxpo.com/ |
| 8 |
* Text Domain: ultimate-post |
| 9 |
* License: GPLv3 |
| 10 |
* License URI: http://www.gnu.org/licenses/gpl-3.0.html |
| 11 |
*/ |
| 12 |
|
| 13 |
defined( 'ABSPATH' ) || exit; |
| 14 |
|
| 15 |
// Define |
| 16 |
define('ULTP_VER', '2.8.4'); |
| 17 |
define('ULTP_URL', plugin_dir_url(__FILE__)); |
| 18 |
define('ULTP_BASE', plugin_basename(__FILE__)); |
| 19 |
define('ULTP_PATH', plugin_dir_path(__FILE__)); |
| 20 |
|
| 21 |
// Language Load |
| 22 |
add_action('init', 'ultp_language_load'); |
| 23 |
function ultp_language_load() { |
| 24 |
load_plugin_textdomain( 'ultimate-post', false, basename(dirname(__FILE__))."/languages/" ); |
| 25 |
} |
| 26 |
|
| 27 |
// Common Function |
| 28 |
if (!function_exists('ultimate_post')) { |
| 29 |
function ultimate_post() { |
| 30 |
require_once ULTP_PATH . 'classes/Functions.php'; |
| 31 |
return new \ULTP\Functions(); |
| 32 |
} |
| 33 |
} |
| 34 |
|
| 35 |
// Plugin Initialization |
| 36 |
if (!class_exists( 'ULTP_Initialization' )) { |
| 37 |
require_once ULTP_PATH . 'classes/Initialization.php'; |
| 38 |
new \ULTP\ULTP_Initialization(); |
| 39 |
} |
| 40 |
|
| 41 |
// Template |
| 42 |
require_once ULTP_PATH . 'classes/Templates.php'; |
| 43 |
new \ULTP\Templates(); |