Making WordPress.org


Ignore:
Timestamp:
04/15/2015 08:56:26 AM (11 years ago)
Author:
dd32
Message:

Theme Directory: Improve localisation by properly using a consistent text domain, and not relying upon strings contained within wp-admin.
This removes the Nav menu, replacing it with a hard-coded menu, and hard-coded site title.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/index.php

    r1375 r1477  
    2525
    2626                        <ul class="filter-links">
    27                                 <li><a href="<?php echo esc_url( home_url( 'browse/featured/' ) ); ?>" data-sort="featured"><?php _ex( 'Featured', 'themes' ); ?></a></li>
    28                                 <li><a href="<?php echo esc_url( home_url( 'browse/popular/' ) ); ?>" data-sort="popular"><?php _ex( 'Popular', 'themes' ); ?></a></li>
    29                                 <li><a href="<?php echo esc_url( home_url( 'browse/new/' ) ); ?>" data-sort="new"><?php _ex( 'Latest', 'themes' ); ?></a></li>
     27                                <li><a href="<?php echo esc_url( home_url( 'browse/featured/' ) ); ?>" data-sort="featured"><?php _ex( 'Featured', 'themes', 'wporg-themes' ); ?></a></li>
     28                                <li><a href="<?php echo esc_url( home_url( 'browse/popular/' ) ); ?>" data-sort="popular"><?php _ex( 'Popular', 'themes', 'wporg-themes' ); ?></a></li>
     29                                <li><a href="<?php echo esc_url( home_url( 'browse/new/' ) ); ?>" data-sort="new"><?php _ex( 'Latest', 'themes', 'wporg-themes' ); ?></a></li>
    3030                        </ul>
    3131
    32                         <a class="drawer-toggle" href="#"><?php _e( 'Feature Filter' ); ?></a>
     32                        <a class="drawer-toggle" href="#"><?php _e( 'Feature Filter', 'wporg-themes' ); ?></a>
    3333
    3434                        <div class="search-form"></div>
     
    3636                        <div class="filter-drawer">
    3737                                <div class="buttons">
    38                                         <button type="button" disabled="disabled" class="apply-filters button button-secondary"><?php _e( 'Apply Filters' ); ?><span></span></button>
    39                                         <button type="button" class="clear-filters button button-secondary"><?php _e( 'Clear' ); ?></button>
     38                                        <button type="button" disabled="disabled" class="apply-filters button button-secondary"><?php _e( 'Apply Filters', 'wporg-themes' ); ?><span></span></button>
     39                                        <button type="button" class="clear-filters button button-secondary"><?php _e( 'Clear', 'wporg-themes' ); ?></button>
    4040                                </div>
    4141
    4242                                <div class="filtered-by">
    43                                         <span><?php _e( 'Filtering by:' ); ?></span>
     43                                        <span><?php _e( 'Filtering by:', 'wporg-themes' ); ?></span>
    4444                                        <div class="tags"></div>
    45                                         <a href="#"><?php _e( 'Edit' ); ?></a>
     45                                        <a href="#"><?php _e( 'Edit', 'wporg-themes' ); ?></a>
    4646                                </div>
    4747
     
    7676                                ?>
    7777                        </div>
    78                         <p class="no-themes"><?php _e( 'No themes found. Try a different search.' ); ?></p>
     78                        <p class="no-themes"><?php _e( 'No themes found. Try a different search.', 'wporg-themes' ); ?></p>
    7979                </div>
    8080                <div class="theme-install-overlay"></div>
Note: See TracChangeset for help on using the changeset viewer.