Title: Development questions
Last modified: August 20, 2016

---

# Development questions

 *  Resolved [angeloio](https://wordpress.org/support/users/angeloio/)
 * (@angeloio)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/development-questions/)
 * Dear Marcin, dear all,
 * First of all thank you for a wonderful plugin and a GREAT support forum.
    I am
   testing the plugin, but I am new to wordpress API so please allow me one very
   short questions and help me if you want.
 * Marcin has some wonderful tips and code snipsets for example the iworks-upprev-
   static-content.php code. Also some codes in the FAQ section. May I ask **WHERE**
   this code should be inserted ? Into upprev.php file or in a file on its own in
   the includes/ sub dir ? Or somewhere else ?
 * I don’t know if this is a silly question, I apologize if it is but please guide
   me if you can
 * Many thanks in advance
    John
 * [http://wordpress.org/extend/plugins/upprev/](http://wordpress.org/extend/plugins/upprev/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Marcin Pietrzak](https://wordpress.org/support/users/iworks/)
 * (@iworks)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/development-questions/#post-3274970)
 * Yep. It is great question. I forgot that what is obvious to me, for others it
   may not be.
 * Where to put this code?
 * There are three ways:
    1. made a one-file-plugin and put file into `wp-content/plugins`, then turn it 
       on
    2. made a one-file-plugin and put file into `wp-content/mu-plugins`
    3. put this code into `function.php` in current theme
 * I recommend using option 1 or 2, but 3 is the easiest.

Viewing 1 replies (of 1 total)

The topic ‘Development questions’ is closed to new replies.

 * ![](https://ps.w.org/upprev/assets/icon.svg?rev=1268272)
 * [upPrev](https://wordpress.org/plugins/upprev/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/upprev/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/upprev/)
 * [Active Topics](https://wordpress.org/support/plugin/upprev/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/upprev/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/upprev/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Marcin Pietrzak](https://wordpress.org/support/users/iworks/)
 * Last activity: [13 years, 6 months ago](https://wordpress.org/support/topic/development-questions/#post-3274970)
 * Status: resolved