WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. gianfrancogoria
    Member
    Posted 8 months ago #

    I'm testing wp tiles here
    http://www.afnews.info/wordpress/redazione/test/test-91/
    but I see the page differently on IE and Chrome (last version)... How can I solve it? Thank you! .)

    http://wordpress.org/plugins/wp-tiles/

  2. gianfrancogoria
    Member
    Posted 8 months ago #

    By the way... I would like to use your tiles in this page
    http://www.afnews.info/wordpress/redazione/prossimi-articoli/
    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">
    <!--index.php-->

    <!--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()) { ?>

    <hr>
    <?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' ) ); ?>

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

    </b></font></center>

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

    etc..

  3. gianfrancogoria
    Member
    Posted 8 months 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
    Member
    Posted 8 months ago #

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

  5. Mike
    Member
    Plugin Author

    Posted 7 months 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!

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.