Comments dancedarted started the conversationFebruary 12, 2019 at 4:05pmIs there a way to change the title of archive pages for different custom types created with Toolset using your Soledad theme?The title says: "Archive" and I would like to customize this name to be the same as the custom post type.Much thanks! 2,700PenciDesign repliedFebruary 13, 2019 at 3:16amHi,If you want to do that, you need to edit the file soledad/archive.php from the theme.On line 74 - 78, change this code: else : echo '<h1 class="page-title">'; echo penci_get_setting( 'penci_trans_archives' ); echo '</h1>'; endif; to something like this: else : echo '<h1 class="page-title">'; if( is_tax('tax-slug') ){ echo 'The name you want to display'; } else { echo penci_get_setting( 'penci_trans_archives' ); } echo '</h1>'; endif; Change 'tax-slug' to your custom taxonomy slug and 'The name you want to display' to the title you want.Best Regards,PenciDesigndancedarted repliedFebruary 14, 2019 at 5:45pmThanks. Your recommendation resolved issue.I used : is_post_type_archiveAnd not: is_taxsince I wanted to rename archive page and not taxonomy page. Sign in to reply ...
Is there a way to change the title of archive pages for different custom types created with Toolset using your Soledad theme?
The title says: "Archive" and I would like to customize this name to be the same as the custom post type.
Much thanks!
Hi,
If you want to do that, you need to edit the file soledad/archive.php from the theme.
On line 74 - 78, change this code:
to something like this:
Change 'tax-slug' to your custom taxonomy slug and 'The name you want to display' to the title you want.
Best Regards,
PenciDesign
Thanks. Your recommendation resolved issue.
I used : is_post_type_archive
And not: is_tax
since I wanted to rename archive page and not taxonomy page.