Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php /*
- Example template
- Author: mitcho (Michael Yoshitaka Erlewine)
- */
- ?><h3>Articles sur le meΜme sujet :</h3>
- <?php if ($related_query->have_posts()):?>
- <?php while ($related_query->have_posts()) : $related_query->the_post(); ?>
- <div class="tanboxtb">
- <?php
- if(get_post_meta($post->ID, 'img_tab', true)!=''):
- ?>
- <img src="/up/tab/<?php echo get_post_meta($post->ID, 'img_tab', true); ?>" alt="<?php the_title(); ?>" class="left" height="112" width="173" />
- <?php else:
- ?>
- <img src="<?php echo bloginfo('template_url'); ?>/images/up/blank_no.jpg" alt="<?php the_title(); ?>" class="left" height="112" width="173" />
- <?php
- endif;
- ?></a>
- <div class="zinetitletb"><a href="<?php the_permalink() ?>">
- <?php the_title(); ?></a> </div>
- </div>
- <?php endwhile; ?>
- <?php else: ?>
- <p>No related posts.</p>
- <?php endif; ?>
Add Comment
Please, Sign In to add comment