• Resolved rkingisl

    (@rkingisl)


    Hello,

    I would like to change the title of this page to read “School Calendar”, as it does in the URL and in the browser tab. I’ve found support articles that show how to change the title of individual events and a page’s meta title, but can’t find a way to change the title of the main events page itself. I need to do this, because this page doesn’t show up in my site-wide search unless I type “events”. Any help would be very much appreciated.

    Thank you.

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

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Support tristan083

    (@tristan083)

    Hi @rkingisl,

    Thank you for reaching out. Have you tried making use of the filter snippet below to change the calendar meta title to “School Calendar”?

    function filter_events_title( $title ) {
        if( tribe_context()->get( 'view_request' ) === 'default' ) {
            $title = 'School Calendar';
        } elseif( tribe_context()->get( 'view_request' ) === 'list' ) {
            $title = 'School Calendar';
        } elseif( tribe_context()->get( 'view_request' ) === 'month') {
            $title = 'School Calendar';
        } elseif( tribe_context()->get( 'view_request' ) === 'day' ) {
            $title = 'School Calendar';
        } elseif( tribe_context()->get( 'view_request' ) === 'summary' ) {
            $title = 'School Calendar';
        } elseif( tribe_context()->get( 'view_request' ) === 'photo' ) {
            $title = 'School Calendar';
        } elseif( tribe_context()->get( 'view_request' ) === 'map' ) {
            $title = 'School Calendar';
        }
        return $title;
    }
    add_filter( 'tribe_events_title_tag', 'filter_events_title' );
    Thread Starter rkingisl

    (@rkingisl)

    Thank you for your quick response. Yes, I’ve used this in my function.php file and it successfully changed the title that is displayed on my browser tab, but not the title (H1) that appears at the top of the page. Any further suggestions would be very much apprciated.

    Plugin Support tristan083

    (@tristan083)

    Hi @rkingisl,

    Thank you for your message and the clarification.

    This could be your theme outputting the_title() on the page. If so, I recommend looking into our The Calendar Page is Showing the Event Title knowledgebase article. Or if hiding the element is an option for you, you can append the following CSS snippet to your theme’s additional CSS section (Appearance -> Customize -> Additional CSS)

    .post-type-archive-tribe_events h1.page-title {
    
       display: none !important;
    }
    Plugin Support Darian

    (@d0153)

    Hi there,

    It appears that we haven’t heard back from you in a while, so I’ll assume that the matter has been resolved. If you need any more help, feel free to start a new thread and we’ll be happy to assist you.

    Hi, I followed the instructions but the title of the page continues to be “Archive” 🙁 http://giuliam43.sg-host.com/eventi/

    Plugin Support Darian

    (@d0153)

    Hi @giuliamameli

    Upon checking, you’re using a different theme. This issue could be related to your page template where the it is fixed to “Archive” for all archive pages. I suggest you reach out to your theme developer for assistance if this is the case.

    If you still have any other questions or issues that need to be addressed, kindly create a new thread explaining the problem you are encountering. This is important to ensure that we comply with the guidelines laid out by WP Forum and to provide you with the best possible assistance.

    Thank you very much, I’ll give it a try!

    Can I also ask if it’s possible to set up the single events like this? I would like them to be displayed as follows:

    1) Title

    below:

    2)Category

    3) Date and location

    Below:

    4)Event description

    Below:

    5)Details including:

    6)Price

    7)Tags

    8)Services

    thank you!

    Plugin Support Darian

    (@d0153)

    Hi @giuliamameli

    For us to assist you better, please create a new support thread explaining your questions or concerns. This is for us to process and track support issues more efficiently, and also ensure that we comply with the guidelines laid out by the WP Forum.

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

The topic ‘Modify Default Calendar Page Title’ is closed to new replies.