Skip to:
Content

bbPress.org


Ignore:
Timestamp:
05/28/2011 10:43:43 AM (15 years ago)
Author:
johnjamesjacoby
Message:

Allow WordPress pages to overload forum and topic archive pages.

Introduce bbp_reset_all_filters() and bbp_restore_all_filters() functions to handle specific bypassing of the_content filter for theme compat. Introduce bbp_is_topic_archive() and bbp_is_forum_archive() functions to help with bypassing archive pages.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/plugin/bbp-includes/bbp-topic-template.php

    r3250 r3251  
    242242
    243243                        // Topic archive
    244                         elseif ( is_post_type_archive( bbp_get_topic_post_type() ) )
     244                        elseif ( bbp_is_topic_archive() )
    245245                                $base = user_trailingslashit( trailingslashit( home_url( $bbp->topic_archive_slug ) ) . 'page/%#%/' );
    246246
Note: See TracChangeset for help on using the changeset viewer.