WordPress.org

Ready to get started?Download WordPress

Forums

Akismet
Reduce/Stop SPAM with: CSS or Disabling comments ? (2 posts)

  1. samzz
    Member
    Posted 2 years ago #

    Hello,
    I would use WP to build a site not blog. A website without interaction by visitors. I prefer to use/create post instead of page, because posts can be categorized. OK, some plugins add the ability to categorize pages.

    So, to disable (hide, remove) the comment form below the posts, I add this css definition in the style.css file:

    .nocomments,.comments,#nocomments,#comments,.entry-meta,.entry-utility,#respond, .reply
    {display:none !important;}

    This css definition will hide the web form, only in the page rendering, not in the HTML source code. So my question is:
    - Does this CSS help to reduce/stop SPAM?

    Other question:
    - Disabling the option "Allow visitors to write comment" in the WP post options, is this enough to protect a WP site from SPAM?

    Thanks and regards.

    http://wordpress.org/extend/plugins/akismet/

  2. mentalist3d
    Member
    Posted 2 years ago #

    Look in your theme files for the page and post templates, and you can strip out the ability to comment from there, as well as make sure the ability to comment is switched off in the settings.

    You will likely still get spammers trying to register with your site though, so use the plugin 'Stop Spammers Registration' - http://wordpress.org/extend/plugins/stop-spammer-registrations-plugin/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags