• Resolved ajbond

    (@ajbond)


    I’m looking to track down a way to edit the text on the view selector. It currently reads “View As”. I’ve looked through the forum and thus far haven’t found a related thread or response.

    I’m a bit of a newcomer, but eager to learn. Any leads pointing me in the right direction or answers would be greatly appreciated.

    Current live page Event Calendar

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi @ajbond,

    Thanks for reaching out! You can make changes to this text (and nearly any other aspect of your plugin’s display) by making changes to the appropriate template file as detailed in our Themer’s Guide. To change the “View As” text, you’ll want to find the following file in your WordPress directory:

    /wp-content/plugins/the-events-calendar/src/views/modules/bar.php

    Simply create a new folder called tribe-events within your theme’s folder, copy bar.php to this folder, and in the copy, change this line:

    <label><?php esc_html_e( 'View As', 'the-events-calendar' ); ?></label>

    to:

    <label><?php esc_html_e( 'YOUR TEXT HERE', 'the-events-calendar' ); ?></label>

    Save your changes, and you’ll see the new text appearing on your calendar pages. 🙂

    I hope that helps! Thanks again, and let us know if you should have any other questions!

    Thread Starter ajbond

    (@ajbond)

    I appreciate the reply. I was able to manage a fix for what I was looking for from this link

    Thanks again!

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

The topic ‘Change “View As” text’ is closed to new replies.