WordPress.org

Ready to get started?Download WordPress

Forums

Calling a gallery within a custom post, from a main taxonomy page (2 posts)

  1. monkeybroth
    Member
    Posted 1 year ago #

    Hi,

    I wonder if any of you could help me on this,
    Currently I have a custom post type, its taxonomy page lists all the custom posts.
    I've also set up a gallery in each custom post.

    What I'm trying to do is, when I click on the link from the listing, it pulls up the gallery from that post.

    So far I'm able to do this with a 'single-' template. The tricky part is I'm trying to display the gallery within jQuery lightbox.

    echo '<li><a href="'. get_permalink() .'"rel="lightbox"> etc etc would of course pull up a lightbox but it'll just stay loading. the get_permalink is trying to pull the whole post i suppose.

    what do i have to do in order to achieve this? any ideas?

  2. monkeybroth
    Member
    Posted 1 year ago #

    to be more specific, when I click on the link, i'd like a lightbox to appear displaying the gallery slideshow from that post immediately, bypassing showing the whole post

Topic Closed

This topic has been closed to new replies.

About this Topic