Title: jdf0's Replies | WordPress.org

---

# jdf0

  [  ](https://wordpress.org/support/users/jdf0/)

 *   [Profile](https://wordpress.org/support/users/jdf0/)
 *   [Topics Started](https://wordpress.org/support/users/jdf0/topics/)
 *   [Replies Created](https://wordpress.org/support/users/jdf0/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/jdf0/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/jdf0/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/jdf0/engagements/)
 *   [Favorites](https://wordpress.org/support/users/jdf0/favorites/)

 Search replies:

## Forum Replies Created

Viewing 11 replies - 1 through 11 (of 11 total)

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Lightbox not working :(](https://wordpress.org/support/topic/lightbox-not-working-12/)
 *  Thread Starter [jdf0](https://wordpress.org/support/users/jdf0/)
 * (@jdf0)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/lightbox-not-working-12/page/2/#post-3810718)
 * Eureka! I found out the problem!
 * So I did as you stated, esmi. I tried 2012 theme again and the lightbox was working
   on there.
 * I realized my custom theme did NOT have wp_head and wp_footer! The two most important
   hooks for plugins to work.
 * I put those hooks into my theme in the appropriate places, turned Lightbox Gallery
   plugin back on (turned off other lightbox plugins) and it worked) 😀
 * Thanks for your help, I really appreciate it.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Lightbox not working :(](https://wordpress.org/support/topic/lightbox-not-working-12/)
 *  Thread Starter [jdf0](https://wordpress.org/support/users/jdf0/)
 * (@jdf0)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/lightbox-not-working-12/page/2/#post-3810569)
 * Please read what I posted before.
 * The one I am USING as an example is part of my custom theme. But I just wanted
   to keep you in the loop that I have tried plugins and they have the same problem
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Lightbox not working :(](https://wordpress.org/support/topic/lightbox-not-working-12/)
 *  Thread Starter [jdf0](https://wordpress.org/support/users/jdf0/)
 * (@jdf0)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/lightbox-not-working-12/#post-3810556)
 * I have tried all of them with the other lightbox plugins disabled so they do 
   not conflict. Even with only one on and the other disabled, same problem
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Lightbox not working :(](https://wordpress.org/support/topic/lightbox-not-working-12/)
 *  Thread Starter [jdf0](https://wordpress.org/support/users/jdf0/)
 * (@jdf0)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/lightbox-not-working-12/#post-3810555)
 * I tried both routes. They did not work for some reason. I did that custom lightbox
   from the site I posted in my original post. I’ve tried the lightbox plugins (
   prettyphoto, lightbox 2, lightbox gallery, etc). they all have the same problem:(
   the images dont open in a lightbox, they open in another img window
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Lightbox not working :(](https://wordpress.org/support/topic/lightbox-not-working-12/)
 *  Thread Starter [jdf0](https://wordpress.org/support/users/jdf0/)
 * (@jdf0)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/lightbox-not-working-12/#post-3810527)
 * ^^I wrote in the post prior that I do have 2012 and I tested it…
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Lightbox not working :(](https://wordpress.org/support/topic/lightbox-not-working-12/)
 *  Thread Starter [jdf0](https://wordpress.org/support/users/jdf0/)
 * (@jdf0)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/lightbox-not-working-12/#post-3810512)
 * It comes out in it’s uncompressed, image size. No light box either
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Lightbox not working :(](https://wordpress.org/support/topic/lightbox-not-working-12/)
 *  Thread Starter [jdf0](https://wordpress.org/support/users/jdf0/)
 * (@jdf0)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/lightbox-not-working-12/#post-3810511)
 * DO you mean “twenty twelve”? lol please wait while I see how it looks
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Lightbox not working :(](https://wordpress.org/support/topic/lightbox-not-working-12/)
 *  Thread Starter [jdf0](https://wordpress.org/support/users/jdf0/)
 * (@jdf0)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/lightbox-not-working-12/#post-3810505)
 * Are you talking about switching the themes? I do not have a “2012” theme in the
   themes area….
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Lightbox not working :(](https://wordpress.org/support/topic/lightbox-not-working-12/)
 *  Thread Starter [jdf0](https://wordpress.org/support/users/jdf0/)
 * (@jdf0)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/lightbox-not-working-12/#post-3810495)
 * I don’t quite understand what you mean by “2012 theme”? I built this theme by
   hand.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Lightbox not working :(](https://wordpress.org/support/topic/lightbox-not-working-12/)
 *  Thread Starter [jdf0](https://wordpress.org/support/users/jdf0/)
 * (@jdf0)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/lightbox-not-working-12/#post-3810488)
 * Here’s the HTML I put for the page:
 *     ```
       <br />
       <div id="page"><br />
         <div id="images"></p>
       <p>   <ul class="gallery"></p>
       <p>    <a href="http://www.kumarsapra.com/wp-content/uploads/2013/05/Ujjwal-Sapra-2.jpg" rel="lightbox">
       <li><img src="http://www.kumarsapra.com/wp-content/uploads/2013/05/Ujjwal-Sapra-2.jpg" alt="description" /></li>
       <li><img src="img/photo02.jpg" alt="description" /></li>
       <li><img src="img/photo03.jpg" alt="description" /></li>
       <li><img src="img/photo04.jpg" alt="description" /></li>
       <li><img src="img/photo05.jpg" alt="description" /></li>
       <li><img src="img/photo06.jpg" alt="description" /></li>
       <li><img src="img/photo07.jpg" alt="description" /></li>
       <li><img src="img/photo08.jpg" alt="description" /></li>
       <li><img src="img/photo09.jpg" alt="description" /></li>
       <li><img src="img/photo10.jpg" alt="description" /></li>
       <li><img src="img/photo11.jpg" alt="description" /></li>
       <li><img src="img/photo12.jpg" alt="description" /></li>
       <li><img src="img/photo13.jpg" alt="description" /></li>
       <li><img src="img/photo14.jpg" alt="description" /></li>
       <li><img src="img/photo15.jpg" alt="description" /></li>
       <li><img src="img/photo16.jpg" alt="description" /></li>
       <li><img src="img/photo17.jpg" alt="description" /></li>
       <li><img src="img/photo18.jpg" alt="description" /></li>
       <li><img src="img/photo19.jpg" alt="description" /></li>
       <li><img src="img/photo20.jpg" alt="description" /></li>
       <p> </div><br />
       </div></p>
       <p></a>
       ```
   
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Lightbox not working :(](https://wordpress.org/support/topic/lightbox-not-working-12/)
 *  Thread Starter [jdf0](https://wordpress.org/support/users/jdf0/)
 * (@jdf0)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/lightbox-not-working-12/#post-3810486)
 * Yes, all of the plugins are deactivated before I started working on it.

Viewing 11 replies - 1 through 11 (of 11 total)