Php Wordpress事件管理器存档页
我正在使用事件管理器页面,我正在尝试创建一个月和年的事件存档页面,就像帖子一样。我希望归档页面的URL位于 这就是我目前所拥有的。我的文件另存为archive-event.php。然而,当我试图去,我得到了404Php Wordpress事件管理器存档页,php,wordpress,custom-wordpress-pages,Php,Wordpress,Custom Wordpress Pages,我正在使用事件管理器页面,我正在尝试创建一个月和年的事件存档页面,就像帖子一样。我希望归档页面的URL位于 这就是我目前所拥有的。我的文件另存为archive-event.php。然而,当我试图去,我得到了404 $Currenturl = $_SERVER["REQUEST_URI"]; $chunks = array_filter(explode('/', $Currenturl)); $archiveYear=$chunks[1]; $archiveMonth=$chunks[2]; $a
$Currenturl = $_SERVER["REQUEST_URI"];
$chunks = array_filter(explode('/', $Currenturl));
$archiveYear=$chunks[1];
$archiveMonth=$chunks[2];
$archiveDay=$chunks[3];
echo EM_Events::output(array('year'=>$archiveYear, 'order'=>'DESC' ));
我建议在插件上加一个链接。现在我不确定你用的是哪一个。如果你用的是pro,我建议你在那里寻求支持。