Support

Account

Home Forums General Issues Access another acf fields

Unread

Access another acf fields

  • I would like to get the user that was selected and get information that I create for him.

    I would like to pull information from name and link only (it was created with acf)

    https://agavecasa.dvlp.one/produto/sofa-modular/

    function product_designer_new() { ?>

    <?php if(get_field(‘nome_do_designer_interno’)) { ?>

    <?php the_field(‘nome_do_designer_interno’); ?>

    <?php }else{
    echo ‘<script type=”text/javascript”>’;
    echo “document.querySelector(‘.sec_designer’).style.display = ‘none'”;

    echo ‘</script>’;
    }
    }

    add_shortcode( ‘product_designer_new’, ‘product_designer_new’);

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.