Tagged: corona, disable, Lightbox, Portfolio Viewing 2 posts - 1 through 2 (of 2 total) Author Posts March 20, 2012 at 7:01 pm #10555 lindsayclinecoParticipant Much of the time I only have one image and it seems pointless to have the lightbox for my site. How can I disable this function in the theme? Thanks! March 21, 2012 at 7:01 pm #68495 DevinModerator Hi lindsayclineco, Open up the header.php file located in your main theme folder. Search for wp_enqueue_script( 'avia-prettyPhoto' ); and replace it with /* wp_enqueue_script( 'avia-prettyPhoto' );*/ If your images still have links, they will open up in a new window by themselves so make sure to select “None” for the Link URL when inserting an image. Author Posts Viewing 2 posts - 1 through 2 (of 2 total) The topic ‘How do I disable the Lightbox in Portfolio Items’ is closed to new replies.