• 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

Custom Submit button label (text)

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 › Design Tips and Tricks › Custom Submit button label (text)

This topic is: resolved

Tagged: submit button text, submit label

  • This topic has 2 replies, 2 voices, and was last updated 12 years, 10 months ago by csbeck.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • June 17, 2013 at 4:06 pm #46439
    csbeck
    Member

    I wanted a special form submit button (for signing up for a newsletter) to have different text than a general Contact Us submit button elsewhere on the site. I found code to set the text differently but it was the same for every submit button. So I modified that code as follows:

    `add_filter('frm_submit_button', 'change_my_submit_button_label', 10, 7);
    function change_my_submit_button_label($label, $form){
    if( is_home() ) {
    $label = 'OK';
    } else {
    $label = 'Submit';
    }
    return $label;
    }`

    Hopefully this will help someone else with this need.

    Chris

    June 17, 2013 at 5:04 pm #46458
    Brad Dalton
    Participant

    I'll republish this if you don't mind and link back to your site Chris. Thanks for the code.


    Tutorials for StudioPress Themes.

    June 17, 2013 at 7:36 pm #46474
    csbeck
    Member

    Sounds great Brad. Thanks!

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘Design Tips and Tricks’ 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