我正在开发插件,我想在我的插件中包含bootstrap.包含的最佳方式是什么?我找不到任何与此相关的内容,到目前为止我找到了几个bootstrap插件,我不需要,我需要在我的插件中包含一些来自bootstrap的js和css元素.我是bootstrap的新手.
此外,我尝试过类似于WP主题的内容,但它不起作用?
如果您需要更多信息,请问我,我会为您提供
我试图在主文件index.php中包含类似于WP主题的东西:
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<!-- Latest compiled and minified JavaScript -->
<script src="http://netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js"></script>
<script src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></script>
Run Code Online (Sandbox Code Playgroud) wordpress include wordpress-plugin twitter-bootstrap twitter-bootstrap-3