Changeset 10624 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-main/front-page.php
- Timestamp:
- 01/22/2021 07:26:44 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-main/front-page.php
r10616 r10624 34 34 $swag_class = $showcase ? 'col-4' : 'col-2'; 35 35 $user_class = $showcase ? 'col-12' : 'col-2'; 36 37 $cdn_domain = defined( 'WPORG_SANDBOXED' ) && WPORG_SANDBOXED ? 's-origin.wordpress.org' : 's.w.org'; 36 38 37 39 get_header( 'wporg' ); … … 256 258 <?php 257 259 $user_links = [ 258 'people' => 'https://wordpress.org/showcase/stylewatch-off-the-rack/', 260 'whitehouse' => 'https://wordpress.org/showcase/the-white-house/', 261 'rolling-stone' => 'https://wordpress.org/showcase/rolling-stone/', 262 'bbc-america' => 'https://wordpress.org/showcase/bbc-america/', 263 'unicef-uk' => 'https://wordpress.org/showcase/unicef-uk/', 264 'pioneer-woman' => 'https://wordpress.org/showcase/the-pioneer-woman', 259 265 'playstation' => 'https://wordpress.org/showcase/playstationblog/', 260 266 'blondie' => 'https://wordpress.org/showcase/blondie/', 261 'marthastewart' => 'https://wordpress.org/showcase/themarthablog/',262 267 ]; 263 268 264 269 foreach ( array_rand( $user_links, 3 ) as $slug ) : 265 270 printf( 266 '<li><a href="%1$s"><img src="https:// s.w.org/images/notableusers/%2$s-2x.png" alt="%2$s" width="130" height="57" /></a></li>',271 '<li><a href="%1$s"><img src="https://'. $cdn_domain .'/images/notableusers/%2$s-2x.png?version=2" alt="%2$s" width="130" height="57" /></a></li>', 267 272 $user_links[ $slug ], 268 273 $slug
Note: See TracChangeset
for help on using the changeset viewer.