Archive Title
-
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)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Archive Title’ is closed to new replies.