Support » Plugin: Kirki Customizer Framework » Pull in the setting sections via include?

  • Resolved bchalker


    First off. Thank you so much for the work you do on this plugin. I’m getting more comfortable working within it’s structure (coming from OptionTree), and love that it’s integrated so well with how WP does things native.

    I’m finding that I have quite a few sections to juggle, as well as the affiliated controls. I would like to break up my sections/panels into individual includes, then pull them into the config file. Is this possible? Would make maintaining so much smoother for me.

    Also, I want to make sure I am doing this with the best setup:
    I have a multisite environment. Subsite admins need to be able to access and mod as they like. I have it set up as a plugin that is activated on each site.

Viewing 1 replies (of 1 total)
  • Plugin Author Ari Stathopoulos


    Hello there!
    Sure, it’s possible to separate the sections in files. You shouldn’t have any issues with that…
    All you have to do is create your files, add your controls on each one of them, and then include them in your functions.php file (assuming you’re using it in a theme).
    Still a WIP, but I’m creating a section for each control there.
    The controls are in the /controls folder and they are all included in functions.php

    As for multisite, if you want all your sites to have Kirki available you could simply network-activate the plugin – or even add it in mu-plugins.

Viewing 1 replies (of 1 total)
  • The topic ‘Pull in the setting sections via include?’ is closed to new replies.