我必须得到特定的页面内容(如第(12)页)
我用过:
<?php $id=47; $post = get_page($id); echo $post->post_content; ?>
Run Code Online (Sandbox Code Playgroud)
与qtranslate兼容的工作很好的execpt它返回法语和英语文本
但循环很好,只返回良好的语言版本
<?php if(have_posts()) : while(have_posts()) : the_post(); ?>
<div id="post">
<?php the_content(); ?>
</div> <!-- .post -->
Run Code Online (Sandbox Code Playgroud)
所以问题......如何获取特定的页面内容以确保循环...
wordpress ×1