• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

comment_form action not firing

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › General Discussion › comment_form action not firing

This topic is: not resolved

Tagged: actions, comments, hooks

  • This topic has 1 reply, 2 voices, and was last updated 11 years, 5 months ago by David Chu.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • December 15, 2014 at 12:34 pm #134609
    dylan
    Member

    I'm the author of a plugin that adds to the comment form via the WordPress comment_form action. A support request from a user with a Genesis child theme indicates that comment_form is not firing, even though comment_form_after is. Any tips for troubleshooting this? Thanks!

    December 16, 2014 at 11:26 am #134677
    David Chu
    Participant

    Dylan,
    An interesting question. I've done some of this filtering using regular WP code. Admittedly, this stuff is not well-documented - the WP comment area is sort of a black box, and usually that's sufficient. Genesis has some proprietary comment filter bits, too, but I like to go theme agnostic, so to speak. There is also some code that refers to using the newer HTML5 structure, so maybe it's possible somebody is using an old XHTML theme that doesn't play well, but that's only a guess.

    Here's a quick example, filtering a couple fields. Code that goes in functions.php of the theme that works great for me:

    add_filter( 'comment_form_defaults', 'dc_change_form_title');
    function dc_change_form_title($arg) {
         $arg['title_reply'] = __('Please Comment');
         $arg['comment_notes_after'] = 'Dang! You are so cute!';
         return $arg;
    }

    Hope that helps a bit! I'd be interested in knowing the name of your plugin. ๐Ÿ™‚
    Dave


    Dave Chu ยท Custom WordPress Developer – likes collaborating with Designers

  • Author
    Posts
Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘General Discussion’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2026 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble