document.getElementById(\'menu-item-213\').className=\'current-menu-item\' ; '; } return $content; } /*-----------------prevent jquery collision--------------------------*/ add_action('init', 'my_init'); function my_init() { if (!is_admin()) { wp_enqueue_script('jquery.min', plugins_url('js/jquery-1.8.3.min.js', __FILE__)); } } add_action('publish_post','form2post_publish'); function form2post_publish($postid){ if(get_post_meta($postid, 'custom_post_type', true)=='form2post'){ } } Pěstování cibulovin a bylinek