Title: inserting to a php file
Last modified: August 21, 2016

---

# inserting to a php file

 *  Resolved [thulag](https://wordpress.org/support/users/thulag/)
 * (@thulag)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/inserting-to-a-php-file/)
 * I have inserted <?php
    echo do_shortcode(“[metaslider id=8581]”); ?>
 * to my php page but the slider doesn’t work. it just shows all the pics static
   lining up on the side of the website. is there anyway I could get assistance 
   with this?
 * [https://wordpress.org/plugins/ml-slider/](https://wordpress.org/plugins/ml-slider/)

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

 *  [matchalabs](https://wordpress.org/support/users/matchalabs/)
 * (@matchalabs)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/inserting-to-a-php-file/#post-5050573)
 * Hi thulag,
 * It sounds like your theme is missing a call to wp_footer() – please could you
   check the “Top 5 Meta Slider issues and how to fix them” thread at the top of
   this forum?
 * Regards,
    Tom
 *  Thread Starter [thulag](https://wordpress.org/support/users/thulag/)
 * (@thulag)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/inserting-to-a-php-file/#post-5050584)
 * ah thanks! that done the trick! (y)
 *  Thread Starter [thulag](https://wordpress.org/support/users/thulag/)
 * (@thulag)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/inserting-to-a-php-file/#post-5050598)
 * alright mate, just wondering is the call to wp_footer() was the only thing missing?
   because i have tried adding other shortcodes into my php page but they arent 
   working. they’re also showing static text all over the page(instead of showing
   post grids)
 *  [megamenu](https://wordpress.org/support/users/megamenu/)
 * (@megamenu)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/inserting-to-a-php-file/#post-5050599)
 * Hi thulag,
 * Does it work if you put a [metaslider] shortcode into the same place?
 * If not, then it sounds while wherever you’re putting the shortcodes isn’t being
   run through the function that process the shortcodes into HTML.
 * If the [metaslider] shortcode does work then either the grid plugin is broken,
   or the syntax isn’t correct.
 * Hope this helps!
 * Cheers
    Tom
 *  Thread Starter [thulag](https://wordpress.org/support/users/thulag/)
 * (@thulag)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/inserting-to-a-php-file/#post-5050610)
 * it doesnt work. no other plugin works. only the metaslider. do you perhaps have
   a demo for the meta slider posts to tiles ? the pro version

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

The topic ‘inserting to a php file’ is closed to new replies.

 * ![](https://ps.w.org/ml-slider/assets/icon.svg?rev=3523572)
 * [Slider, Gallery, and Carousel by MetaSlider - Image Slider, Video Slider](https://wordpress.org/plugins/ml-slider/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ml-slider/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ml-slider/)
 * [Active Topics](https://wordpress.org/support/plugin/ml-slider/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ml-slider/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ml-slider/reviews/)

 * 5 replies
 * 3 participants
 * Last reply from: [thulag](https://wordpress.org/support/users/thulag/)
 * Last activity: [11 years, 10 months ago](https://wordpress.org/support/topic/inserting-to-a-php-file/#post-5050610)
 * Status: resolved