Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我已经开发了我的插件,它可以在 localhost 上完美运行,但它无法在线运行,因为它找不到库,我应该如何修改它们以运行插件。
require_once("/Applications/MAMP/htdocs/wordpress/wp-load.php"); require_once(ABSPATH . "wp-admin" . '/includes/image.php');
这取决于您的 WP 安装位置,但这应该可以:
require_once(ABSPATH . 'wp-load.php'); require_once(ABSPATH . 'wp-admin/includes/image.php');
我有这样的数组值。我想在 HTML 表格标签中显示这些值
<script type="text/javascript"> var orderArray = [ ["1","29-Aug-2012", "Product1", "client1"], ["2","29-Aug-2012", "Product2", "client2"], ["3","29-Aug-2012", "Pr