{"__v":125,"_id":"569d55adec29360d00f6679e","api":{"auth":"required","params":[],"results":{"codes":[]},"settings":"","url":""},"body":"## Introduction\n\n<a href=\"https://htmltowordpress.io/\" target=\"_blank\">HTML to WordPress</a> converts your HTML designs into WordPress themes in seconds without the need for you to write a single line of PHP. The conversion is fully automated and the theme's functionality can be extended just by adding \"wp-\" prefixed converter classes into your HTML.\n[block:embed]\n{\n  \"html\": \"<iframe class=\\\"embedly-embed\\\" src=\\\"//cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Fv0oEqPhRsbY%3Ffeature%3Doembed&url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Dv0oEqPhRsbY&image=https%3A%2F%2Fi.ytimg.com%2Fvi%2Fv0oEqPhRsbY%2Fhqdefault.jpg&key=02466f963b9b4bb8845a05b53d3235d7&type=text%2Fhtml&schema=youtube\\\" width=\\\"854\\\" height=\\\"480\\\" scrolling=\\\"no\\\" frameborder=\\\"0\\\" allowfullscreen></iframe>\",\n  \"url\": \"https://www.youtube.com/watch?v=v0oEqPhRsbY\",\n  \"title\": \"HTML to WordPress 30 Second Explainer\",\n  \"favicon\": \"https://s.ytimg.com/yts/img/favicon-vflz7uhzw.ico\",\n  \"image\": \"https://i.ytimg.com/vi/v0oEqPhRsbY/hqdefault.jpg\"\n}\n[/block]\n## How to edit content\n\nOnce you have installed and activated the Simple Live Editor you can edit the content from the customize view. Content management has never been this fast and easy.\n\nSimple Live Editor is already installed and activated by default in Theme Preview\n[block:embed]\n{\n  \"html\": \"<iframe class=\\\"embedly-embed\\\" src=\\\"//cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F1kmK3u5eqh8%3Ffeature%3Doembed&url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D1kmK3u5eqh8&image=https%3A%2F%2Fi.ytimg.com%2Fvi%2F1kmK3u5eqh8%2Fhqdefault.jpg&key=02466f963b9b4bb8845a05b53d3235d7&type=text%2Fhtml&schema=youtube\\\" width=\\\"854\\\" height=\\\"480\\\" scrolling=\\\"no\\\" frameborder=\\\"0\\\" allowfullscreen></iframe>\",\n  \"url\": \"https://www.youtube.com/watch?v=1kmK3u5eqh8&feature=youtu.be\",\n  \"title\": \"Simple Live Editor Guide\",\n  \"favicon\": \"https://s.ytimg.com/yts/img/favicon-vflz7uhzw.ico\",\n  \"image\": \"https://i.ytimg.com/vi/1kmK3u5eqh8/hqdefault.jpg\"\n}\n[/block]\n## Extend theme functionality with classes like wp-menu-main\n\nYou can extend theme functionality by adding \"wp-\" prefixed classes in to your HTML before the conversion. Once these classes are found during the conversion, the converter will automatically add the correct WordPress functionality to make the theme work as intended.\n\nNotice the .wp-menu-main class in the the below example? This creates a WordPress menu that will be named Main. And that's all there is to it.\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"<ul class=\\\"wp-menu-main\\\">\\n\\t\\t<li><a href=\\\"index.html\\\">Home</a></li>\\n\\t\\t<li><a href=\\\"contact.html\\\">Contact</a></li>\\n\\t\\t<li><a href=\\\"about.html\\\">About</a></li>\\n</ul>\",\n      \"language\": \"html\",\n      \"name\": \"An example of creating a menu called \\\"Main\\\"\"\n    }\n  ]\n}\n[/block]\n\n[block:callout]\n{\n  \"type\": \"info\",\n  \"body\": \"The converter will automatically add the correct WordPress functionality if the classes are found from the HTML.\",\n  \"title\": \"Remember to add the \\\"wp-\\\" classes before converting.\"\n}\n[/block]\nRead more about <a href=\"https://html-to-wordpress.readme.io/docs/wordpress-editable-menu\">creating editable WordPress menus here</a>.","category":"569d55acec29360d00f6679c","createdAt":"2016-01-18T21:14:21.782Z","excerpt":"<a href=\"https://html-to-wordpress.readme.io/v1.0/docs/introduction#section-introduction\">Introduction</a>\n<a href=\"https://html-to-wordpress.readme.io/v1.0/docs#introduction#section-how-to-edit-content\">How to edit content</a>\n<a href=\"https://html-to-wordpress.readme.io/v1.0/docs/introduction#section-extend-theme-functionality-with-classes-like-wp-menu-main-\">How to extend theme functionality</a>","githubsync":"","hidden":false,"isReference":false,"link_external":false,"link_url":"","order":0,"parentDoc":null,"project":"569d55abec29360d00f66798","slug":"introduction","sync_unique":"","title":"Introduction","type":"basic","updates":["570fedbb79b89419005475c8"],"user":"569d557c0306a10d00ce996e","version":"569d55acec29360d00f6679b","childrenPages":[]}

