0
如果用戶來自移動設備,我想包含indexmob.php。我也試圖與如何在Wordpress中檢測移動設備
<?php
if (wp_is_mobile()) {
include 'indexmob.php';
}
else
{
include 'indexpc.php';
}
?>
但它只能檢測移動設備,它僅顯示indexpc.php
什麼樣的變化,我應該有什麼關係呢?
有WordPress支持它的主題? – Kailash 2014-09-01 04:21:19