插入到functions.php目錄裡面 //保護後臺登錄add_action('login_enqueue_scripts','login_protection'); function login_protection(){ if($_GET['wangyu'] != '1414060215478
插入到functions.php目錄裡面
//保護後臺登錄
add_action('login_enqueue_scripts','login_protection');
function login_protection(){
if($_GET['wangyu'] != '14140602154784')header('Location: http://www.bt720p.com/');
}
後臺地址:http://www.by720p.com/wp-login.php?wangyu=14140602154784