comment_status): ?> | | ' . __('Comments Closed','wap') . ''; endif; ?>'; the_views(); echo '';} ?>
';
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;
}
// 处理标题 Begin
$stitle = get_option("wap_sitetitle");
if( $stitle == '' )
{
$stitle = get_bloginfo('name');
}
if ( isset( $title ) && $title != '' )
$stitle = $title;
$sname = $stitle;
if ( isset( $name ) && $name != '' )
$sname = $name;
$sname = str_replace('\\','',$sname);
$stitle = str_replace('\\','',$stitle);
// 处理标题 End
// 自动定位到 index.php,以配合正确的翻页路径
$url = remove_query_arg( 'paged' );
//if( strstr($url,'index.php') == '' || strstr($url,'index.php') == false )
// header("location:index.php");
echo '';
?>
'; the_views(); echo '';} ?>
:
:
:
comment_status): ?> ' . __('Operation','wap') . ':' . __('Edit','wap') . ' | ' . __('Append','wap') . ' | ' . __('Delete','wap') . ''; } ?> post_content ) > 0 ) : the_content(); else : the_excerpt_rss(); endif; } ?> '
' . __('Pages:','wap') . ' ', 'after' => '
', 'next_or_number' => 'number')); ?>"); ?>