I am displaying a custom template on my homepage by using the code:
<?php echo do_shortcode('[album id=1 template=homepage]'); ?>
Which works great and displays the Image and Title, however the Gallery URL ($gallery->pagelink URL) is getting mixed up with a previous URL and not linking to the correct place.
Does anyone know of a solution or an alternative way of getting the Gallery URL?
Thanks in advance!