Viewing 1 reply thread
  • Author
    Posts
    • #4420
      Anonymous
      Inactive

      Hi,

      I’ve created a field that displays in the general settings tab. However, the field doesnt appear to save. The code I have used is below, do I need to specify the scope? Is so what is the scope for wp_options table?

      <?php
      /*
      Title: Business Settings
      Setting: general
      */
      piklist(‘field’, array(
      ‘type’ => ’email’
      ,’field’ => ‘contact_email’
      ,’label’ => ‘Email Address’
      ,’description’ => __(‘This address is used for contact purposes and is visable on the website’)
      ));

      Thanks!

    • #4428
      Steve
      Keymaster

      @hartey11– Welcome to the Piklist Community!

      Please make sure this code is in your /parts/settings/ folder.

      If it is and it’s still not working, please zip up your plugin and email to [email protected] so we can debug it for you.

Viewing 1 reply thread
  • You must be logged in to reply to this topic.