$cwp_types = new theme_content(); $cwp_types->feedback(); theme_content::add()->article(); theme_content::add()->faq(); /** * *************customisations************************************************** */ //add more optoion to user profile cwp_social::contact_info(); //post gallery rotator checkbox cwp_gallery::gallery_rotator(); core_admin::remove_wp_adminbar_logo(); /** * ***********grab browser screenshots shortcode******************************** */ cwp::browsershots(); /** * display gallery petabox image gallery metabox */ if (function_exists('be_gallery_metabox')) { function be_gallery_types() { $post = array('post', 'page', 'cwp_theme'); return $post; } function be_gallery_icon() { return 'icon-60'; } add_filter('be_gallery_metabox_post_types', 'be_gallery_types', 10, 2); add_filter('be_gallery_metabox_image_size', 'be_gallery_icon', 10, 2);