Support » Plugin: Developer's Custom Fields » [Plugin: Developer's Custom Fields] custom fields display on fresh install of my

  • For my school project, I am creating a theme that ships ACF and Thematic Options Panel plugins as a part of the theme. As user installs this theme, I am using TGM activator class to prompt users to install these 2 plugins. Thematic plugin shows all the custom options that I have added to the theme but ACF doesnt bring up the custom fields that I have set up inside this plugin (using the front-end).

    I am now wondering if I should try developers custom fields instead of ACF. Will it be possible to display the custom fields in a template as user installs my theme?

    http://wordpress.org/extend/plugins/developers-custom-fields/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Steve Taylor

    (@gyrus)

    I’m not sure I completely understand the question – I’ve not done any bundling of plugins with themes myself. But I’m guessing that you define the custom fields in ACF with a GUI, and they’re stored in the database – and maybe that information isn’t as portable as you’d like?

    For Developer’s Custom Fields, you define custom fields with PHP code in your theme (or possibly plugin). See http://sltaylor.co.uk/wordpress/plugins/slt-custom-fields/docs/#functions-boxes-fields. So, you should be able to ship your theme’s custom fields as part of the theme package easily. Most settings, too – I’ve coded the plugin intentionally with no GUI, so no options are stored in the database.

    Hope this answer helps!

    This’s brilliant! Thank you so much Steve.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Developer's Custom Fields] custom fields display on fresh install of my’ is closed to new replies.