[ad_1]
Using image and text for a CTA block. The image looks correct in the editor, but output all blocks will have the same image if more than 1 block is used on the post/page. Text and links work, but all get the same image. “Allow use block multiple times on the page.” is checked.
echo wp_get_attachment_image( $attributes[‘cta-bild’][‘id’], ‘medium’);
Edit: Had this string in the CSS and moved it to the Div inline css instread and problem is gone. Didnt think 100% today.
- This topic was modified 1 hour, 48 minutes ago by .