-
AuthorPosts
-
January 23, 2015 at 12:47 pm #190177
Terribly sorry about that. Don’t know why it didn’t go through in making the new user, but the admin login should work now. Also the child theme that I’m using is the Icon one. Let me know if there are other issues. Thanks!
January 24, 2015 at 2:59 pm #190862Hi Bryan,
Please check, I changed the coding to just this.
add_action('wp_footer', 'enqueue_lightbox_script'); function enqueue_lightbox_script() { if ( x_is_portfolio() ) : ?> <script type="text/javascript" src="<?php echo home_url(); ?>/wp-content/plugins/x-shortcodes/js/dist/site/vendor-ilightbox.min.js"></script> <script type="text/javascript"> jQuery(function( $ ){ $( '.entry-featured a img' ).each( function(){ $( this ).parent().attr('href', $(this).attr('src') ).iLightBox({skin: "light",linkId: "gallery-image",overlay: {opacity: 0.875,blur: true},styles: {prevScale: 0.75,prevOpacity: 0.75,nextScale: 0.75,nextOpacity: 0.75},path: "horizontal",controls: {thumbnail: false}}); } ) }); </script> <?php endif; }
Cheers!
January 27, 2015 at 2:08 pm #192921It did exactly what it’s supposed to for the blog, but just today I discovered that you’ve broken the functionality of the portfolio. When you open an image in a lightbox you cannot go left or right to go to other images, and furthermore it breaks and you cannot exit out of the lightbox.
This needs to be addressed immediately or I’ll have to revert to the previous code because it’s more important that the portfolio doesn’t completely break than the blog being perfect. This could lose me potential clients. I was about to send out emails to prospective clients telling them to check out our website. I’m glad I discovered this first!
Please see what you can do. Thank you for your attention.
-Bryan
January 27, 2015 at 2:11 pm #192923To specify, look at any of the portfolio galleries like http://cooperandohara.com/portfolio/featured/ or http://cooperandohara.com/stories-editorial-photography/ etc.
You can close the lightbox if you don’t do anything like use the right or left keys to try and navigate first. But still I think most people will try that and get the page frozen.
January 27, 2015 at 3:31 pm #192969For the time being I reverted the functions.php to a coding that made the portfolio work. Just because I know your support team is busy and it might take awhile for them to get around to it. Hope it doesn’t impact your work much when you get around to it. Thanks!
-Bryan
January 28, 2015 at 9:09 am #193466Hi there,
You have cache plugin activated.
Please disable it and clear browser cache and test again.Hope that helps.
-
AuthorPosts