• Resolved ianthony333

    (@ianthony333)


    I want to remove the word “Archive:’ from the title on my event calendar page where it shows as “Archive: Events”. I just want it to say “Events”. How do I do this as I cannot find anything within the theme customization or the Event Calendar plugin settings

    I am using the Uptown Style theme

    I am new to wordpress

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Good morning @ianthony333

    Thank you for reaching out.
    There are a couple of ways of achieving your goal:

    1. Using the following extension
    2. Using this snippet
    3. If you are using Yoast SEO, check out this Knowledge Base Article

    Best,
    Geoff

    Thread Starter ianthony333

    (@ianthony333)

    Thank you for the reply. The 2nd option worked

    I’ve tried adding the above to my child theme’s functions.php file, but it doesn’t work. Below are the contents of that file, which also includes another snippet to increase the number of posts that export. My events page’s title is still “Archives: Events”. Any help would be appreciated.

    <?php
    add_filter( 'get_the_archive_title', function ( $title ) {
      if ( is_post_type_archive( 'tribe_events' ) ) {
        $title = sprintf( __( '%s' ), post_type_archive_title( '', false ) );
      }
      return $title;    
    });
    add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles' );
    function theme_enqueue_styles() {
    wp_enqueue_style( 'school-time-css', get_template_directory_uri() . '/style.css' );
    }
    add_filter( 'tribe_ical_feed_posts_per_page', function() { return 100; } );
    ?>
    • This reply was modified 2 years, 2 months ago by rkingisl.

    @geoffbel – Sadly adding Option 2 to my child theme functions file, simply brought up an error message when trying to view the Events page.

    Equally sadly, I’m unsure as to what Knowledge Base Article we’re supposed to be looking at, if we’re using Yoast SEO. So that’s not gonna help.

    And I’ve installed the Events Calendar Tweaks Extension. I’ve ticked the Hide “Archive” and sadly that’s done nothing either.

    I understand this is more an issue with WordPress in general, that the calendar is an “Archive” file type and as such apparently doesn’t have an actual title, so the theme just goes with “Archive”. But it really does seem like an issue that’s been around YEARS and ought to be put to bed by now.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘The Events Calendar: How to remove “Archive:” from title on calendar page’ is closed to new replies.