_s: Remove image.php
and related code. Image attachments will be
displayed by `single.php`. See http://codex.wordpress.org/Template_Hierarchy
This commit is contained in:
parent
6f63a0b39a
commit
7c1067eee3
5 changed files with 0 additions and 162 deletions
|
@ -1,14 +0,0 @@
|
|||
jQuery( document ).ready( function( $ ) {
|
||||
$( document ).keydown( function( e ) {
|
||||
var url = false;
|
||||
if ( e.which === 37 ) { // Left arrow key code
|
||||
url = $( '.nav-previous a' ).attr( 'href' );
|
||||
}
|
||||
else if ( e.which === 39 ) { // Right arrow key code
|
||||
url = $( '.entry-attachment a' ).attr( 'href' );
|
||||
}
|
||||
if ( url && ( ! $( 'textarea, input' ).is( ':focus' ) ) ) {
|
||||
window.location = url;
|
||||
}
|
||||
} );
|
||||
} );
|
Loading…
Add table
Add a link
Reference in a new issue