Forward: I’ve acquired this project when it was 2/3 complete, I have no contact with the original devs. I’m very familiar with web dev, but not very familiar with WordPress dev. I’ve figured out the majority of how they had everything setup, but this one thing is alluding me. I’d greatly appreciate your help!
Question: The former devs created a bunch of custom block templates for different page sub-sections that interact with ACF data. I’ve been able to modify these php templates successfully, but have had no luck creating & using a new one. Everything I research keeps pointing to Theme Block dev, but the files and code structure doent seem to follow that pattern. Namely, these templates are located under the theme, in a ‘modules’ folder. Also, I can find no trace of them in the roots block.json file, or any other file for that matter, or any of the database tables (except 1 hit in wp_posts).
So what I’ve done is copy one of the templates that was close to what I needed, made whatever DOM/CSS changes, and saved as a new filename. Below is a clip of one of these templates…
But the piece I can’t figure out is how WordPress is registering these blocks. As you can see here, all of those module template files are listed here under the “Text” blocks (lower half)…
Can anyone help me figure out what kind of blocks these are and how they’re being registered?