Esempio n. 1
0
add_action('enqueue_scripts', 'cwpt_scripts');
function cwpt_scripts()
{
    /**
     * @todo add theme scripts here
     */
    //wp_enqueue_script( 'script_name' );
}
/**
 * ************custom options post type***********************************************
 */
$cwp_ui = cwp_ui::instance();
/**
 * ************Theme Content****************************************************
 */
$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();
Esempio n. 2
0
 public function folio_formats()
 {
     $formats = array('aside', 'image', 'gallery', 'video');
     $post_type = 'cwp_portfolio';
     theme_content::post_formats($post_type, $formats);
 }