• I’m in need of getting an Advanced Custom Field to show a music player from a streaming service. I have a specific style that I’ve already done to the embed code for 5 different music streaming sites. Which is in the database.

    ACF requires a need to use a code like: <?php echo the_field('apple_music_embed'); ?>

    However attempting to put that in a customHTML bit for a pattern/template is not possible as it giving a blank spot saying it’s some sort of violation. Which is odd since if I put the actual iframe code in the customHTML box manually, it works perfectly fine. Is there a way to use PHP in a block to do the same thing from the database?

    The page I need help with: [log in to see the link]

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

The topic ‘Add a PHP’ is closed to new replies.