';
echo 'WP 函数值
';
echo '-------------------------------------
';
echo "get_bloginfo('charset') = " . get_bloginfo('charset') . '
';
echo "get_option('home') = " . get_option('home') . '
';
echo "get_option( 'siteurl' ) = " . get_option( 'siteurl' ) . '
';
echo 'WPLANG = ' . WPLANG . '
';
echo "ABSPATH = " . ABSPATH . '
';
echo '_get_wap_home() = ' . _get_wap_home() . '
';
echo '
-------------------------------------
';
echo '$wp_query->query_vars
';
echo '-------------------------------------
';
echo '
';
global $wp_query;
print_r($wp_query->query_vars);
echo '';
echo '-------------------------------------';
print_r($_SERVER);
echo '';
echo '-------------------------------------';
print_r($_GET);
echo '';
exit;
}
// 自动定位到 index.php,以配合正确的翻页路径
$url = remove_query_arg( 'paged' );
if( strstr($url,'index.php') == '' || strstr($url,'index.php') == false )
header("location:index.php");
?>
max_num_pages > 1) { _previous_posts_link('<< ' . __('Page Up','wap')); _next_posts_link(__('Page Down','wap') . ' >>');}?>
:'; the_views(); echo '';} ?>
:
:
:
:
' . __('Operation','wap') . ':' . __('Delete','wap') . ''; } ?>post_content ) > 0 ) : the_content(); else : the_excerpt_rss(); endif; } ?>