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 8 years, 8 months ago by
PressTigers.
I’m using a child theme and added the code totthe child theme function.php
http://prntscr.com/gu5w6v
The page title head clearly is Events
http://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.
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
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
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