* Author:              Erik Joling
 * Author URI:          http://www.ejoweb.nl/
 *
 * GitHub Plugin URI:   https://github.com/EJOweb/ejo-portfolio
 * GitHub Branch:       master
 */
// Store directory path of this plugin
define('EJO_PORTFOLIO_PLUGIN_DIR', trailingslashit(plugin_dir_path(__FILE__)));
define('EJO_PORTFOLIO_PLUGIN_URL', trailingslashit(plugin_dir_url(__FILE__)));
/* Load classes */
include_once EJO_PORTFOLIO_PLUGIN_DIR . 'includes/metabox-class.php';
include_once EJO_PORTFOLIO_PLUGIN_DIR . 'includes/settings-class.php';
/* Portfolio */
EJO_Portfolio::init();
/* Metabox */
EJO_Portfolio_Metabox::init();
/* Settings */
EJO_Portfolio_Settings::init();
/**
 *
 */
final class EJO_Portfolio
{
    /* Version number of this plugin */
    public static $version = '0.2';
    /* Holds the instance of this class. */
    private static $_instance = null;
    /* Store post type */
    public static $post_type = 'portfolio_project';
    /* Post type plural name */
    public static $post_type_plural = 'portfolio_projects';
 public static function init()
 {
     if (!self::$_instance) {
         self::$_instance = new self();
     }
     return self::$_instance;
 }