<?php
/*
Plugin Name: Pixomi Core Plugin
Plugin URI: http://themeforest.net/user/dropletthemes
Description: Core Plugin for Pixomi WordPress Theme.
Author: Muhammad Ajmal
Author URI: http://dropletthems.com
Text Domain: pixomi
Version: 1.0
License: Themeforest Split License
License URI: http://themeforest.net/licenses
*/

if ( ! defined( 'ABSPATH' ) ) { exit; }

/* =========================================================== */
/* 00. Include Theme Admin Panel 
/* =========================================================== */
if ( !class_exists( 'ReduxFramework' ) && file_exists( plugin_dir_path( __FILE__ ) . '/admin/admin.php' ) ) {
      require_once ( plugin_dir_path( __FILE__ ) . '/admin/admin.php' );
}

/* =========================================================== */
/* 00. Include Metabox Plugin 
/* =========================================================== */
function pixomi_init_metabox_plugin() {
	if ( ! class_exists( 'cmb_Meta_Box' ) )
		require_once ( plugin_dir_path( __FILE__ ) . '/metabox/init.php' );
	}
add_action( 'init', 'pixomi_init_metabox_plugin', 9999 );

/* =========================================================== */
/* 00. Include Core FIles 
/* =========================================================== */
require_once ( plugin_dir_path( __FILE__ ) . 'inc/vc_shortcodes.php' );
require_once ( plugin_dir_path( __FILE__ ) . 'inc/portfolio.php' );
