SHOW:
|
|
- or go back to the newest paste.
| 1 | <!-- Begin bbpress forum topics --> | |
| 2 | <div class="columns seventeen"> | |
| 3 | <div class="site_goto_center"> | |
| 4 | <div class="margin_top4"> | |
| 5 | </div> | |
| 6 | <div class="site_center_div"> | |
| 7 | <div class="columns eight"> | |
| 8 | <h3 class="with_line">Latest Forum Topics</h3> | |
| 9 | - | <?php |
| 9 | + | <?php $my_query = new WP_Query('showposts=1&offset=2'); ?>
|
| 10 | - | $show_sep = false; |
| 10 | + | <?php while ($my_query->have_posts()) : $my_query->the_post(); ?> |
| 11 | ||
| 12 | - | if ( 'forum' == bbp_get_forum_last_active_id() ) {
|
| 12 | + | <h2><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h2> |
| 13 | - | $breadcrumbs = '<a href="' . bbp_get_forum_permalink( $parent->ID ) . '">' . bbp_get_forum_title( $parent->ID ) . '</a>'; |
| 13 | + | <?php the_excerpt(); ?> |
| 14 | - | } |
| 14 | + | <div class="hc">{ <em><?php _e('on', 'Detox') ?> <?php the_time('M'); ?><?php the_time('j'); ?> <?php the_time('Y'); ?> | <?php _e('in', 'Detox') ?>: <?php the_category(' | ') ?></em> }</div>
|
| 15 | <?php endwhile; ?> | |
| 16 | - | if ( $breadcrumbs ) {
|
| 16 | + | Hello World |
| 17 | - | ?> |
| 17 | + | |
| 18 | - | <ul class="square-bullets"> |
| 18 | + | |
| 19 | - | <?php |
| 19 | + |