Photo Gallery in the footer
-
Hi!
I am struggling with adding photo gallery to the footer:
1) First I have created gallery and added it to the page using:
<p>[Best_Wordpress_Gallery id="2" gal_title="Galeria Testowa"]</p>
. Using photo gallery interface I have set all settings.
2) Next I have added the following to the footer file:
<?php echo do_shortcode('[Best_Wordpress_Gallery id="2" gal_title="Galeria Testowa"]')
?>
3) Till now it works perfectly
4) But because I need gallery to have only in the footer, I removed it from the page (<p>[Best_Wordpress_Gallery id="2" gal_title="Galeria Testowa"]</p>
) leaving it in the footer.
5) And now Photo Gallery in the footer seems to forgot all setting I set in the first point.
6) Interesting thing is that, after restoring<p>[Best_Wordpress_Gallery id="2" gal_title="Galeria Testowa"]</p>
back on my page all settings are remembered.
I understand that possibly it is not problem in having same gallery on the page because all settings for gallery with id=2 are somewhere remembered.How to insert Photo Gallery to the footer with given settings without having it in any page?
- The topic ‘Photo Gallery in the footer’ is closed to new replies.