2012-09-18, 23:19:09
Oleg06 Wrote:how to write code to display a gallery page with ID
Code:<?php get_i18n_gallery(array('name'=>'<?php get_page_slug(); ?>')); ?>
If you want to display the gallery with the same name as the current page slug, use
Code:
<?php get_i18n_gallery(array('name'=>return_page_slug())); ?>
Code:
<?php get_i18n_gallery(return_page_slug()); ?>