I have a blog using wordpress to display posts not on front page but using a custom template like http://ift.tt/1TOQI4u for desktop or non-mobile. For mobile I am using WPTouch Pro Plugin with Bauhaus theme cannot display posts only show page title like screenshot below:
page-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 } ?>
How I can fix it?
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire