且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

在不同位置创建文件

更新时间:2023-10-29 14:01:58

您应该使用

header('Content-Type: text/html; charset: UTF-8');
require( '../../../../wp-load.php' );

其中 ../../... 是您的 wp-load.php 文件的路径,具体取决于您放置的位置.

where ../../ ... is the path to your wp-load.php file depending on where you put it.

此后,您可以按照自己喜欢的方式使用循环.

After this, you can use loop the way you like.