Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
adding gallery to page
#2
liverdude Wrote:Hello:
What I would like to do is define the gallery in the actual custom field in the page and have the template look for this and display what ever gallery name I define in the page.

If I understand you correctly, you should use a custom (text) field galleryname and then add the following code to your template:
Code:
<div><?php gallery(return_custom_field('galleryname')); ?></div>
I18N, I18N Search, I18N Gallery, I18N Special Pages - essential plugins for multi-language sites.
Reply


Messages In This Thread
adding gallery to page - by liverdude - 2011-04-16, 06:14:44
adding gallery to page - by mvlcek - 2011-04-16, 06:37:47
adding gallery to page - by liverdude - 2011-04-16, 06:59:25
adding gallery to page - by liverdude - 2011-04-20, 02:11:43



Users browsing this thread: 1 Guest(s)