Title: Insert php code ?
Last modified: August 11, 2017

---

# Insert php code ?

 *  Resolved [tergra](https://wordpress.org/support/users/tergra/)
 * (@tergra)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/insert-php-code-2/)
 * Hi !
 * I am trying to insert php code on my coming soon page to track affiliate visits,
   basically I have the code (it comes from another plugin) but I don’t really know
   where to put it because it does not seem to be interpreted… Or should I add it
   to wp-content/plugins/coming-soon/themes/default/index.php ? I tried an include
   on the php files there but it doesn’t take it into account.
 * Help !
    Thank you 🙂

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

 *  Plugin Author [SeedProd](https://wordpress.org/support/users/seedprod/)
 * (@seedprod)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/insert-php-code-2/#post-9402584)
 * Yeah it would have to be added to the plugins php code.
    wp-content/plugins/coming-
   soon/themes/default/functions.php Add it to the seed_csp4_footer function
 * Cheers!
 *  Thread Starter [tergra](https://wordpress.org/support/users/tergra/)
 * (@tergra)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/insert-php-code-2/#post-9403133)
 * Thanks for your prompt answer, you rock 🙂
    Now if I understood well your plugin
   makes all the other ones inactive while on coming soon mode right ? If want to
   call all the files of a specific plugin, as if it were normally activated, what
   should I do then ?
 *  Plugin Author [SeedProd](https://wordpress.org/support/users/seedprod/)
 * (@seedprod)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/insert-php-code-2/#post-9403251)
 * Yep the free version is sandboxed so it will be stable, the pro version support
   3rd party plugin and shortcodes.
 * ” If want to call all the files of a specific plugin, as if it were normally 
   activated, what should I do then ?”
 * You can use the php function “include” to include any file but it just depends
   what you are trying to do.
 *  Thread Starter [tergra](https://wordpress.org/support/users/tergra/)
 * (@tergra)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/insert-php-code-2/#post-9403798)
 * Thanks for your answer 🙂 That means I can activate the 3rd party plugins I want
   on the pro version right ?
    I have a website (mydomain.com) and also a staging(
   test) website on subdomain.mydomain.com, I guess it all counts as one domain 
   for the pro version license ?
 *  Plugin Author [SeedProd](https://wordpress.org/support/users/seedprod/)
 * (@seedprod)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/insert-php-code-2/#post-9403985)
 * Which plugin are you trying to use with it? The pro version support most all 
   plugin that provide a shortcode.
 * In regards to stating sites we dont’t count domains that have staging, dev or
   test in the against the license count.
 *  Thread Starter [tergra](https://wordpress.org/support/users/tergra/)
 * (@tergra)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/insert-php-code-2/#post-9404584)
 * It’s not a shortcode, I have an affiliate url parameter which should be transformed
   into a cookie by the plugin MyCred, and it doesn’t :/
    So Pro version won’t change
   anything regards this issue I guess ?
 *  Plugin Author [SeedProd](https://wordpress.org/support/users/seedprod/)
 * (@seedprod)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/insert-php-code-2/#post-9404608)
 * I’m not sure you can try it we have a 14 day refund window. It may work, just
   make sure to enable 3rd party plugins under the advanced section in the plugin.
 * Let me know if you have any more questions.
 * thanks

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

The topic ‘Insert php code ?’ is closed to new replies.

 * ![](https://ps.w.org/coming-soon/assets/icon-256x256.png?rev=2402574)
 * [Website Builder by SeedProd — Theme Builder, Landing Page Builder, Coming Soon Page, Maintenance Mode](https://wordpress.org/plugins/coming-soon/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/coming-soon/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/coming-soon/)
 * [Active Topics](https://wordpress.org/support/plugin/coming-soon/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/coming-soon/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/coming-soon/reviews/)

## Tags

 * [php code](https://wordpress.org/support/topic-tag/php-code/)

 * 7 replies
 * 2 participants
 * Last reply from: [SeedProd](https://wordpress.org/support/users/seedprod/)
 * Last activity: [8 years, 9 months ago](https://wordpress.org/support/topic/insert-php-code-2/#post-9404608)
 * Status: resolved