function __construct($post_id)
 {
     parent::__construct($post_id);
     // Add options meta box
     add_meta_box('gp-portfolio-grid-meta', __('Grid Options', 'gp'), array($this, 'admin_options_content'), 'page', 'normal', 'low');
     add_action('save_post', array($this, 'admin_options_save'), 2);
 }
 function __construct($post_id)
 {
     parent::__construct($post_id);
     add_action('admin_head', array($this, 'admin_head'));
     /**
      * Meta box: Project Options
      */
     add_meta_box('gp-project-info-meta', __('Project Options', 'gp'), array($this, 'meta_box_options_content'), 'gp_portfolio', 'normal', 'low');
     add_action('save_post', array($this, 'meta_box_options_content_save'), 1, 1);
     /**
      * Meta box: Project Media
      */
     add_meta_box('gp-project-media', __('Project Media', 'gp'), array($this, 'meta_box_media_content'), 'gp_portfolio', 'normal', 'low');
     add_action('wp_ajax_gp_project_media', array($this, 'json_get_media'));
     add_action('wp_ajax_gp_project_media_save', array($this, 'json_save_media'));
 }