Title: Inserting vairable
Last modified: August 21, 2016

---

# Inserting vairable

 *  Resolved [keshavnaidu](https://wordpress.org/support/users/keshavnaidu/)
 * (@keshavnaidu)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/inserting-vairable/)
 * Please Help someone,
 * I have to insert the **variable** in this
    `<?php if ( function_exists( 'meteor_slideshow')){
   meteor_slideshow( '' ); } ?>`
 * Some what like this :
 * `<?php if ( function_exists( 'meteor_slideshow' ) ) { meteor_slideshow( '<strong
   >$sldname</strong>' ); } ?>`
 * _[Moderator Note: Please post code & markup between backticks or use the code
   button. Your posted code may now have been permanently damaged by the forum’s
   parser.]_
 * Please help me for correct syntax.
    Thanks in advance.
 * [http://wordpress.org/plugins/meteor-slides/](http://wordpress.org/plugins/meteor-slides/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Josh Leuze](https://wordpress.org/support/users/jleuze/)
 * (@jleuze)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/inserting-vairable/#post-4301045)
 * Hi, not sure if the strong tags are forum formatting or not, but don’t put any
   markup in that function.
 * To specify a slideshow, make sure you maintain the correct formatting. There 
   should be two parameters for the function, a slideshow, and then metadata, even
   if you only use the first one leave the second one blank:
 *     ```
       <?php if ( function_exists( 'meteor_slideshow' ) ) { meteor_slideshow( "slideshowslug", "" ); } ?>
       ```
   
 * Here’s some more info about [adding multiple slideshows](http://jleuze.com/plugins/meteor-slides/multiple-slideshows/).
 *  Thread Starter [keshavnaidu](https://wordpress.org/support/users/keshavnaidu/)
 * (@keshavnaidu)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/inserting-vairable/#post-4301165)
 * Hello Josh Leuze, Thanks for reply, I dint kept that STRONG tag inside.
    I got
   the solution long time back. here is my code (I was wanted to use custom field
   tag on this)
 * <?php $meteor_slider_slug = get_post_meta( $post->ID, ‘modi-slider’, TRUE );
   
   if ( function_exists( ‘meteor_slideshow’) ) { meteor_slideshow( $meteor_slider_slug,“”);}?
   >
 *  Plugin Author [Josh Leuze](https://wordpress.org/support/users/jleuze/)
 * (@jleuze)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/inserting-vairable/#post-4301166)
 * Good to hear you got it figured it out!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Inserting vairable’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/meteor-slides_0f131a.svg)
 * [Meteor Slides](https://wordpress.org/plugins/meteor-slides/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/meteor-slides/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/meteor-slides/)
 * [Active Topics](https://wordpress.org/support/plugin/meteor-slides/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/meteor-slides/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/meteor-slides/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Josh Leuze](https://wordpress.org/support/users/jleuze/)
 * Last activity: [12 years, 4 months ago](https://wordpress.org/support/topic/inserting-vairable/#post-4301166)
 * Status: resolved