Support Forum ยป User Profile

Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • in reply to: User registration #9523
    thomastran40thomastran40
    Participant

    I'm now running into this problem as well, is there an updated ETA?

    in reply to: Hide Metabox Field on Custom Frontend Form #9512
    thomastran40thomastran40
    Participant
    
                array(
                    'name'  => 'Website Screenshot URL:',
                    'desc'  => '',
                    'id'    => $prefix . 'website_screenshot',
                    'type'  => 'text',
                    'type' => 'hidden'
    
                ),
    

    It works but the label still shows. Im also setting the type variable twice which seems wrong.

    What am i missing here?

    I could use CSS for the label but just trying to familiarize myself with metabox a bit more.

    in reply to: Change Post Title Label for Particular Frontend Form? #9476
    thomastran40thomastran40
    Participant

    This changes the particular post title label name on the form which defaults to "Title"

    I figured it out with the following.

    add_filter( 'rwmb_frontend_post_title', function( $field ) {
    if ( is_page( "Add a Website" ) ) {
        $field['required'] = true;
        $field['name'] = 'Website Name:';
        return $field;
    }
    } );  
    
Viewing 3 posts - 1 through 3 (of 3 total)