custom post types – Change CPT archive title


I’ve created a custom post type named “documents” wich is working fine. By default, the CPT archive page title will also show “documents” as a title. I want to change that page title to “Library”.

I tried the solution in

Custom Post Type – Archive page title

But it dates back 7 years and doesn’t seeem to work anymore. Only the meta title is changed. Not the page title.

Can someone help me with this?

MaxPower 1 year 2021-08-16T11:12:08-05:00 0 Answers 0 views 0

Leave an answer