[wp-hackers] wp_enqueue_script Question

Chris Poteet cpoteet at siolon.com
Thu Mar 27 12:58:38 GMT 2008


I have this.  It adds the css but not the jquery.  What am I doing
wrong (please)?

function postinfo_head() {
 	wp_enqueue_script( 'jquery' );
 	echo "<link href=\"". get_bloginfo('wpurl'). "/wp-content/plugins/
post-information/post-information.css\" type=\"text/css\" rel=
\"stylesheet\" media=\"screen\" />";
}

add_action('wp_head', 'postinfo_head');


More information about the wp-hackers mailing list