Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <table style="clear:both; margin-top:15px;">
- <tbody>
- <tr>
- <td id="inset_box_color">Date</td>
- <td id="inset_box_color">Companies</td>
- <td id="inset_box_color">Publication</td>
- <td id="inset_box_color">Article</td>
- </tr>
- <?php
- $postslist = get_posts('order=DESC&orderby=post_date&category=6');
- foreach ($postslist as $post) :
- setup_postdata($post);
- ?>
- <tr>
- <td><?php the_date('n/j/Y'); ?></td>
- <td><?php echo strip_tags(get_the_tag_list('',', ','')); ?></td>
- <td><?php $key="Publication"; echo get_post_meta($post->ID, $key, true); ?></td>
- <td><?php the_title(); ?> [ <a href="<?php echo get_permalink(); ?>">Read</a> ]</td>
- </tr>
- <?php endforeach; ?>
- </tbody>
- </table>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement