Support » Plugin: Lightbox Plus Colorbox » Display Single Posts in Lightbox

  • Looking for some help here, searched topics and didn’t come up with much but that’s likely due to me being horrifically incapable of explaining myself properly.

    I’m trying to get my single posts to appear in a lightbox. This is in a template that only shows Women’s category blog posts (not the default page, it has to look like a completely separate blog) as the Men’s category takes up the main blog.

    Using Lightbox Plus because it looks like one of the more flexible plugins.

    <?php query_posts('category_name=women'); ?>
    		<?php while (have_posts()) : the_post(); ?>
        <a class="lbp-inline-link-1 cboxElement" href="#" id="dess-blog">
        <h1 class="entry-title">
          <?php the_title(); ?>
        <div class="sml-thumb">
          <?php the_post_thumbnail( array(250,300) ); ?>
        <div style="display: none;">
        <div id="lbp-inline-href-1" style="padding:10px; background: #fff;">
        	  <h1 class="entry-title"><?php the_title(); ?></h1>
          	<div class="entry-meta">
        			<?php sambo_entry_meta(); ?>
        			<?php edit_post_link( __( 'Edit', 'sambo' ), '<span class="edit-link">', '</span>' ); ?>
        		</div><!-- .entry-meta -->
          <div class="entry-thumbnail">
        			<?php the_post_thumbnail(); ?>
        <?php the_content(); ?>
    <?php endwhile; ?>

    I know, I know, it’s so bad and messy and I’ve just hacked this thing to pieces. Anyone have any suggestions?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Did you find any solution?

    Plugin Author Dan Zappone


    There are a couple of options. One you could use the per page/post option which should load it just on the pages and post you want. Alternately, I’d suggest disabling the automatic lightbox options and then just manually adding the lightbox code to the links.

    Ok, thanks. As I couldn’t find a plugin that fits my needs, I have done everything manually and implemented fancyBox 2 in my plugin where I need this function.

    I’m baffled as to how to get this to work..the settings seem pretty straightforward, but they don’t seem to actually do anything after I click them.

    In your answer above you mention some code that can enable lightbox to work on a per-image basis..what is that code?

    thank you!


Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Display Single Posts in Lightbox’ is closed to new replies.