Making WordPress.org


Ignore:
Timestamp:
02/19/2017 09:47:45 PM (7 years ago)
Author:
SergeyBiryukov
Message:

Support Forums: Remove plugin- and theme-specific sidebar sections that are never displayed in the new theme.

See #2495.

File:
1 edited

Legend:

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

    r4922 r4948  
    6666        $this->do_topic_sidebar();
    6767
    68         ?>
    69         <div>
    70             <h3><?php _e( 'Browse Themes', 'wporg-forums' ); ?></h3>
    71 
    72             <ul class="theme-submenu">
    73                 <li class="view"><a href="//wordpress.org/themes/"><?php _e( 'Featured', 'wporg-forums' ); ?></a></li>
    74                 <li class="view"><a href="//wordpress.org/themes/browse/popular/"><?php _e( 'Most Popular', 'wporg-forums' ); ?></a></li>
    75                 <li class="view"><a href="//wordpress.org/themes/browse/new/"><?php _e( 'Latest', 'wporg-forums' ); ?></a></li>
    76                 <li class="view"><a href="/themes/getting-started/"><?php _e( 'Theme Authors', 'wporg-forums' ); ?></a></li>
    77                 <li class="view"><a href="/themes/commercial/"><?php _e( 'Commercial', 'wporg-forums' ); ?></a></li>
    78             </ul>
    79         </div>
    80 
    81         <div>
    82             <h3><?php _e( 'Search Themes', 'wporg-forums' ); ?></h3>
    83 
    84             <form id="side-search" method="get" action="//wordpress.org/themes/search.php">
    85             <div>
    86                 <input type="text" class="text" name="q" value="" />
    87                 <input type="submit" class="button" value="<?php _e( 'Search', 'wporg-forums' ); ?>" />
    88             </div>
    89             </form>
    90         </div>
    91         <?php
    9268    }
    9369
Note: See TracChangeset for help on using the changeset viewer.