Changeset 7391 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-main/page-get.php
- Timestamp:
- 07/09/2018 05:18:18 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-main/page-get.php
r7389 r7391 40 40 ]; 41 41 shuffle( $hosts ); 42 43 $menu_items = [ 44 'download/releases' => _x( 'All Releases', 'Page title', 'wporg' ), 45 'download/beta-nightly' => _x( 'Beta/Nightly Versions', 'Page title', 'wporg' ), 46 'download/counter' => _x( 'Download Counter', 'Page title', 'wporg' ), 47 'download/source' => _x( 'Source Code', 'Page title', 'wporg' ), 48 ]; 42 49 43 50 // Prevent Jetpack from looking for a non-existent featured image. … … 118 125 </aside> 119 126 120 <aside class="col- 12">127 <aside class="col-6"> 121 128 <h4><?php esc_html_e( 'Requirements', 'wporg' ); ?></h4> 122 129 <p class="aside"> … … 141 148 </p> 142 149 </aside> 143 <a href="<?php echo esc_url( home_url( '/download/' ) ); ?>" class="call-to-action col-12"><?php esc_html_e( 'Discover other ways to get WordPress', 'wporg' ); ?></a> 150 151 <aside class="col-6"> 152 <h4><?php esc_html_e( 'More resources', 'wporg' ); ?></h4> 153 <ul> 154 <?php foreach ( $menu_items as $slug => $text ) : ?> 155 <li><a href="<?php echo esc_url( home_url( $slug ) ); ?>"><?php echo esc_html( $text ); ?></a></li> 156 <?php endforeach; ?> 157 </ul> 158 </aside> 144 159 </section> 145 160
Note: See TracChangeset
for help on using the changeset viewer.