how can I get seperate the HTML in the_content(); output? July 22, 2022 by Tarik Billa Look at this snippet from CSS-Tricks. It gets the first image from a post.