• Resolved jmaubert75

    (@jmaubert75)


    Hello,

    As mentionned in jtrollia’s thread, I have similar problems regarding custom fields.
    It seems that they do not register at all. No trace in the database.

    Even when I use the basic example you give in the docs.

    add_action( 'wpas_submission_form_inside_after_subject', 'my_upload_field_frontend', 1 );
    function my_upload_field_frontend() {
       wpas_add_custom_field( 'my_custom_field',  array( 'title' => __( 'My Custom Field', 'awesome-support' ) ) );
    }

    Same if I use the plugins_loaded action hook :

    add_action( 'plugins_loaded', 'wpas_user_custom_fields' );
    function wpas_user_custom_fields() {
      if ( function_exists( 'wpas_add_custom_field' ) ) {
          wpas_add_custom_field( 'my_custom_field',  array( 'title' => __( 'My Custom Field', 
      'awesome-support' ) ) );
      }
    }

    In the first case, fields show up in the form.
    In the second case, it does not.
    But in both case, nothing is saved in the database.

    The custom field metabox in the admin area exists but remains empty.

    Thanks for your Help,
    JM

    • This topic was modified 7 years, 3 months ago by jmaubert75.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter jmaubert75

    (@jmaubert75)

    Hello everybody,

    Could you please take a look at this issue ?

    Thanks.
    Jean-Marc

    Thread Starter jmaubert75

    (@jmaubert75)

    Hey guys,

    I realize this is not premium support, but it’s been a long time and you’ve already answered several more recent issues.

    You could have said something like “it’s a tricky question” or “we’re looking into it”, but ignoring the question does not encourage me to buy the product (which I’m considering, but I’d like that issue resolved before doing so).

    Would you please take a look ?

    Thanks.

    Plugin Author awesomesupport

    (@awesomesupport)

    Hi:

    I guess the first thing to check would be to make sure something else isn’t getting in the way of your functions. Is it possible to try them on a clean version of WP with only Awesome Support installed, the 2016/15 theme and just the custom field function calls?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Cannot save custom fields’ is closed to new replies.