• Sprocket

    (@alchemist_orange)


    I would like a way to tell my dear commentators to use their personal names in the “name” form, not their business names/links. I would very appreciate how to put in a “Comment Rules” intro in to comment area.

    You can see what I mean on Tim Ferriss’ blog or the Entertainment Weekly site. (Be sure to find the comment form to see what I mean, where it let’s you put in a comment and type your name, etc.)

    Examples from those sites: before the “Name” field, both sites have “rules” – from the EW.com site its “The rules: Keep it clean, and stay on the subject – or we may delete your comment. If you see inappropriate language, e-mail us. An asterisk (*) indicates a required field.”

    I’d like to be able to have my instructions BEFORE the “name” field too, but right now my “Quick Comment Guidelines” are before the comment field but not the “name” field. My in-progress site (it’s a safe for work site about filmmaking btw 🙂 I put it where it is now using php hooks, but I want to move it before the “name” field.

Viewing 7 replies - 1 through 7 (of 7 total)
  • edit your comment.php file, and look for “Leave a Comment”

    You can add some code immediately after that.. something like this:

    <p> These are my rules, and I own the delete button. </p>

    That should be all there is to it. You could wrap it with some css to give it some styling if it needs it.

    Thread Starter Sprocket

    (@alchemist_orange)

    mydanblog, thanks for the reply. However, my comment.php file doesn’t have a “leave a comment” text. I tried inserting some text in the file, and got a parse error (i fixed it.) Appearance>Editor.

    I think my style.css file needs to be changed or php. I use thesis and have “custom” for both, anyone have any suggestions? Unfortunately there doesn’t seem to be a hook for the pre-comment “name field” area.

    Hmm… that might be tough to track down.
    Do you mind posting your comment.php to http://wordpress.pastebin.com/ and linking it here?

    Thread Starter Sprocket

    (@alchemist_orange)

    comments.php

    If it’s helpful, here is the comment area in my style.css form. It’s an excerpt which contains all references to “comments.”

    I’ll keep trying to identify the pertinent areas in other websites’ “view source” elements (of sites that have the comment rules where I want them), but hopefully there’s a shortcut past all the hours it’d take me 🙂 I don’t know css/html enough to do more than recreate existing patterns (yet!)

    ok, so it looks like thesis has an output_comments function. Need to track that down. Mind posting your functions.php to wordpress.pastebin.com?

    Thread Starter Sprocket

    (@alchemist_orange)

    Sure thing –

    functions.php

    and the custom_functions.php (if necessary; it is the way thesis changes functions without affecting the original functions.php)

    As mentioned earlier, I used a php hook to include the “comment rules” where they are now (I want to move them above the “name’ field.) I use a hook plugin, so they don’t show up in custom_functions.php.

    Thanks for the help!

    hmm. I haven’t worked with Thesis.. they’ve got it burried in the framework somewhere. You don’t have their support package, do you? They’d probably be able to answer this lickety split.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘How to set up a "Comment Rules" intro on the comment form (anti-spam measure)?’ is closed to new replies.