how to combine 2 php codes
-
Hello
I want to display custom gallery in single.php and to add the code in custom fields [nggallery id=x], each post will have different gallery, but i want to use the gallery in php not in post content.
Want to combine these 2 codes to be one:
<?php echo do_shortcode('[nggallery id=1]'); ?> <?php echo get_post_meta($post->ID, 'nextgen', true); ?>
Many thanks
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘how to combine 2 php codes’ is closed to new replies.