/** * change WordPress default FROM email address **/ add_filter('wp_mail_from', 'new_mail_from'); add_filter('wp_mail_from_name', 'new_mail_from_name'); add_theme_support( 'post-thumbnails'); function new_mail_from($old) { $email = get_option( 'admin_email' ); return $email; } function new_mail_from_name($old) { $site_name = get_option( 'blogname'); return $site_name; } function mdszkolenia_widgets_init() { register_sidebar( array( 'name' => 'Kalendarz', 'before_widget' => '', 'after_widget' => '', 'before_title' => '', 'after_title' => '', ) ); register_sidebar( array( 'name' => __( 'Sidebar Wszystkie Strony', 'mdszkolenia' ), 'id' => 'sidebar-right', 'description' => __( 'Widgety na prawy panel wszystkich stron.', 'mdszkolenia' ), 'before_widget' => '
', 'after_widget' => '
', 'before_title' => '', ) ); register_sidebar( array( 'name' => __( 'Sidebar Tylko Index Footer', 'mdszkolenia' ), 'id' => 'footer-sidebar', 'description' => __( 'Widgety footer na stronie głównej.', 'mdszkolenia' ), 'before_widget' => '
', 'after_widget' => '
', 'before_title' => '', ) ); } add_action( 'widgets_init', 'mdszkolenia_widgets_init' ); if (!function_exists('tdav_css')){ function tdav_css($wp){ $wp .= ',' . get_bloginfo('stylesheet_directory') . '/wysiwyg.css'; return $wp; } } add_filter('mce_css', 'tdav_css'); function siteUrl_func($atts) { return home_url(); } // Google Fonts function load_fonts() { wp_register_style('GoogleFonts', 'https://fonts.googleapis.com/css?family=Open+Sans:300,400&subset=latin-ext'); wp_enqueue_style( 'GoogleFonts'); } add_action('wp_print_styles', 'load_fonts'); add_shortcode('site-url', 'siteUrl_func'); // Zarejestrowanie obiektów menu if (function_exists('register_nav_menus')){ register_nav_menus( array( 'menu' => 'Menu', 'menu-szkolenia' => 'Menu szkolenia' ) ); } wp_enqueue_script('jquery'); function disable_version(){ return ''; } add_filter('the_generator','disable_version'); remove_action('wp_head', 'wp_generator'); //Enable post and comments RSS feed links to head add_theme_support('automatic-feed-links'); // Enable post thumbnails add_theme_support('post-thumbnails'); set_post_thumbnail_size(350, 0, false); //Usuwanie komentarzy // Disable support for comments and trackbacks in post types function df_disable_comments_post_types_support() { $post_types = get_post_types(); foreach ($post_types as $post_type) { if(post_type_supports($post_type, 'comments')) { remove_post_type_support($post_type, 'comments'); remove_post_type_support($post_type, 'trackbacks'); } } } add_action('admin_init', 'df_disable_comments_post_types_support'); // Close comments on the front-end function df_disable_comments_status() { return false; } add_filter('comments_open', 'df_disable_comments_status', 20, 2); add_filter('pings_open', 'df_disable_comments_status', 20, 2); // Hide existing comments function df_disable_comments_hide_existing_comments($comments) { $comments = array(); return $comments; } add_filter('comments_array', 'df_disable_comments_hide_existing_comments', 10, 2); // Remove comments page in menu function df_disable_comments_admin_menu() { remove_menu_page('edit-comments.php'); } add_action('admin_menu', 'df_disable_comments_admin_menu'); // Remove comments metabox from dashboard function df_disable_comments_dashboard() { remove_meta_box('dashboard_recent_comments', 'dashboard', 'normal'); } add_action('admin_init', 'df_disable_comments_dashboard'); // Remove comments links from admin bar function df_disable_comments_admin_bar() { if (is_admin_bar_showing()) { remove_action('admin_bar_menu', 'wp_admin_bar_comments_menu', 60); } } add_action('init', 'df_disable_comments_admin_bar'); //remove_action( 'wp_head', 'wp_resource_hints', 2 ); // Zaawansowane pola edycji (na potrzeby szkoleń) ! tylko dla fornt END, by przypadkiem nie ładowały się w Adminie if(!is_admin()) { if(function_exists("register_field_group")) { register_field_group(array ( 'id' => 'acf_szkolenia', 'title' => 'Szkolenia', 'fields' => array ( array ( 'key' => 'field_583dd005b3a7c', 'label' => 'Kluczbork', 'name' => 'termin_kluczbork', 'type' => 'date_picker', 'instructions' => 'Termin w Kluczborku', 'date_format' => 'yymmdd', 'display_format' => 'dd.mm.yy', 'first_day' => 1, ), array ( 'key' => 'field_583dd125b3a7e', 'label' => 'Opole', 'name' => 'termin_opole', 'type' => 'date_picker', 'instructions' => 'Termin w Opolu', 'date_format' => 'yymmdd', 'display_format' => 'dd.mm.yy', 'first_day' => 1, ), array ( 'key' => 'field_583dd130b3a7f', 'label' => 'Łódź', 'name' => 'termin_lodz', 'type' => 'date_picker', 'instructions' => 'Termin w Łodzi', 'date_format' => 'yymmdd', 'display_format' => 'dd.mm.yy', 'first_day' => 1, ), array ( 'key' => 'field_583dd146b3a80', 'label' => 'Cena brutto', 'name' => 'cena_brutto', 'type' => 'number', 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'min' => '', 'max' => '', 'step' => '', ), array ( 'key' => 'field_583dd171b3a81', 'label' => 'Opis skrócony', 'name' => 'opis_skrocony', 'type' => 'textarea', 'instructions' => 'Tekst na listach/menu', 'default_value' => '', 'placeholder' => '', 'maxlength' => '', 'rows' => '', 'formatting' => 'br', ), array ( 'key' => 'field_583dd19eb3a82', 'label' => 'Opis', 'name' => 'opis', 'type' => 'textarea', 'instructions' => 'Opis na początku strony. Program szkolenia zapisywać w głównym oknie edycji strony.', 'default_value' => '', 'placeholder' => '', 'maxlength' => '', 'rows' => '', 'formatting' => 'br', ), array ( 'key' => 'field_583dd1bfb3a83', 'label' => 'Adresaci szkolenia', 'name' => 'adresaci_szkolenia', 'type' => 'textarea', 'default_value' => '', 'placeholder' => '', 'maxlength' => '', 'rows' => '', 'formatting' => 'br', ), array ( 'key' => 'field_583dd1d6b3a84', 'label' => 'Cel szkolenia', 'name' => 'cel_szkolenia', 'type' => 'textarea', 'default_value' => '', 'placeholder' => '', 'maxlength' => '', 'rows' => '', 'formatting' => 'br', ), array ( 'key' => 'field_583dd1eab3a85', 'label' => 'Korzyści ze szkolenia', 'name' => 'korzysci_ze_szkolenia', 'type' => 'textarea', 'default_value' => '', 'placeholder' => '', 'maxlength' => '', 'rows' => '', 'formatting' => 'br', ), ), 'location' => array ( array ( array ( 'param' => 'post_type', 'operator' => '==', 'value' => 'page', 'order_no' => 0, 'group_no' => 0, ), ), ), 'options' => array ( 'position' => 'acf_after_title', 'layout' => 'no_box', 'hide_on_screen' => array ( ), ), 'menu_order' => 0, )); } } ?> Nominacja Do Nagrody Starosty Kluczborskiego – Plaster Miodu
MDszkolenia.pl

- Nominacja Do Nagrody Starosty Kluczborskiego – Plaster Miodu

08.01.2016

Z ogromną radością pragniemy pochwalić się, że nasza firma MDszkolenia.pl dostała nominację do Nagrody Starosty Kluczborskiego – „Plaster Miodu” w kategorii Nauka. Bardzo dziękujemy, jest to dla nas ogromne wyróżnienie i docenienie naszej działalności w regionie.