Viewing 8 replies - 1 through 8 (of 8 total)
  • Hi @clarkelz,

    Thanks for using The Events Calendar!

    I think you’ll find the information you need about changing titleshere. If you can confirm that you’ve referenced this documentation and you’re still having trouble getting things to work as expected, please let me know and we can keep working on resolving this together. ??

    Let us know if you have any other questions or issues!

    Best,

    Shelby ??

    Thread Starter clarkelz

    (@clarkelz)

    Hi Shelby

    thanks for your response. I have looked at the documentation and as I only want to change the title (from Upcoming Events to Check Availability) I added the code snippet from the bottom of this page https://theeventscalendar.com/knowledgebase/altering-or-removing-titles-on-calendar-views/ to my child theme functions file. However it keeps breaking my site.

    Here is what is currently on my child themes functions file – perhaps the code snippet doesn’t work with my Theme? –

    <?php
    // Exit if accessed directly
    if ( !defined( ‘ABSPATH’ ) ) exit;

    // BEGIN ENQUEUE PARENT ACTION
    // AUTO GENERATED – Do not modify or remove comment markers above or below:

    if ( !function_exists( ‘chld_thm_cfg_parent_css’ ) ):
    function chld_thm_cfg_parent_css() {
    wp_enqueue_style( ‘chld_thm_cfg_parent’, trailingslashit( get_template_directory_uri() ) . ‘style.css’, array( ) );
    }
    endif;
    add_action( ‘wp_enqueue_scripts’, ‘chld_thm_cfg_parent_css’, 10 );

    // END ENQUEUE PARENT ACTION

    Hi @clarkelz,

    Thanks for following up! Often sites that break or otherwise malfunction after changes are made to functions.php do so as a result of typos or other code errors. Can you please check to confirm that the following issues aren’t present in your functions.php file?

    • File begins with <?php, and this text is not repeated at any other point in the document
    • File ends with ?>, and no text is placed after this point
    • All quotes (both single and double) are straight quotes and have not been automatically converted into “curly quotes” by text-editing software

    Let us know what you find when reviewing your file, and we’ll see where we can go from there!

    Thread Starter clarkelz

    (@clarkelz)

    Hi Caroline

    That’s worked!! YAY! Thank you SO much ?

    Finally I would like to remove the Export Events button. I have looked through your forum and tried several css and function file snippets with no luck.

    Could you help please?

    Thanks very much

    Hi @clarkelz,

    Awesome; I’m so glad I could help! ?? You should be able to easily hide this button using a bit of simple CSS customization. This article on our Knowledgebase provides a bit of information on what CSS is and how you can create a CSS file for any changes you’d like to apply to the visual styling of your calendar. To hide the Export Events button, create your tribe-events.css file as indicated in the link above, then add this line of text to it:

    .tribe-events-ical.tribe-events-button { display: none !important; }

    Save your changes, then refresh, and you should see that button no more! If you’d like to bring it back later, you can reverse the change by just deleting that line of text.

    I hope that’s enough information to get you started here! Let me know if you should have any questions about these instructions–I’d be more than glad to assist further. ?? Thanks!

    Thread Starter clarkelz

    (@clarkelz)

    Hi Caroline

    I added that snippet to my Themes Customising – Additional CSS section and it worked! ?
    Excellent, thanks very much indeed.

    I have one final tweak – I would like to change the Find Events button to say “Search for Availability”

    is this possible please?

    Thanks again ?

    Hi @clarkelz,

    Glad to hear that snippet worked for you–you’re very welcome! ?? For changing the text on your “Find Events” button, you might find this Knowledgebase article to be useful. Give it a try on your site, and let me know if you should have any questions or concerns as you go! (As before, you’ll want to make sure that you place this snippet in between <?php and ?> in your functions.php file, and make sure that each of these only appears once–so you can safely ignore the extra <?php in the snippet provided.)

    I hope that helps! Thanks again, and let me know if there’s anything else I can do to assist!

    Thread Starter clarkelz

    (@clarkelz)

    Thanks again Caroline you have been very helpful indeed! ?

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Change title “Events for”’ is closed to new replies.