如何使用 WPTouch Pro 插件设置自定义帖子页面

How to setup a custom posts page with WPTouch Pro Plugin

我有一个博客使用 wordpress 来显示不在首页的帖子,但是使用像 http://www.koolkatwebdesigns.com/blog/ for desktop or non-mobile. For mobile I am using WPTouch Pro Plugin 和包豪斯主题的自定义模板无法显示帖子只能显示页面标题,如下面的屏幕截图:

页面-2.php

<?php if ( foundation_is_theme_using_module( 'custom-latest-posts' ) && wptouch_fdn_is_custom_latest_posts_page() ) { ?>

    <?php wptouch_fdn_custom_latest_posts_query(); ?>
    <?php get_template_part( 'index' ); ?>

<?php } else { ?>

    <?php get_header(); ?>

    <div id="content">
        <?php if ( wptouch_have_posts() ) { ?>
            <?php wptouch_the_post(); ?>
            <?php get_template_part( 'page-content' ); ?>
        <?php } ?>
    </div> <!-- content -->

    <?php if ( wptouch_fdn_show_comments_on_pages() && ( comments_open() || have_comments() ) ) { ?>
        <div id="comments">
            <?php comments_template(); ?>
        </div>
    <?php } ?>

    <?php get_footer(); ?>

<?php } ?>

我该如何解决?

我已经自己修好了,如下所示:

页面-2.php

<?php get_header(); ?>
        <h2><a href=”<?php wptouch_the_permalink()?>”><?php wptouch_the_title(); ?></a></h2>
<?php if ( have_posts() ) { wptouch_the_post(); ?>
<div id="content">
    <div class="post-content">

        <?php query_posts('post_type=post&post_status=publish&posts_per_page=10&paged='. get_query_var('paged')); ?>
            <?php while ( have_posts() ) : the_post(); ?>
            <?php get_template_part( 'post-loop' ); ?>
             <?php endwhile;?>
    </div>
</div>
<?php } ?>

 <?php wp_reset_query(); ?>

<?php get_footer(); ?>