WordPress.org

Support

Support » Plugins and Hacks » WPTouch issues with WordPress 3.1.2

WPTouch issues with WordPress 3.1.2

  • My portfolio page was working just fine on a mobile device until I upgraded to WordPress 3.1.2. Now the page does not display the full content.
    What is weird is that the same code works fine for the desktop version but not for the mobile version anymore. Check the link to see the difference: http://web-kreation.com/portfolio/

    My (simplified) code is:

    <?php
    if (have_posts()) :
    query_posts('posts_per_page=1&cat=129&paged=' . $paged);
    while (have_posts()) : the_post();
    ?>
    
    <?php the_title(); ?>
    <?php the_content(); ?>
    <?php $ptfImgBig = get_post_meta($post->ID, "Portfolio Image Big", $single = true); if($ptfImgBig !== '') { ?>
    <div class="ptf-big-img"><?php echo $ptfImgBig; ?></div>
    <?php } $page_num =  $page_num + 1; ?>
    
    <?php endwhile; endif; ?>
Viewing 1 replies (of 1 total)
  • Hmm, I found the problem. In the dashboard, I had set to exclude category 129: “Excluded Categories – Categories by ID you want excluded everywhere in WPtouch.”

    Before this option only excluded from the blog, not from pages. (I forgot to mention the code above is in portfolio.php).

Viewing 1 replies (of 1 total)
  • The topic ‘WPTouch issues with WordPress 3.1.2’ is closed to new replies.