I found a solution, had to replace wp_print_scripts with wp_enqueue_scripts in the last line of 1st snippet. It comes out that since Wordpress 3.3 (over 4 years ...
確定! 回上一頁