Forums

Linking Filterable thumbnails to Lightbox Gallery (1 post)

  1. daniellecarrick
    Member
    Posted 4 months ago #

    Right now, I have a Filterable portfolio on my "Portfolio Page". Each piece/series in the portfolio has it's own thumbnail that links to the post with a gallery of images. So, clicking on a thumbnail takes you to a new page. Instead of linking to a different page, I want the gallery to appear above the thumbnails in a lightbox on the portfolio page.

    Here is a snippet of code that shows how the thumbnail is being linked.

    <li class="<?php echo $catSlug;  ?>">
                      	  <a href="<?php the_permalink() ?>" title="<?php the_title(); ?>" target="_top"><?php the_post_thumbnail(); ?></a>
                       	 <p><?php the_title(); ?></p>
                    </li>

    How can I link to a Lightbox Gallery instead?

    Thanks in advance!

Reply

You must log in to post.

About this Topic

  • RSS feed for this topic
  • Started 4 months ago by daniellecarrick
  • This topic is not resolved
  • WordPress version: 3.3