Edit value=”” of a button in child theme

I am not really a developer, just can do bits and bobs and I am looking to change button text in a plugin but through a child theme.

What I’ve done is created the plugin folder structure as in original plugin and edited .php file in child theme. But it’s not pulling through.

I am not sure if this is the way to do it – can someone help? This is the code I am looking to edit:

<input type=”button” class=”application_button button” value=”<?php esc_attr_e( ‘Apply for Job’, ‘wp-job-manager’ ); ?>” />

I need to change “Apply for Job” to “Submit”

Full code in the original file is:

<?php if ( $apply = get_the_job_application_method() ) :
wp_enqueue_script( ‘wp-job-manager-job-application’ );
?>
<div class=”job_application application”>
<?php do_action( ‘job_application_start’, $apply ); ?>

<input type=”button” class=”application_button button” value=”<?php esc_attr_e( ‘Apply for Job’, ‘wp-job-manager’ ); ?>” />

<div class=”application_details”>
<?php
/**
* job_manager_application_details_email or job_manager_application_details_url hook
*/
do_action( ‘job_manager_application_details_’ . $apply->type, $apply );
?>
</div>
<?php do_action( ‘job_application_end’, $apply ); ?>
</div>
<?php endif; ?>

Read more here:: Edit value=”” of a button in child theme

Leave a Reply

Your email address will not be published. Required fields are marked *