Title: function within function?
Last modified: August 19, 2016

---

# function within function?

 *  [upheredesign](https://wordpress.org/support/users/upheredesign/)
 * (@upheredesign)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/function-within-function/)
 * Hi,
 * I don’t know enough php markup to make this work.
 * I need to embed a shortcode in a template page with a call to another php function–
 * so I need to put this call:
    `get_listing_galleryid()` in place of the id below.`
   <?php echo do_shortcode('[smooth=id]'); ?>`
 * So that the id which is already identified in my input for great real estate 
   plugin, will automatically be put in the string for the smooth gallery for nextgen.
 * Help?

The topic ‘function within function?’ is closed to new replies.

## Tags

 * [Great Real Estate Plugin](https://wordpress.org/support/topic-tag/great-real-estate-plugin/)
 * [nextgen](https://wordpress.org/support/topic-tag/nextgen/)
 * [php](https://wordpress.org/support/topic-tag/php/)
 * [Smooth Gallery](https://wordpress.org/support/topic-tag/smooth-gallery/)

 * 0 replies
 * 1 participant
 * Last reply from: [upheredesign](https://wordpress.org/support/users/upheredesign/)
 * Last activity: [16 years, 6 months ago](https://wordpress.org/support/topic/function-within-function/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
