Making WordPress.org


Ignore:
Timestamp:
04/07/2014 03:40:43 PM (12 years ago)
Author:
johnjamesjacoby
Message:

BuddyPress.org: Rename support topics page template to forum archive. Successfully caches first page of support forum topics.

File:
1 moved

Legend:

Unmodified
Added
Removed
  • sites/trunk/buddypress.org/public_html/wp-content/themes/bb-base/archive-forum.php

    r522 r523  
    1 <?php
    2 /*
    3 Template Name: Support Index
    4 */
    5 get_header(); ?>
     1<?php get_header(); ?>
    62
    73<h3 id="post-home"><?php _e( 'Support', 'bb-base' ); ?></h3>
    84
    9 <?php if ( bbp_get_paged() > 1 ) : ?>
     5<?php if ( 1 === bbp_get_paged() ) : // cached first page ?>
     6
     7    <?php bb_base_support_topics(); ?>
     8
     9<?php else : // all other pages not cached ?>
    1010
    1111    <?php bbp_get_template_part( 'content', 'archive-topic' ); ?>
    12 
    13 <?php else : ?>
    14 
    15     <?php bb_base_support_topics(); ?>
    1612
    1713<?php endif; ?>
Note: See TracChangeset for help on using the changeset viewer.