Calling a gallery within a custom post, from a main taxonomy page
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?
- The topic ‘Calling a gallery within a custom post, from a main taxonomy page’ is closed to new replies.