WP Tiles
[resolved] Different view in IE and Chrome (5 posts)

  1. gianfrancogoria
    Posted 1 year ago #

    I'm testing wp tiles here
    but I see the page differently on IE and Chrome (last version)... How can I solve it? Thank you! .)


  2. gianfrancogoria
    Posted 1 year ago #

    By the way... I would like to use your tiles in this page
    Do you think it is possible? The code is the following - what should I change? Thanks! .-)
    <?php // Template Name: nextNews
    get_header(); ?>

    <!--include sidebar-->
    <?php get_sidebar(); ?>

    <div id="content">

    <!--the loop-->

    <center><b>Prossimi articoli in arrivo</b>
    <img src="http://www.afnews.info/ban/frecciabasso.jpg">

    <font size=2><b>
    <?php $pq = 'post_status=future&order=ASC&showposts=30';
    $prox = new WP_Query($pq);
    if ($prox->have_posts()) { ?>

    <?php while ($prox->have_posts()) : $prox->the_post();
    $unico = $post->ID;

    <?php the_time('j F Y'); ?> - <?php the_title(); ?>
    <?php if ( function_exists( 'get_the_image' ) ) get_the_image( array( 'default_image' => 'http://www.fumetti.org/goria/babs/af150.gif', 'size' => 'medium' ) ); ?>

    <?php endwhile; ?>
    <?php } ?>


    <?php if (have_posts()) : ?>
    <?php while (have_posts()) : the_post(); ?>


  3. gianfrancogoria
    Posted 1 year ago #

    To complete the question 1: I would like Chrome to get the Trebuchet font and the shadows just like IE and Firefox do... If possible.

  4. gianfrancogoria
    Posted 1 year ago #

    To complete the question 2: I would like to get the Future posts with wp-tiles. If possible.

  5. Mike Martel
    Plugin Author

    Posted 1 year ago #

    Hi there, I'm not sure what the problem is in IE. I can't test in IE currently. As for your second question, see the FAQ for a more detailed explanation. The gist is that you have to replace the whole loop by this:

    <?php if ( function_exists ( 'the_loop_wp_tiles' ) ) the_loop_wp_tiles(); ?>

    If you are using custom queries and secondary loops (like you are), it better to use just the_wp_tiles() with the query arguments passed in. So you'd replace everything from
    $prox = new WP_Query($pq); to <?php endwhile; ?><?php } ?>
    with the_wp_tiles( $pq )

    Good luck!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Tiles
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.