WordPress.org

Making WordPress.org


Ignore:
Timestamp:
11/21/2017 07:34:02 PM (8 months ago)
Author:
obenland
Message:

WP.org: Make 404 hinge work.

Props mapk.
See #2861.

File:
1 edited

Legend:

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

    r6103 r6154  
    2424                <div class="logo-swing">
    2525                    <img src="<?php echo get_theme_file_uri( '/images/wp-logo-blue-trans-blur.png' ); ?>" class="wp-logo" />
    26                     <img src="<?php echo get_theme_file_uri( '/images/wp-logo-blue.png' ); ?>" class="wp-logo" />
     26                    <img id="hinge" src="<?php echo get_theme_file_uri( '/images/wp-logo-blue.png' ); ?>" class="wp-logo hinge" />
    2727                </div>
    2828            </div><!-- .page-content -->
     
    3131    </main><!-- #main -->
    3232
     33    <script>
     34        setTimeout( function() {
     35            document.getElementById( 'hinge' ).hidden = true;
     36        }, 1900 );
     37    </script>
     38
    3339<?php
     40
    3441get_footer();
Note: See TracChangeset for help on using the changeset viewer.