Home › Forums › Gutenberg › Down & Dirty Core Group Block Hyperlinks › Reply To: Down & Dirty Core Group Block Hyperlinks
I just realized my code was garbled when pasting. The correct code is:
<a href="<?php echo esc_url($link_url); ?>" target="<?php echo esc_attr($link_target); ?>" role="link"
aria-description="<?php echo esc_html($link_title); ?>" class="<?php echo $className; ?>">
<InnerBlocks allowedBlocks="<?php echo esc_attr(wp_json_encode($allowed_blocks)) ?>" />
</a>
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.