• Resolved norboo

    (@norboo)


    Hi!
    I’m posting here because for some reasons I couldn’t register on the Piklist.com forum
    I created two custom fields for the User Profile using the following code:

    piklist('field', array(
        'type' => 'file'
        ,'field' => 'company_logo'
    	,'scope' => 'user_meta'
        ,'label' => __('Company Logo')
        ,'description' => __('Upload an Image for your company logo')
    ));
    
    piklist('field', array(
        'type' => 'file'
        ,'field' => 'company_banner'
    	,'scope' => 'user_meta'
        ,'label' => __('Company Banner')
        ,'description' => __('Upload an Image for your company banner')
    ));

    Everything works almost perfect, the only problem being that both images show up in the first and not separated.

    What’s the best way to add two separated image fields?

    https://wordpress.org/plugins/piklist/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Image File fields for User profile’ is closed to new replies.