Home Forums Pro Themes Tourable Pro Where to set Trip Enquiry button text on trip page?

This topic contains 3 replies, has 2 voices, and was last updated by  wensolutions 1 month ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #104152

    Richard Beckett
    Participant

    Hi there,

    Where do you add text for the Trip Enquiry button on the trip page?

    Thanks

    #104212

    wensolutions
    Keymaster

    Hello

    Please add the below given code snippet in functions.php file of your child theme. Place your custom string replacing the “Add your custom text here” string.

    function wp_travel_change_button_string( $localized_strings ) {
    
        $localized_strings ['featured_trip_enquiry'] = 'Add your custom text here';
        return $localized_strings;
    }
    add_filter('wp_travel_strings','wp_travel_change_button_string');

    Please make sure that the WP Travel plugin in your setting is upto date.

    Hope this helps

    Feel free to reach us for any further query/confusion.

    Regards!

    #104274

    Richard Beckett
    Participant

    The snippet provided worked, thanks for your prompt assistance!

    #104278

    wensolutions
    Keymaster

    Hello

    Glad that the code snippet worked.

    We would really appreciate if you could help us by rating our plugin by following the given link : https://wordpress.org/plugins/wp-travel/#reviews

    Also, we insist you to post the queries related to the WP Travel plugin in the official support forum of the plugin so that the support team can reach out to you ASAP.

    Best Regards!

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.