WordPress.org

Ready to get started?Download WordPress

Forums

upPrev
[resolved] Development questions (2 posts)

  1. angeloio
    Member
    Posted 1 year ago #

    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/

  2. Marcin Pietrzak
    Member
    Plugin Author

    Posted 1 year ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic