• I’ve been asked to change the text from “SUBMIT EVENT” on the referenced page, which I suspect you can’t see, as it’s only available when logged in, but the question is simple enough!

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Create the directory wp-content/plugin-templates/events-manager/forms then copy wp-content/plugins/events-manager/tamplates/forms/event-editor.php to that directory. Then modify the copied version after line 132:

    
    			    <input type='submit' class='button-primary' value='<?php echo esc_attr(sprintf( __('Submit %s','events-manager'), __('Event','events-manager') )); ?>' >
    			    <?php else: ?>
    			    <input type='submit' class='button-primary' value='<?php echo esc_attr(sprintf( __('Update %s','events-manager'), __('Event','events-manager') )); ?>' >
    			    <?php endif; ?>

    You could change it to to this:

    			    <input type='submit' class='button-primary' value='Submit Event' >
    			    <?php else: ?>
    			    <input type='submit' class='button-primary' value='Update Event' >
    			    <?php endif; ?>

    Then change the text.

    Thread Starter puhelin09

    (@puhelin09)

    Many thanks, Jon – in fact, I’ve reviewed the request and I’d misinterpreted it – what is needed is simpler and I’ve made the change. However, I’ve learned a good bit from what you’ve told me, so am just about to document it. Thanks again, Sam

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Can Button text be changed?’ is closed to new replies.