• Resolved ebaad

    (@ebaad)


    Hello,

    I am using Primer/Scribble theme with free version of the event calendar. All works well except,

    List view shows “Archives: Events” on the page title.
    Month view shows “Archives:” on the page title.
    Day view shows “Archives: Events” on the page title.

    WEBSITE URL: https://www.islamicsocietysr.org/events

    Please help me remove the “Archives:” part, I have searched around and am now ready to bang my head on the wall to resolve this issue.

    Thanks.

    • This topic was modified 5 years, 9 months ago by ebaad.

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

Viewing 4 replies - 16 through 19 (of 19 total)
  • @randybravo I hired some guy on fiverr to do it for $20! He told me he added a condition to templates/parts/page-title.php that changes the title when it is an archive events page. Hope that helps!

    @ebaad — You are an absolute genius!

    I found a similar snippet in my theme (after much searching theme/inc/hook/custom.php) and changed it.
    I’ll set about setting up a child theme next so that I don’t lose that little bit of your genius in my next upgrade

    zeninlondon.org/events ??
    cheers!
    5t

    I’m having this problem as well and I’m not using Yoast. Is there an easy fix that works?

    @karenafox – I tried for ages – but the only method I found which worked was searching the theme code as in Ebaad’s solution above and changing it:

     case is_archive() :
    
                            /* ADDED EVENT TITLE TO REPLACE ARCHIVE IN EVENT CALENDAR POSTS --- EA 01/03/2019*/
                            //$title = wp_strip_all_tags( get_the_archive_title() );
                            $title = esc_html__('Events', 'primer');
                            break;
    

    So sadly, it’s not easy, but it works great!
    -st

Viewing 4 replies - 16 through 19 (of 19 total)
  • The topic ‘Event page title is replaced by Archive’ is closed to new replies.