Support

Account

Home Forums ACF PRO Tabs are displayed twice on the front end

Unread

Tabs are displayed twice on the front end

  • Hi,
    i asked this already within a support ticket but didn’t receive any answer – the same as I registered for the forum I didn’t get the password by e-mail. As I ordered a new password this worked and I received the e-mail. Obviously my account was created but e-mail noticifation failed. Confusing…

    So my question:
    I’m creating a user data page with lots of fields separated into tabs. In the backend everything looks fine but on the page how the user should see it all tabs are double: i.e. tab A to D is followed by tab A to D. All contained fields are the same.

    For this page I created a template (by copy+paste). Could this cause the problem?

    Thanks
    martin
    ACF 5.6.1 WP 4.8.1

    template:
    <?php
    /**
    * Template Name: ACF Account Page
    */
    ?>

    <html <?php language_attributes(); ?> class=”no-js”>
    <head>
    <meta charset=”<?php bloginfo( ‘charset’ ); ?>”>
    <meta name=”viewport” content=”width=device-width, initial-scale=1″>
    <?php wp_head(); ?>
    </head>
    <body>
    <div class=”menu-panel-wrapper” style=”display:none;”></div>
    <?php acf_form_head(); ?>
    <?php get_header(); ?>

    <div id=”primary”>
    <div id=”content” role=”main”>

    <?php /* The loop */ ?>
    <?php while ( have_posts() ) : the_post(); ?>

    <p> <?php the_field(‘my_custom_field’); ?></p>

    <?php acf_form(); ?>

    <?php endwhile; ?>

    </div><!– #content –>
    </div><!– #primary –>

    <?php get_footer(); ?>
    <?php wp_footer(); ?>
    </body>
    </html>

Viewing 1 post (of 1 total)

The topic ‘Tabs are displayed twice on the front end’ is closed to new replies.