cwp::add_widget('404 Page', '404-page', 'Display widgets on the 404-page tpl'); /** * footer */ add_action('wp_footer', 'theme_footer'); function theme_footer() { } /* * add thumbnails to editior list */ core_admin::post_list_thumbs(); /* * 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';