Skip to:
Content

bbPress.org

Ticket #1696: 1696.diff

File 1696.diff, 1.0 KB (added by sorich87, 10 years ago)
  • bbp-includes/bbp-common-template.php

     
    614614        if ( bbp_is_topic_archive() )
    615615                $bbp_classes[] = bbp_get_topic_post_type() . '-archive';
    616616
     617        /** Topic Tags ************************************************************/
     618
     619        if ( bbp_is_topic_tag() ) {
     620                $bbp_classes[] = bbp_get_topic_tag_tax_id();
     621                $bbp_classes[] = bbp_get_topic_tag_tax_id() . '-' . bbp_get_topic_tag_slug();
     622                $bbp_classes[] = bbp_get_topic_tag_tax_id() . '-' . bbp_get_topic_tag_id();
     623        }
     624
     625        if ( bbp_is_topic_tag_edit() ) {
     626                $bbp_classes[] = bbp_get_topic_tag_tax_id() . '-edit';
     627                $bbp_classes[] = bbp_get_topic_tag_tax_id() . '-' . bbp_get_topic_tag_slug() . '-edit';
     628                $bbp_classes[] = bbp_get_topic_tag_tax_id() . '-' . bbp_get_topic_tag_id() . '-edit';
     629        }
     630
    617631        /** Components ************************************************************/
    618632
    619633        if ( bbp_is_single_forum() )