Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $title = get_the_title();
- if (is_archive()) {
- $title = str_replace('Category: ', '', get_the_archive_title());
- }
- ?>
- <h1><?php echo esc_html($title); ?></h1>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement