Support

Account

Home Forums Front-end Issues Tabs on front end acf form

Solving

Tabs on front end acf form

  • Hello,
    I’ve created extra user fields.
    The group was marked as ‘User form’ All and therefore appear in my site registration form.

    I needed to add the following code in order to get ACF repeater and fields to look god & work properly:

    add_action(‘wp_enqueue_scripts’, ‘acf_enqueue’);
    function acf_enqueue() {
    wp_enqueue_style( ‘acf-global’ );
    wp_enqueue_script(‘acf-input’);
    wp_enqueue_style(‘acf-input’);
    wp_enqueue_script(‘acf-pro-input’);
    wp_enqueue_style(‘acf-pro-input’);
    }

    Now all looks ok on frontend but tabs.
    When used with :
    acf_form_head();
    acf_enqueue_uploader();

    Tabs appear properly, but on registration page (where the form is applied “automagically”) they just don’t appear.

    How can I fix that ?

  • Hi @hannit

    Could you please explain how did you mark the group as ‘User form’? If you could provide some screenshots, that would be great.

    Could you please provide me with the link to the registration page and some screenshots that explain the issue?

    Thanks!

  • Hi @hannit

    Thanks for the screenshots.

    I’m not sure why you need to add the acf_enqueue() function. I have just tested it on WordPress default registration page and all of the required files are loaded. The tab is working too. I’ve attached a screenshot for your reference. Could it be, by any chances, that your theme doesn’t have the wp_head() function?

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘Tabs on front end acf form’ is closed to new replies.