Add wp_head and wp_footer hooks