How to include CMS block in template file(.phtml)?

PUT THE BELOW CODE IN PHP TAG WITH ECHO. YOU WILL FIND YOUR BLOCK WILL BE THERE.

YOU NEED TO PUT THE BLOCK ID WHERE I HAVE WRITTEN THE “static_block_id”. REPLACE IT WITH THE ID NAME WHICH YOU WANT TO PRINT.

Ankush chhabra

My name is Ankush Chhabra and I’m a 28 years old web developer and blogger.I have 5 years of experience in this field.