This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <main class="main-container"> | |
| <header class="main-header">HEADER</header> | |
| <div class="main-content">MAIN CONTENT</div> | |
| <footer class="main-footer">FOOTER</footer> | |
| </main> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * This snippet is useful while doing migration for the WordPress. | |
| * Basically this script will convert the HTML dom into the common Gutenberg block comments, | |
| * so the tags like Pagragraph will be converted into the "<!-- wp:paragraph -->SOME DATA<!-- /wp:paragraph -->". | |
| * | |
| * This script supports paragraph, headings, list tags and many more. | |
| */ | |
| /** |
OlderNewer