craigiswayne/kirki-json-config

This package is abandoned and no longer maintained. No replacement package was suggested.

Create the Kirki Configuration for fields, sections and panels via a JSON file

This package has no released version yet, and little information is available.


README

Latest Stable Version Total Downloads composer.lock available License

Allows you to setup kirki fields using a JSON config schema

Basic Example

place the following (barebones) kirki.json file into your ABSPATH (web root) or STYLESHEETPATH (theme folder)

{
  "panels": [
    {
      "sections": [
        {
          "fields": [
            {
              "type"        : "image",
              "settings"    : "fixed_background_image",
              "default"     : "https://via.placeholder.com/1440x960"
            }
          ]
        }
      ]
    }
  ]
}

Options

  • Customize the Panel Title
    {
    "panels": [
      {
        "title": "My Custom Panel Title"
      }
    ]
    }