Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Plugin: [REL] Signature


citizenkeith
Participant

@citizenkeith

In functions.php, find the get_profile_info_keys() function, which should be on or around line 1761. In the line that starts with array(‘user_email’…, add the following code before the last “)” in the line. Note the comma.

, 'sig' => array(0, __('Signature'))'

Hmm… I can’t seem to get this to work. I’ve followed your instructions, but it doesn’t show up in the Edit Profile area. Here’s my code for that section of functions.php:

//meta_key => (required?, Label).  Don't use user_{anything} as the name of your meta_key.
function get_profile_info_keys() {
return apply_filters(
'get_profile_info_keys',
array('user_email' => array(1, __('Email')), 'user_url' => array(0, __('Website')), 'from' => array(0, __('Location')), 'occ' => array(0, __('Occupation')), 'interest' => array(0, __('Interests')), 'sig' => array(0, __('Signature')))
);
}

Is this correct?

Skip to toolbar