Forums

converting HTML to wp PHP (6 posts)

  1. ssword0321
    Member
    Posted 1 year ago #

    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 if you want to look at the actual problem.

    Thanks All!

  2. Snat
    Member
    Posted 1 year ago #

    Do you mind posting your /themes/scottsword/index.ph here so we can all have a look and see where the error is ?

  3. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    Please use the pastebin as per the Forum Rules.

  4. ssword0321
    Member
    Posted 1 year ago #

    [Code moderated as per the Forum Rules. Please use the pastebin]

  5. ssword0321
    Member
    Posted 1 year ago #

    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

  6. ssword0321
    Member
    Posted 1 year ago #

    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
    - index.php http://wordpress.pastebin.com/pqkNWdR8
    - footer.php http://wordpress.pastebin.com/xidi3PdE

    Again here is the link to my screen from the html in firefox: 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!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags