Generating Galleries within a template via shortcode
-
I’m not really sure how to go about this, but I’m hoping someone here will be able to give me a hand…
Here is my code for the template in question:
<?php get_header('Energy'); ?> <div class="two-thirds first"> <?php echo do_shortcode('[scrollGallery id=1]'); ?> </div> <div class="one-thirds, energyGallery"> ENERGY PERSONNEL | <a href="?????">Clicking here generates [scrollGallery id=2] where scrollGallery1 currently exists</a> | <a href="?????">Clicking here generates [scrollGallery id=3] where scrollGallery1 currently exists</a> | <a href="?????">Clicking here generates [scrollGallery id=4] where scrollGallery1 currently exists</a> </div>
So the template obviously splits the pate into 2/3rds and 1/3rds. In the 2/3rd section it automatically generates Gallery 1… On the right side its links to “Sub Galleries”.. My question is how do I get the link to propagate in the same page without creating a separate template for each page.?
I know I just must be thinking about this wrong… Hopefully someone can help me wrap my mind around this.
Thanks in advance!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Generating Galleries within a template via shortcode’ is closed to new replies.