• I need to change few things to make this work and send data to Highrise.

    in highrise.php I changed code around line 417 to:

    if ($label == 'First name') {
    $data['sFirstName'] = $value;
    } else if ($label == 'Last name') {
    $data['sLastName'] = $value;

    this is in
    //handling single-input fields such as text and paragraph (textarea)
    block

    Of course, I have fields named “First name” and “Last name”. Now as name is submitted Highrise will accept your data.

    To insert custom fields, they have to exist in Highrise and label must be exactly the same…

    Also in HighriseAPI.php change
    if(!empty($value) && isset($custom_fields[esc_html($key)])) {
    to
    if(!empty($value) && isset($custom_fields[sanitize_user($key)])) {
    so you can use special characters in label (like pound sign…)

    https://www.ads-software.com/extend/plugins/wp-highrise-contact/

  • The topic ‘[Plugin: WP Highrise Contact] Fixing the plugin’ is closed to new replies.