Need help? Check out our Support site, then


After adding a semicolon my theme's layout is disfigured

  1. I need help and don't know if this is the proper spot to ask or if I should just go to yahoo answers or wherever. I have been seeking for help in google but gosh trying to word the problem the same way as someone else might have worded it is difficult and I'm getting no where. Anyway, I'm not much of an expert on coding, but I was trying to fix an error by placing a semicolon (;) after this line in the coding of the functions.php:

    foreach ($comm as $t2n=>$t2v){

    When I added the semicolon it looked like this:

    foreach ($comm as $t2n=>$t2v);{

    After updating it and viewing the site it pretty much wiped out the configuration of the layout of the site. So, I went back in to remove the semicolon from the same line, updated, and refreshed the site. The site still looks disfigured, even after removing the semicolon that I should've never inserted in that line.

    Will someone help me fix this? Would a semicolon change something else in another file automatically? I mean I don't understand why the theme didn't snap back when I removed the semicolon.

    Thanks.

  2. You did not specify a blog address or reason for posting when you created this topic.

    This support forum is for blogs hosted at WordPress.com. If your question is about a self-hosted WordPress blog then you'll find help at the WordPress.org forums.

    If you don't understand the difference between WordPress.com and WordPress.org, you may find this information helpful.

    If you forgot to include a link to your blog, you can reply and include it below. It'll help people to answer your question.

    This is an automated message.

Topic Closed

This topic has been closed to new replies.

About this Topic