Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author PressTigers

    (@presstigers)

    Hello @ventherion,

    You can do this using sep_archive_page_title filter. Just add the following code in your activated theme’s functions.php to change the event archive title. Please add the following code to change your event archive title.

    add_filter('sep_archive_page_title', 'change_sep_archive_title');
    
    function change_sep_archive_title() {
        $title = esc_html__('Events', 'simple-event-planner');
        return $title;
    }

    Let us know if you need any other assistance from us.

    Thanks & Regards

    • This reply was modified 7 years, 5 months ago by PressTigers.
    Thread Starter ventherion

    (@ventherion)

    I’m using a child theme and added the code totthe child theme function.php
    https://prntscr.com/gu5w6v

    The page title head clearly is Events
    https://prntscr.com/gu5vxe

    I also tried to copy the archive-event-listing under child theme folder/simple_event_planner/public/partials

    None of it worked.

    Plugin Author PressTigers

    (@presstigers)

    Hello @ventherion,

    You are mixing both archive page and manually created page. As archive page automatically created while plugin activated. This is due to the same slug. Please change your events page slug you have created from the backend and then see results.

    You can also customize event archive listing template by placing the template in activated theme’s directory as:
    yourtheme/simple_event_planner/archive-event-listing.php

    Let us know if you need any further assistance from us.

    Thanks & Regards

    Thread Starter ventherion

    (@ventherion)

    Is there a way to take away the slug /events from Events Archive?

    Can I change the Events Archive page to /events-archive? So that /events would be available to use for the page. Thanks

    Plugin Author PressTigers

    (@presstigers)

    Hello @ventherion,

    Currently, we are not providing this feature in our plugin. For this development effort required.

    You can use the register_post_type_event_listing to modify the rewrite slug parameter. It is hooked in the class-simple-event-planner-post-type-event-listing.php file at line # 145 placed in simple-event-planner/includes directory.

    Thanks & Regards

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