Title: code to enter in php file
Last modified: August 24, 2016

---

# code to enter in php file

 *  Resolved [Studio239](https://wordpress.org/support/users/studio239/)
 * (@studio239)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/code-to-enter-in-php-file/)
 * Because of some customization, rather than embedding the shortcode on the page,
   I need to enter it on the php file. Can you provide the php code for the following:
   [
   recentposts-carousel columns=”5″ number=”1″ image=”yes”]
 * Thank you!
 * [https://wordpress.org/plugins/cr3ativ-post-carousel/](https://wordpress.org/plugins/cr3ativ-post-carousel/)

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

 *  Plugin Author [akyusa01](https://wordpress.org/support/users/akyusa01/)
 * (@akyusa01)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/code-to-enter-in-php-file/#post-6117578)
 * You would want to do something like this:
 * `<?php echo do_shortcode( '[recentposts-carousel columns="5" number="1" image
   ="yes"]' ); ?>`
 *  Plugin Author [akyusa01](https://wordpress.org/support/users/akyusa01/)
 * (@akyusa01)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/code-to-enter-in-php-file/#post-6117602)
 * closing due to inactivity

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

The topic ‘code to enter in php file’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/cr3ativ-post-carousel_386ebf.svg)
 * [Cr3ativ RecentPosts Carousel](https://wordpress.org/plugins/cr3ativ-post-carousel/)
 * [Support Threads](https://wordpress.org/support/plugin/cr3ativ-post-carousel/)
 * [Active Topics](https://wordpress.org/support/plugin/cr3ativ-post-carousel/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cr3ativ-post-carousel/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cr3ativ-post-carousel/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [akyusa01](https://wordpress.org/support/users/akyusa01/)
 * Last activity: [10 years, 9 months ago](https://wordpress.org/support/topic/code-to-enter-in-php-file/#post-6117602)
 * Status: resolved