• Resolved jimmerd

    (@jimmerd)


    My theme’s code is setting the page title with the code below.
    And it’s showing up as “Archives:”
    I know that I want echo tribe_get_events_title() but can’t figure out how to insert into the theme’s code. Can someone help?
    THANKS!

    <h2>
    <?php
    if ( is_archive() ) {
    the_archive_title();
     } else if ( is_home() ) {
    wp_title('');
     } else if( is_page() ) {
     the_title();
    } else if( is_search() ) {
    rintf( esc_html__( 'Search Results for: %s', 'themename' ), '<span>' . get_search_query() . '</span>' );
     } else {
     the_title();
     }
     ?>
    </h2>

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hey there,

    Thanks for reaching out ??

    Sorry for the wait! We’ve been experiencing a high volume of support requests.

    The Archive text sometimes is generated by SEO plugins like Yoast.

    Check out this guide for tribe_get_events use cases ? https://support.theeventscalendar.com/666307-Using-tribe_get_events

    Take care,
    Ed ??

    Hey there,

    Since this topic has been inactive for a while, I’m going to go ahead and mark as resolved. Don’t hesitate to reopen or create a new topic if you still need help! ??

    Take care,
    Ed ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Archive Title’ is closed to new replies.