Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php if (have_posts()): ?>
- <div class="postSection">
- <?php
- while (have_posts()) : the_post();
- $pdf_download = get_post_meta($post->ID, 'pdf_download', true);
- $pdf_label = get_post_meta($post->ID, 'pdf_label', true);
- ?>
- <div class='postBox <?php foreach ((get_the_category()) as $cats) {
- echo $cats->slug . ' ';
- } ?>'>
- <div class="postImage">
- <a href="<?php the_permalink(); ?>"
- title="<?php the_title_attribute(); ?>"><?php the_post_thumbnail(); ?></a>
- </div>
- <div class="postContent">
- <h3><a href="<?php the_permalink(); ?>"
- title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a>
- </h3>
- <div class="postExcerpt">
- <p><?php the_excerpt_rss(); ?> <a class="readMore"
- href="<?php the_permalink(); ?>"
- title="<?php the_title_attribute(); ?>">Read
- More</a></p>
- </div>
- </div>
- </div>
- <?php endwhile; ?>
- </div>
- <?php endif;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement