Changeset 956
- Timestamp:
- 10/29/2014 11:02:38 PM (11 years ago)
- Location:
- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/inc/redirects.php
r954 r956 47 47 ( 'handbook' == get_query_var( 'name' ) && ! get_query_var( 'post_type' ) ) || 48 48 // Temporary: Disable access to handbooks unless a member of the site 49 ( ! is_user_member_of_blog() && is_post_type_archive( array( ' plugin-handbook', 'theme-handbook' ) ) )49 ( ! is_user_member_of_blog() && is_post_type_archive( array( 'theme-handbook' ) ) ) 50 50 ) { 51 51 wp_redirect( home_url() ); -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/page-home-landing.php
r948 r956 8 8 */ 9 9 10 // Temporarily redirect to reference until other section become live, justifying a main landing page.11 if ( ! is_user_member_of_blog() ) {12 wp_redirect( get_permalink( get_page_by_path( 'reference' ) ) );13 exit();14 }15 16 10 get_header(); ?> 17 11 … … 22 16 <div class="handbook-banner section blue clear color"> 23 17 <div class="inner-wrap two-columns"> 24 <div class="widget box box-left transparent" >25 <h3 class="widget-title" ><div class="dashicons dashicons-welcome-widgets-menus"></div><?php _e( 'Themes', 'wporg' ); ?></h3>18 <div class="widget box box-left transparent" style="color:#999;"> 19 <h3 class="widget-title" style="color:#999;"><div class="dashicons dashicons-welcome-widgets-menus"></div><?php _e( 'Themes', 'wporg' ); ?></h3> 26 20 <p class="widget-description"><?php _e( 'Want to know all there is to know about theming and WordPress?', 'wporg' ); ?></p> 21 <?php if ( is_user_member_of_blog() ) : ?> 27 22 <a href="<?php esc_attr_e( get_post_type_archive_link( 'theme-handbook' ) ); ?>" class="themes-go get-started go button"><?php _e( 'Develop Themes ', 'wporg' ); ?><span class="dashicons dashicons-arrow-right-alt2"></span></a> 23 <?php else :?> 24 <strong><em><?php _e( 'Coming Soon!', 'wporg' ); ?></em></strong> 25 <?php endif; ?> 28 26 </div> 29 27 <div class="widget box box-right transparent">
Note: See TracChangeset
for help on using the changeset viewer.