Support » Plugin: upPrev » Development questions

  • Resolved angeloio


    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

Viewing 1 replies (of 1 total)
  • Plugin Author Marcin Pietrzak


    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.