You can add the following function in the functions.php of your child theme.
add_filter('get_the_archive_title', 'my_get_the_archive_title' );
function my_get_the_archive_title( $title ) {
if ( is_category() ) {
$title = single_cat_title( '', false );
} elseif ( is_tag() ) {
$title = single_tag_title( '', false );
} elseif ( is_author() ) {
$title="<span class="vcard">" . get_the_author() . '</span>' ;
}
return $title;
}
Related Posts:
- How to make a custom Archive Page
- Get current title of archive.php
- How to get the Custom Post Type Archive inside a folder
- Custom post archive page not opening 404 page
- Change Title Based on Taxonomy Filter in archive-{cpt}.php
- WordPress 3.6 – archive.php doesn’t get triggered [closed]
- Sort results by name & asc order on Archive.php
- Default archive URL wordpress
- Increase number of posts in archive page
- How To Create A Paginated List Of All Categories On My Site?
- How do I remove unwanted pages like archive, search, etc.?
- How to get the custom post type from an archive page?
- How can I lock down an old wordpress install I don’t intend to update?
- Add custom field to the archive page?
- How do I place content on archive pages but not on main page?
- WordPress Posts By Date/Day?
- How can I get the Month Name from Archive?
- Preventing 404 error on empty date archive
- is_archive() returns false on the archives page
- What is archive.php used for?
- Archive by Year
- Archive widget – limit number of months to 12
- How do I visit archive-post.php?
- How do I make wp_get_archives show me months where only pages were created?
- Sort custom-posts in archive.php via meta-key?
- Including post_type = ‘wiki’ in author archives
- Output yearly archive within a page
- Create a month by month archive of pages (not posts)
- How to show specific year archive into dropdown list
- Archive filtering posts by year and month
- How to get the date dynamically from archive.php to date.php?
- Making next_posts_link(); return posts by month
- Count posts for each year
- How can I change the way dates shown in the archive widget?
- display archive as collapsing links
- how do I get the date in a date archive page
- How can I get the ID for an archive page? [closed]
- if in_category on archive.php
- Archive in sidebar with dropdown list of Year – Month – Day
- Arrange and separate posts
- How can I organize/create an archive listing by Year and month
- Change behavior depending on content length
- Customize first page of category
- How to edit archive page’s content inside wordpress dashboard?
- Display only posts from referred category on date archive page
- Cache previous versions of website?
- Archive pages for posts based on their taxonomy?
- Custom template for archive of a custom taxonomy
- front end publishing not working on front-end page
- WordPress custom post type archive with description
- CPT: archive-cpt.php VS custom page template
- How to show static placeholder when less post elements in archive page?
- Custom query in archive.php with pagination nightmare
- How can I get archives for specific category without category_base in the url?
- condition for only if is archive for default post type
- Show only post titles in archives?
- Remove author archive
- Preview Post/Custom Post types in Archive
- if there is only one post in the category, directly open
- How to hide a post from archives
- How to disable monthly archive
- Displaying year, month and day archives differently
- What’s wrong with my date_query?
- How we display Archives for specific categories
- When i try to open archive pages i get a 404 error
- WordPress subcategories return 404 in custom template
- How to Create Custom Archive page
- Does only custom post type have post type archive pages?
- Modify text after post count
- How to show year/month archive including months with no posts
- Why is the custom taxonomy archive page redirecting me to a single post? [closed]
- Displaying Archives List
- Archive links don’t work when clicked
- Custom archives function
- Page is displaying blog archives
- terms_description and admin problem
- wp_get_archives() display months even if there is no posts
- how do I encode links to specific archive searches?
- Some archive by year page return 404
- Group Posts by Category in Monthly Archive
- Loop through years and months in WordPress archives
- How can I define a custom archive for childs of a specific category?
- Dropdown to select posts by month and then displaying those posts in the archive page
- Restoring default article pagination on archives – Removing custom limits
- Why is my site using index.php instead of archive?
- Duplicated posts on category page
- Custom post type archive page blank
- How to override p2 breathe theme plugin in content template file?
- Custom Taxonomy index/archive hierarchy
- If one taxonomy contains the same term as another then display post
- How to filter by date & a specific custom post type post-WP 4.4?
- Author archive doesn’t work [closed]
- Having a problem with Next and Previous Links
- Custom post type archive page thinks I’m not logged in
- How to conditionally check for author archive when is_author() fails to work because the author has no posts
- Is there a better way to do headings for (all) archives?
- Date Archive pages 404 error
- ‘Archive’ folder for posts and pages
- Checking if a specific date archive is being displayed
- Constructing An if Statement with is_category(); in archive.php