How to create custom fields in customizer?

Asked on August 25, 2015 in Development.

hello people, is there any documentation or support which can create custom fields such as: Width Header / Logo position and Menu. grateful

murilo.gcn Layers User
Reply
  • Possible Answers to Your Question:

  • 1 Answer(s)
    Answered on August 27, 2015.

    Hi there,
    There is no special way to do this as far as the meta handling is concerned. We do provide a framework for the form and form elements itself that you can hook into though. See the following:

    layers_form_elements()
    input()

    If you are working on a single site install and not a theme/extension, you might find it easier to work with a plugin such as Advanced Custom Fields.

    If you meant how to add custom controls in the Customizer, see the following:

    Adding Customizer Controls

    Reply