• Have got the shortcode working how I intend in the php file, however I wish to feed information in from that using ACF the_field.

    I have shortcodes set up and working for country. I just need to get the information in from the Field in the wordpress backend. `<?php
    echo do_shortcode( ‘[CBC country=”au” show=”y”]’.”$1199″.'[/CBC]’);`

    The code for the field is
    <?php the_field('aud_total'); ?>

    I have tried everything and am pulling my hair out here, anyone got any suggestions?

    https://www.ads-software.com/plugins/custom-content-by-country/

  • The topic ‘Php inside short code’ is closed to new replies.