Making WordPress.org


Ignore:
Timestamp:
09/15/2016 05:45:49 PM (10 years ago)
Author:
coffee2code
Message:

Support Forums: Remove view headers from plugin and theme forums.

After [4051], plugin/theme links appear in the sidebar making the view header links duplicates. The view header links were a bit out of place looking anyhow.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/support-forums/inc/class-theme-directory-compat.php

    r4051 r4072  
    109109
    110110        public function do_view_header() {
    111                 $slug        = esc_attr( $this->slug );
    112                 $description = esc_html__( 'Description', 'wporg-forums' );
    113                 $support     = esc_html__( 'Support', 'wporg-forums' );
    114                 $reviews     = esc_html__( 'Reviews', 'wporg-forums' );
    115                 ?>
    116                 <ul id="sections">
    117                         <li class="section-description">
    118                                 <a href="//wordpress.org/themes/<?php echo $slug; ?>/"><?php echo $description; ?></a>
    119                         </li>
    120                         <li class="section-support">
    121                                 <a href="//wordpress.org/support/theme/<?php echo $slug; ?>/"><?php echo $support; ?></a>
    122                         <li>
    123                         <li class="section-reviews">
    124                                 <a href="//wordpress.org/support/theme/<?php echo $slug; ?>/reviews/"><?php echo $reviews; ?></a>
    125                         </li>
    126                 </ul>
    127                 <?php
    128111        }
    129112}
Note: See TracChangeset for help on using the changeset viewer.