• Resolved lunitschka

    (@lunitschka)


    Hello.
    I am still completely at the beginning with my WordPress website. At the moment I have activated the plugin “WP Maintenance Mode”. I would like to change the button text “Kontaktiere uns” to “Schreib mir” (in German). How is that possible? I have already found some solutions but so far nothing has worked.

    “wp-content/plugins/wp-maintenance-mode/views/maintenance.php to wp-content/wp-maintenance-mode.php. After that, you can edit wp-maintenance-mode.php however you need.”‘

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello @lunitschka,

    The idea to override the template definitely works. After you copy the file, you have to edit /wp-content/wp-maintenance-mode.php.

    This line of code:

    <a class="contact_us" href="javascript:void(0);" data-open="<?php echo esc_attr($open); ?>" data-close="<?php echo esc_attr($close); ?>"><?php _e('Contact us', $this->plugin_slug); ?></a>

    Should be something like this:

    <a class="contact_us" href="javascript:void(0);" data-open="<?php echo esc_attr($open); ?>" data-close="<?php echo esc_attr($close); ?>">Schreib mir</a>


    George

    • This reply was modified 6 years, 1 month ago by George J.
    • This reply was modified 6 years, 1 month ago by George J.
    Thread Starter lunitschka

    (@lunitschka)

    Hi George,
    thank you for your quick response. I’m not sure but I think the mistake was that I didn’t write “wp-maintenance-mode” in the beginning but only “maintenance-mode”. Now it has worked. 🙂
    Greetings from Austria

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘button text cannot be changed’ is closed to new replies.