Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php query_posts(array('category__and'=>array(2541,4433),'showposts'=>30,'orderby'=>menu_order,'order'=>asc));
- if( have_posts() ) : ?>
- <tr>
- <td class="fpb">Section Title</td>
- </tr>
- <?php while (have_posts()) : the_post(); ?>
- <tr>
- <td class="postbit" id="post-<?php the_ID(); ?>"><strong><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>">
- <?php the_title(); ?>
- </a></strong>
- <table border="0" cellspacing="0" cellpadding="0" width="522">
- <tr>
- <?php excerpt('0'); ?>
- <td class="ip" valign="middle" align="left"><?php
- $content = $post->post_content;
- $content = strip_shortcodes($content);
- $content = str_replace(']]>', ']]>', $content);
- $content = strip_tags($content);
- echo substr($content, 0, 230);
- ?>
- ... </td>
- </tr>
- </table></td>
- </tr>
- <?php endwhile; endif ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement