Title: converting HTML to wp PHP
Last modified: August 19, 2016

---

# converting HTML to wp PHP

 *  [ssword0321](https://wordpress.org/support/users/ssword0321/)
 * (@ssword0321)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/converting-html-to-wp-php/)
 * I am very new to wordpress and I am trying to convert a basic html layout to 
   a wordpress site. I have followed many books and forums and still running into
   certain issues.
    – none of my images are loading – the title of my post most 
   recent post loads followed by- Fatal error: Call to undefined function the_post_thumbnail()
   in /home/content/41/7378741/html/scottsword/wp-content/themes/scottsword/index.
   php on line 15 – my footer only loads when you click on my post but my post doesnt
   load.
 * I don’t know if I need to add more php code or where. If anyone could point me
   in the right direction I would REALLY appreciate it! My site is [http://www.scottsword.com](http://www.scottsword.com)
   if you want to look at the actual problem.
 * Thanks All!

Viewing 5 replies - 1 through 5 (of 5 total)

 *  [Snat](https://wordpress.org/support/users/snat/)
 * (@snat)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/converting-html-to-wp-php/#post-1926488)
 * Do you mind posting your /themes/scottsword/index.ph here so we can all have 
   a look and see where the error is ?
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/converting-html-to-wp-php/#post-1926489)
 * Please use the [pastebin](http://wordpress.pastebin.com/) as per the [Forum Rules](http://codex.wordpress.org/Forum_Welcome).
 *  Thread Starter [ssword0321](https://wordpress.org/support/users/ssword0321/)
 * (@ssword0321)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/converting-html-to-wp-php/#post-1926509)
 * _[Code moderated as per the [Forum Rules](http://codex.wordpress.org/Forum_Welcome).
   Please use the [pastebin](http://wordpress.pastebin.com/)]_
 *  Thread Starter [ssword0321](https://wordpress.org/support/users/ssword0321/)
 * (@ssword0321)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/converting-html-to-wp-php/#post-1926513)
 * That is the code from my index.php file. this link takes you to a screen of my
   basic html doc in firefox – [http://www.scottsword.com/help.png](http://www.scottsword.com/help.png)
 *  Thread Starter [ssword0321](https://wordpress.org/support/users/ssword0321/)
 * (@ssword0321)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/converting-html-to-wp-php/#post-1926530)
 * Sorry too much code, here are the links to my php files on pastbin, i broke my
   site up into three sections (following an online tutorial):
    – header.php [http://wordpress.pastebin.com/5mycQfmu](http://wordpress.pastebin.com/5mycQfmu)–
   index.php [http://wordpress.pastebin.com/pqkNWdR8](http://wordpress.pastebin.com/pqkNWdR8)–
   footer.php [http://wordpress.pastebin.com/xidi3PdE](http://wordpress.pastebin.com/xidi3PdE)
 * Again here is the link to my screen from the html in firefox: [http://www.scottsword.com/help.png](http://www.scottsword.com/help.png).
   Thanks for all the help guys, I followed a tutorial that basically had me cut
   up my html and copy/paste some php from the twenty ten theme.
 * Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘converting HTML to wp PHP’ is closed to new replies.

## Tags

 * [html](https://wordpress.org/support/topic-tag/html/)
 * [php](https://wordpress.org/support/topic-tag/php/)
 * [Stuck](https://wordpress.org/support/topic-tag/stuck/)

 * 5 replies
 * 3 participants
 * Last reply from: [ssword0321](https://wordpress.org/support/users/ssword0321/)
 * Last activity: [15 years, 2 months ago](https://wordpress.org/support/topic/converting-html-to-wp-php/#post-1926530)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
