Title: Display Posts Using Lightbox Effect
Last modified: August 19, 2016

---

# Display Posts Using Lightbox Effect

 *  [swib30](https://wordpress.org/support/users/swib30/)
 * (@swib30)
 * [17 years ago](https://wordpress.org/support/topic/display-posts-using-lightbox-effect/)
 * What I am trying to do is display the post content in a popup lightbox effect.
   I have installed thickbox manually and the effect is working fine; however, I
   cannot get the post content to display properly. You can see the problem if you
   visit my site ([http://www.appgallery.org](http://www.appgallery.org)) and click
   on one of the posts. It will pop up in a thickbox effect, but it only shows the
   content from the first post on the page and duplicates it for all the posts.
 * So what is the correct way to display posts in a lightbox effect? I am currently
   using the “inline” mode of thickbox and this is the code that is giving me the
   duplicate content:
 *     ```
       <div id="thick" class="thickbox-hide">
          <?php the_content(); ?>
       </div>
       ```
   
 * I also tried using the Ajax mode but I couldn’t make it work because none of 
   the functions were defined inside the lighbox. Does anyone know how I would accomplish
   this? Thanks.

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

 *  [jaysonbrown](https://wordpress.org/support/users/jaysonbrown/)
 * (@jaysonbrown)
 * [16 years, 11 months ago](https://wordpress.org/support/topic/display-posts-using-lightbox-effect/#post-1041314)
 * BUMP! I am trying the same thing as well; I am using a version of multi box. 
   The script works perfectly when placed within the loop, however the content hidden
   in the div is always from the first article.
 * I have also tried creating multiple “loops” 7 in total for seven days in the 
   week, and received the same results.
 * I am a designer not a programmer so this is driving me nuts, however I love the
   challenge.
 *  [jasonday](https://wordpress.org/support/users/jasonday/)
 * (@jasonday)
 * [16 years ago](https://wordpress.org/support/topic/display-posts-using-lightbox-effect/#post-1041496)
 * Bump again!
    I need the same thing.
 * I’m creating a one page portfolio site:
    jasondaydesign.com
 * There’s a similar function here, but it pulls all pages, which I don’t need-
   
   Just like: [http://demo.slimmity.com/coffee-junkie/#folio](http://demo.slimmity.com/coffee-junkie/#folio)
 * Thoughts? I tried an ajax simple modal version and it broke cufon and did not
   work.
 * Thanks,
 * Jason Day

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

The topic ‘Display Posts Using Lightbox Effect’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 3 participants
 * Last reply from: [jasonday](https://wordpress.org/support/users/jasonday/)
 * Last activity: [16 years ago](https://wordpress.org/support/topic/display-posts-using-lightbox-effect/#post-1041496)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
