Title: Template and PHP Code
Last modified: August 22, 2016

---

# Template and PHP Code

 *  [mar268](https://wordpress.org/support/users/mar268/)
 * (@mar268)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/template-and-php-code/)
 * Hi,
    I am trying to use this plugin along with videocraft theme template file
   which has got both PHP Code and static HTML in it. I want to wrap a large section
   of the template file. with do_shortcode for this plugin but it does not seem 
   to work. Can this plugin be used for complex template files ?
 * Thank you.
 * [https://wordpress.org/plugins/custom-content-by-country/](https://wordpress.org/plugins/custom-content-by-country/)

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

 *  Plugin Author [Paul](https://wordpress.org/support/users/paultgoodchild/)
 * (@paultgoodchild)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/template-and-php-code/#post-5342577)
 * Unfortunately it’s not built to be properly usable directly in PHP…
 * I have the intention/plan to implement this with a future release, but finding
   to time capacity to dedicate to this is hard at the moment with the work ongoing
   with the WordPress Simple Firewall plugin and iControlWP.
 * It will come, but I don’t have an ETA, sorry.
    Thanks, Paul.
 *  [one3rdnerd](https://wordpress.org/support/users/one3rdnerd/)
 * (@one3rdnerd)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/template-and-php-code/#post-5342764)
 * Any update on this feature? Sometimes when I have only access to hooks to add
   custom meta data and want to be able to control geo access. Would be cool as 
   I could maybe use this and have two buy now links in an affiliate product in 
   WooCommerce and serve one to US and one to the rest of the world.
 * Any idea on an ETA yet?
 * Thanks 🙂 Keep up the good work.
 *  Plugin Author [Paul](https://wordpress.org/support/users/paultgoodchild/)
 * (@paultgoodchild)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/template-and-php-code/#post-5342765)
 * We don’t really have the capacity to focus on this at the moment, but we have
   the thing designed out.
 * Would this sort of functionality and more be something you, or any one else, 
   would be willing to pay for as a premium plugin?
 * Cheers,
    Paul.
 *  [SAINC](https://wordpress.org/support/users/sainc/)
 * (@sainc)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/template-and-php-code/#post-5342774)
 * Hello Paul,
 * I’d be willing to pay for this as a premium plugin. There are some plugins that
   have shortcodes for regular page building but none for template / PHP solutions.
   Now my only solution is to dissect one of these plugins and get it working on
   my own.

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

The topic ‘Template and PHP Code’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/custom-content-by-country.svg)
 * [Custom Content by Country (by Shield Security)](https://wordpress.org/plugins/custom-content-by-country/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/custom-content-by-country/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/custom-content-by-country/)
 * [Active Topics](https://wordpress.org/support/plugin/custom-content-by-country/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/custom-content-by-country/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/custom-content-by-country/reviews/)

## Tags

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

 * 4 replies
 * 4 participants
 * Last reply from: [SAINC](https://wordpress.org/support/users/sainc/)
 * Last activity: [10 years, 9 months ago](https://wordpress.org/support/topic/template-and-php-code/#post-5342774)
 * Status: not resolved