• I’ve been trying to put in a face book like option on my blog. I found a tutorial and put this code in my custom PHP.

    <iframe src=”https://www.facebook.com/plugins/like.php?href=&lt;?php echo urlencode(get_permalink($post->ID)); ?>&layout=standard&show_faces=false&
    width=450&action=like&colorscheme=light” scrolling=”no” frameborder=”0″ allowTransparency=”true” style=”border:none; overflow:hidden; width:450px; height:60px;”>
    </iframe>

    Now my blog is gone!
    Whenever I open my blog all I get is this message:

    Parse error: syntax error, unexpected ‘<‘ in /home/debmcc4/mccormickmadness.com/wp-content/themes/thesis_181/custom/custom_functions.php on line 118

    Please someone help me – what do I do?

Viewing 2 replies - 1 through 2 (of 2 total)
  • No matter what the tutorial said, that code does not belong in the custom_functions.php file. You need to remove it and re-upload the file to your blog via ftp.

    The code is meant for your post template file.

    Thread Starter DebbieMcCormick

    (@debbiemccormick)

    Zenzino – thanks for responding. How do I remove it? I can’t get to my blog or HTML code anymore.

    My blog URL doesn’t bring up my blog anymore – it only shows the error message.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Please Please Please help me – I broke my blog’ is closed to new replies.