* add post style to TinyMCS editor
 */
core_admin::editor_style();
/**
 * custom post types
 */
//$order = new cwp_orders();
/**
 * Adapt.js/960 grid
 */
/**
 * Tinymce Style Buttons
 *
 */
function theme_formatTinyMCE($init)
{
    $init['theme_advanced_buttons2_add'] = 'styleselect';
    $init['theme_advanced_styles'] = 'PDF=pdf;Notes=notes;DiscussIt=discuss;Warning=warning;Share=share';
    return $init;
}
add_filter('tiny_mce_before_init', 'theme_formatTinyMCE');
remove_post_type_support('post', 'revisions');
/**
 * stop self pingbacks
 */
core_admin::end_self_ping();
//$tpl_widget = new Tpl_Widget();
$recthumb = new Recent_thumbs_Widget();
$c_themes = new cwp_theme_shop();
$cwp_ui = new cwp_ui();
cwp_social::contact_info();