Support

Account

Home Forums General Issues Creating fields in lite mode

Solved

Creating fields in lite mode

  • Hi and first of all thanks for the great plugin.

    I’m terribly sorry if I just missed it but I can’t seem to find instruction on how to add fields to my theme in the lite mode.

    I recall I saw a code example on forums once, but can’t find the topic now. Could you please point me to the page / topic where I can find some instructions on this.

    Also a question about lite mode if you don’t mind: does it load that unnecessary WP-admin functionality and then hides it? Or just it load only necessary code for fields to work?

    Thanks!

  • Hi @Mr. Hyde

    I think you will find this doc very helpful:
    http://www.advancedcustomfields.com/resources/getting-started/including-lite-mode-in-a-plugin-theme/

    Basically, you need to ‘NOT enable’ LITE mode, create your fields, export them to PHP, include them in your functions.php file and then enable LITE mode.

    LITE mode will prevent the wp-admin files from being loaded.

    Does that help?

    Thanks
    E

  • Elliot, thanks!

    Actually I missed that line about PHP, my apologies. It’s that easy and I was expecting to be creating something like PHP array so didn’t think it could be explained with one line 🙂

Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘Creating fields in lite mode’ is closed to new replies.