Documentation: Folder Structure

Currently, Piklist allows you to create fields for meta-boxes, widgets and settings pages. with more to come soon. By placing your field file within the proper folder, Piklist knows where to create that field (or fields).  To start, just create this folder structure in your Theme or Plugin:

THEME folder structure

  • /theme-folder
    • /piklist
      • /parts
        • /media
        • /meta-boxes
        • /settings
        • /terms
        • /updates
        • /users
        • /widgets

PLUGIN folder structure

  • /plugin-folder
    • /parts
      • /media
      • /meta-boxes
      • /settings
      • /terms
      • /updates
      • /users
      • /widgets

Then drop in the appropriate files in each folder.  For example, any files you drop in the “meta-boxes” folder will be rendered on a Post (or Custom Post Type) page in the WordPress admin. Each file is it’s own metabox, and any fields in that file will display within the metabox.