How to add a Divi Builder item to a theme via code

Alright, so here’s how to do a cool thing! More specifically – here’s how to add any Divi library item to your code! You might have run into this problem… you have a Divi library item (a Divi Builder item) and you wnat to place it somewhere that Divi Builder doesn’t let you. Like the header or footer for instance. Well there’s a really easy way to do that, thankfully! First of all, we need to go to the Dashboard and then Divi -> Divi Library: We need to get the post ID of that...