Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <article id = "article4">
- <?php $my_query = new WP_Query('category_name=shopping tips&posts_per_page=1');
- while ($my_query->have_posts()) : $my_query->the_post();
- $do_not_duplicate = $post->ID; ?>
- <h3><a STYLE="text-decoration:none"href = "<?php the_permalink();?>"><?php the_title();?></a></h3>
- <p>
- <?php the_excerpt();?>
- </p>
- <a href="<?php echo getAttach($post->ID,'image'); ?>">download image</a>
- <?php endwhile; ?>
- </article>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement