• Hello

    First, I’d like to thank you a lot for all the great work you’ve done with abcjs, and to take the time to develop a plugin for wordpress as well.

    I’m trying to use abcjs shortcode within a custom post type, in which the abc string would be stored within an ACF textarea field.
    I tried to display the result like this:

    
    <?php if( get_field('tune1_abc') ):
    echo do_shortcode('[abcjs]' . the_field('tune1_abc') . '[/abcjs]') ;
    endif; ?>
    

    but nothing is shown frontend.

    Do you have any idea of what I did wrong ?

    Thanks for your help

  • The topic ‘Using abcjs shortcode in a custom post type, with abc stored in an ACF field’ is closed to new replies.