How To

How to convert a website from HTML to Word Press Theme Manually

During initial days, when working on systems just started, websites were constructed keeping HTML as a base. But now as times have changed and technology has grown many new and better systems have been introduced. Lately many of you are opting for modern websites with the help of CMS like WordPress. Working and to convert HTML to word press theme through WordPress is not a difficult task. All you need to do is to install the CMS, select theme and create a website.

However, there is a number of websites that are still not upgraded from HTML to word press theme. The reason could be any but primarily it is because of a lack of knowledge of the conversion process. Some people fear that their data might get lost and they don’t want any complexity on their website. But you can easily convert your website without losing your content or simplicity.

Convert HTML to word press theme

For all those who don’t know the process of converting a website to convert HTML to word press theme manually, here are simple steps to follow:

  • Create folder: First of all, create a folder giving it a proper name, and keep it at any location in your system. Once you have done that you need to open code editor, create files like style.css, index.php, header.php, sidebar.php, and footer.ph. Keep all these files in the created folder.
  • Copy old CSS: If you want to keep your old style intact, just copy old CSS and paste the same into new CSS created.
  • Cut and paste HTML: Now in order to convert HTML to word press theme, just paste everything that you have in your index.html to header.php. Now pick” sidebar” tag from your HTML file and paste everything into sidebar.php. Now after you have done that, copy sidebar from HTML file and copy in just created the footer.php file. Lastly, whatever is remaining in your index.html file, just copy the same and paste it in the index. Php file. Like other files do not close this one after saving.
  • Now its time to call all the sections from the newly created theme. You can also use ready-made WordPress themes.
  • Now all you need to do is upload your WordPress theme, in an already installed WordPress directory.

See, how simple it was to convert an HTML to WordPress theme.

Gargi Rohatgi

Recent Posts

Apple Event 2022: Have A Look At List And Specifications Of All The Launches

Apple Event 2022: Apple with its first event of the year has brought in a…

3 years ago

Facebook Is Now Meta; A New Up-gradation To The World Of Social Media

Facebook Is Now Meta: Facebook for decades has stood to be one of the greatest…

3 years ago

Best Smartwatch 2021; Wearables For Android And iOS Smartphone

Best Smartwatch 2021: Smartwatches have managed to be a part of one's attire not just…

3 years ago

Unveil The Xiaomi Event: Learn About All The Launches From The House

Xiaomi Event has finally hit the entire globe revealing ample products including the much-awaited Xiaomi…

3 years ago

Uncover The Apple Event 2021; Have A Glance At All The Launches

The most awaited Apple Event 2021 has finally revealed a bunch of its products ranging…

3 years ago

iPhone 13 Series Expected Features And Rumors Before Launch

The Apple event is round the corner and this approaching event is letting ample speculations…

3 years ago