站內搜尋

Tuesday, September 6, 2011

[wordpress] 在wordpress引入jquery.js檔


在wp-content/themes/你使用的佈景/header.php的<head>區加入引用jQuery的標籤:

<script type="text/javascript" src="<?php bloginfo("url"); ?>/wp-includes/js/jquery/jquery.js"></script>

No comments:

Post a Comment