Remove default Testimonials page

Hi there

Being a front-end dveloper, I’m naturally not familiar with PHP.

I am making a custom testimonial page and need to use the URL ~/testinomials/. It seems that the slug defaults to an “Archive Testimonials” page.

Can anyone provide a script to remove the default Testimonials page please?

Thanks

Hello,

I don’t think that there is an easy way to do it. As an option, you can try to use /our-testimonials/ slug for that page, or copy archive.php template to a child theme, reneme it to archive-testimonials.php, and edit it accordingly to your needs. You can check this link for more details if you want to understand why you should use that specific file name:
https://developer.wordpress.org/themes/basics/template-hierarchy/

Kind Regards, Roman.