Changeset 4242
- Timestamp:
- 10/14/2016 09:29:29 PM (8 years ago)
- Location:
- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/inc/template-tags.php
r3840 r4242 1323 1323 $taxonomies = array( 'wp-parser-since', 'wp-parser-package', 'wp-parser-source-file' ); 1324 1324 1325 return ! is_search() && ( is_singular( $post_types ) || is_post_type_archive( $post_types ) || is_tax( $taxonomies ) || get_query_var( 'is_handbook' ) );1325 return ! ( is_search() || is_404() ) && ( is_singular( $post_types ) || is_post_type_archive( $post_types ) || is_tax( $taxonomies ) || get_query_var( 'is_handbook' ) ); 1326 1326 } 1327 1327 -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/scss/main.scss
r3853 r4242 524 524 } 525 525 526 section.error-404 { 527 overflow: visible; 528 } 526 529 .home-landing .section { 527 530 padding: 30px 0%; -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/searchform.php
r3281 r4242 6 6 */ 7 7 ?> 8 <div class="search-section section clear <?php if ( ! ( is_page( 'reference' ) || is_search() ) ) { echo 'hide-if-js'; } ?>">8 <div class="search-section section clear <?php if ( ! ( is_page( 'reference' ) || is_search() || is_404() ) ) { echo 'hide-if-js'; } ?>"> 9 9 10 10 <?php if ( is_search() ) { ?> … … 38 38 $search_url = get_query_var( 'current_handbook_home_url' ); 39 39 $search_url = $search_url ? $search_url : home_url( '/' ); 40 $form_class = $is_handbook ? ' searchform-handbook' : ''; 40 $filters = ! ( $is_handbook || is_404() ); 41 $form_class = ( $filters ) ? ' searchform-filtered' : ''; 42 if ( $is_handbook ) { 43 $form_class .= ' searchform-handbook'; 44 } 41 45 ?> 42 46 … … 50 54 </div> 51 55 52 <?php if ( ! $is_handbook) : ?>56 <?php if ( $filters ) : ?> 53 57 54 58 <div class="search-post-type"> -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/stylesheets/main.css
r3853 r4242 865 865 } 866 866 867 .devhub-wrap section.error-404 { 868 overflow: visible; 869 } 870 867 871 .devhub-wrap .home-landing .section { 868 872 padding: 30px 0%;
Note: See TracChangeset
for help on using the changeset viewer.