Get First Paragraph Block in Template
-
I was playing with this and this to try and get the first paragraph block and display it in a specific div in my template. I can get that first para block where I want it, but I can’t figure out how to then exclude that first para block when I display the rest of the post content in different div in the template. I’m not finding the references to parsing and serializing blocks very helpful in this case. The rest of the content could be any number and variety of block types. Thanks in advance for any advice.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘Get First Paragraph Block in Template’ is closed to new replies.