Introduction

<a href="https://html-to-wordpress.readme.io/v1.0/docs/introduction#section-introduction">Introduction</a> <a href="https://html-to-wordpress.readme.io/v1.0/docs#introduction#section-how-to-edit-content">How to edit content</a> <a href="https://html-to-wordpress.readme.io/v1.0/docs/introduction#section-extend-theme-functionality-with-classes-like-wp-menu-main-">How to extend theme functionality</a>

## Introduction <a href="https://htmltowordpress.io/" target="_blank">HTML to WordPress</a> converts your HTML designs into WordPress themes in seconds without the need for you to write a single line of PHP. The conversion is fully automated and the theme's functionality can be extended just by adding "wp-" prefixed converter classes into your HTML. [block:embed] { "html": "<iframe class=\"embedly-embed\" src=\"//cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Fv0oEqPhRsbY%3Ffeature%3Doembed&url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Dv0oEqPhRsbY&image=https%3A%2F%2Fi.ytimg.com%2Fvi%2Fv0oEqPhRsbY%2Fhqdefault.jpg&key=02466f963b9b4bb8845a05b53d3235d7&type=text%2Fhtml&schema=youtube\" width=\"854\" height=\"480\" scrolling=\"no\" frameborder=\"0\" allowfullscreen></iframe>", "url": "https://www.youtube.com/watch?v=v0oEqPhRsbY", "title": "HTML to WordPress 30 Second Explainer", "favicon": "https://s.ytimg.com/yts/img/favicon-vflz7uhzw.ico", "image": "https://i.ytimg.com/vi/v0oEqPhRsbY/hqdefault.jpg" } [/block] ## How to edit content Once you have installed and activated the Simple Live Editor you can edit the content from the customize view. Content management has never been this fast and easy. Simple Live Editor is already installed and activated by default in Theme Preview [block:embed] { "html": "<iframe class=\"embedly-embed\" src=\"//cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F1kmK3u5eqh8%3Ffeature%3Doembed&url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D1kmK3u5eqh8&image=https%3A%2F%2Fi.ytimg.com%2Fvi%2F1kmK3u5eqh8%2Fhqdefault.jpg&key=02466f963b9b4bb8845a05b53d3235d7&type=text%2Fhtml&schema=youtube\" width=\"854\" height=\"480\" scrolling=\"no\" frameborder=\"0\" allowfullscreen></iframe>", "url": "https://www.youtube.com/watch?v=1kmK3u5eqh8&feature=youtu.be", "title": "Simple Live Editor Guide", "favicon": "https://s.ytimg.com/yts/img/favicon-vflz7uhzw.ico", "image": "https://i.ytimg.com/vi/1kmK3u5eqh8/hqdefault.jpg" } [/block] ## Extend theme functionality with classes like wp-menu-main You can extend theme functionality by adding "wp-" prefixed classes in to your HTML before the conversion. Once these classes are found during the conversion, the converter will automatically add the correct WordPress functionality to make the theme work as intended. Notice the .wp-menu-main class in the the below example? This creates a WordPress menu that will be named Main. And that's all there is to it. [block:code] { "codes": [ { "code": "<ul class=\"wp-menu-main\">\n\t\t<li><a href=\"index.html\">Home</a></li>\n\t\t<li><a href=\"contact.html\">Contact</a></li>\n\t\t<li><a href=\"about.html\">About</a></li>\n</ul>", "language": "html", "name": "An example of creating a menu called \"Main\"" } ] } [/block] [block:callout] { "type": "info", "body": "The converter will automatically add the correct WordPress functionality if the classes are found from the HTML.", "title": "Remember to add the \"wp-\" classes before converting." } [/block] Read more about <a href="https://html-to-wordpress.readme.io/docs/wordpress-editable-menu">creating editable WordPress menus here</a>.