• Resolved tkhatun123

    (@tkhatun123)


    Hello Team ,
    How can i change the button text from more details to Apply Now .

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support vidyakv

    (@vidyakv)

    Hi @tkhatun123,

    Thanks for reaching out to us.

    Sorry! Currently, there is no setting to change these texts. We will consider this as a feature request.
    But, you can do this by using the below code in your theme’s functions.php file (wp-content/themes/astra-child/functions.php OR wp-content/themes/astra/functions.php). You can add this code at the end of the functions.php file (after all other code).
    We recommend child theme for doing this (https://wpastra.com/child-theme-generator/), because if you update your theme, then these changes will be gone! You have to add this again in functions.php file.

    function awsm_jobs_listing_details_link( $link ) {
    $link = str_replace( 'More Details', 'Apply Now', $link );
    return $link;
    }
    add_filter( 'awsm_jobs_listing_details_link', 'awsm_jobs_listing_details_link' );

    Regards,
    Vidya K V

    In case if I need to change the “Load More…” to “Load More” text how to achieve this?

    Plugin Support vidyakv

    (@vidyakv)

    Hi @kalimlaskar,

    If you are using WordPress 5.5.0 or greater, then you can use the below code to change the same.

    function awsm_jobs_custom_translation( $translation, $text ) {
    if ( $text === 'Load more...' ) {
    $translation = 'Load More';
    }
    return $translation;
    }
    add_filter( 'gettext_wp-job-openings', 'awsm_jobs_custom_translation', 10, 2 );

    If you are using the older version of WordPress, you have to use the ‘gettext’ hook (https://developer.www.ads-software.com/reference/hooks/gettext/). This hook is not recommended as it will be invoked for every plugins and theme.

    Regards,
    Vidya K V

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Button Text’ is closed to new replies.