• Total novice here.

    After I set up my site (www.motordolls.com) I was OVERRUN with spam. I’m talkin’ like ten “comments” every minute, so in a panic, I went into the code (using Attitude theme) and deleted the entire block of code on comments. After the fact, I realized I can blacklist certain comments, and that I can simply turn comments on and off per page. The only place I’d like to have comments is on the blog page, but, yeah… I deleted the code.

    So… how do I get it back just for the blog posts? I googled and found this code: <?php comments_template(); ?> But either I’m not putting it in the right place or I need something else in addition. Regarding allowing comments, I have them all checked in the discussion tab, on the posts settings, but they’re still not coming back.

    Help?

Viewing 2 replies - 1 through 2 (of 2 total)
  • have comments is on the blog page

    not recommended, and by default suppressed in the WordPress code.

    to get comments back on the single posts, you might need to go through the theme’s files one-by-one and compare your code with the unedited code…

    please post in the theme’s support section http://wordpress.org/support/theme/attitude

    Thread Starter modobenny

    (@modobenny)

    Thanks! Right after I posted the question, I resolved it by reinstalling the theme, and then turning off comments on the page edit, what I should have done before wiping out all of the code! Learned my lesson!

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

The topic ‘Deleted All Comment Code and want it back!’ is closed to new replies.