Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter gianfrancogoria

    (@gianfrancogoria)

    By the way… I would like to use your tiles in this page
    https://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=”https://www.afnews.info/ban/frecciabasso.jpg”&gt;

    <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’ => ‘https://www.fumetti.org/goria/babs/af150.gif&#8217;, ‘size’ => ‘medium’ ) ); ?>

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

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

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

    etc..

    Thread Starter gianfrancogoria

    (@gianfrancogoria)

    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.

    Thread Starter gianfrancogoria

    (@gianfrancogoria)

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

    Plugin Author Mike Martel

    (@mike_cowobo)

    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!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Different view in IE and Chrome’ is closed to new replies.