I know you can attach images to a post using the gallery gutenberg block. I was going to use the ACF gallery field but it’s a pro feature. Right now I’m adding images to my post with the gallery block and hiding it on the front-end. Is there an easier way of adding images to a post without having to add the gallery block to the post? I know all images have an ID. **Can I just edit the metadata of the image and assign it to the post?**
Asking because I created my own image gallery and using PHP to get the images for the post and display them in the gallery, and right now I’m simply hiding the default gallery on the front-end so only my custom gallery shows up.
[ad_2]