Tell us what you are trying to do?
I am editing WP archive templates for several Custom Post Types. The loop works fine but I haven't been able to display that specific Custom Post Type as the title of the page.
So for example on tis page: hidden link I would like the title to be
Type of Digital Intervention: Digital Advisory.
Is there any documentation that you are following?
I used this page: https://toolset.com/documentation/recommended-themes/toolset-divi-integration/design-archives-for-custom-post-types-with-divi-builder-and-toolset/
Is there a similar example that we can see?
What is the link to your site?
Hi Stefanie,
Thank you for contacting us and I'll be happy to assist.
To show the titles of your WordPress archive pages, you can use the shortcode “wpv-archive-title”
( ref: https://toolset.com/documentation/user-guides/views-shortcodes/#wpv-archive-title )
This shortcode doesn’t accept any attributes, but to customize these titles, you can use “get_the_archive_title” and WordPress conditional tags.
Following are some useful resources on the topic:
https://developer.wordpress.org/reference/functions/get_the_archive_title/
https://codex.wordpress.org/Conditional_Tags
I hope this helps! Please let us know if you need any further assistance.
Regards,
Waqar