Browse files

removed colorbox support

due to conflicts with multiple plugins
  • Loading branch information...
1 parent c9efd79 commit 25e03653b9f0281c6a64d78074b54dea21f82c35 @zyml committed Oct 10, 2012
Showing with 0 additions and 9 deletions.
  1. +0 −5 header.php
  2. +0 −4 js/header.js.php
View
5 header.php
@@ -27,11 +27,6 @@
wp_enqueue_script( 'modernizr', get_template_directory_uri() . '/js/modernizr.custom.min.js', null, '2012-07-08' );
wp_enqueue_script( 'tinynav', get_template_directory_uri() . '/js/tinynav.min.js', array( 'jquery' ), '2012-08-02' );
-if ( is_singular() ) :
-wp_enqueue_style( 'colorbox_css', get_template_directory_uri() . '/css/colorbox.css', null, '2012-08-04' );
-wp_enqueue_script( 'colorbox', get_template_directory_uri() . '/js/jquery.colorbox.min.js', array( 'jquery' ), '2012-08-04' );
-endif;
-
if ( is_singular() && get_option( 'thread_comments' ) ) wp_enqueue_script( 'comment-reply' );
?>
View
4 js/header.js.php
@@ -4,10 +4,6 @@
$( '.menu' ).tinyNav();
- <?php if ( is_singular() ) : ?>
- $( '.entry-photo a, .gallery a:has( img ), .entry-content a:has( img )' ).colorbox( { rel: 'gallery' } );
- <?php endif ?>
-
<?php do_action( 'ar2_custom_scripts' ) ?>
} );

2 comments on commit 25e0365

@sennewood

The /css/colorbox.css still exist.

@zyml
Owner

Yup, just holding on to the files to see if we need them later on. If there's no need for it, they will be gone by the beta release of 2.0.1.

Please sign in to comment.