For achieve this title you need to extend get_the_archive_title . here is how or check the official doc
function wpse64458_get_the_archive_title($title){
if ( is_category() ) {
$title = single_cat_title( '', false );
} elseif ( is_tag() ) {
$title = single_tag_title( '', false );
}
return $title;
}
add_filter( 'get_the_archive_title', 'wpse64458_get_the_archive_title');
Related Posts:
- How to customize the default HTML for WordPress Attachments
- why won’t my custom css load with the enqueue method or any other method?
- How do I target this page specifically?
- Adding css and js to a blank page created with custom template
- Where are Additional CSS files stored
- How to add a new product type on woocommerce product types? [closed]
- How to include own css on wordpress tinymce editor?
- Updating WordPress overwriting customization tweaks – strategies?
- Is it possible to change the attributes of a registered style or script before it fires?
- wp_trim_words() does not trim the_content() in WordPress
- page_template toggle between 2 templates + 2 permalinks for same post
- Make page template that is just an “include” of another?
- Custom php file in wordpress
- How to get WordPress to accept the tag in articles (or other alternatives)
- WordPress Template not affecting the working, keeps defaulting to the index.php template
- How to remove padding and margin between divi rows? [closed]
- How to display post title & excerpt when mouse hovers on an image?
- Include user defined styles without including wp-load
- Cannot figure out how to center div in WordPress theme [closed]
- how can I change the background color of all posts on my server?
- Remove template drop down for certain pages
- How do I add a new template to my site
- CSS to remove “comments count” icon from main page [closed]
- how to add custom css and js on wordpress post editor directly without using .php file
- How to customize core admin pages within a theme?
- How can I make site-wide content editable, for example footer content
- Adding code to child’s theme css and php cannot override certain elements
- Showcase elementor templates
- Make custom page look exactly as homepage
- Best practice – pages – ACF or inline coding
- Set Title from Custom Template
- Child Theme with multiple css files
- CSS Customizations for certain page
- Custom CSS at Appearance > Edit CSS is missing after update [closed]
- Is there a way to by-pass the pagination function on one custom template?
- Why the css in twenteenfourteen-child theme take no effect?
- How to format text of site subtitle
- how to add custom logo to my template
- WordPress noob, assign custom stylesheet using @import or if? Didn’t work for me
- str_replace inside specific css files [closed]
- Good way to customize admin CSS?
- css media query question [closed]
- Editing a post template
- WordPress archive index page
- Remove header title form page through CSS [closed]
- How to add custom ‘layout’ buttons to wordpress editor?
- How to create custom layouts and static pages in themes for clients
- Custom Content Page
- Create a Page template selector page
- How To Style Links in Content Area With Tag Automatically?
- Force WordPress to load a specific template
- Inline-Table under TwentyTwelve not working
- custom css and javascript not working on page defined as template?
- Dynamic Sidebars based on page name
- How to add Custom Css within the Editor?
- Will WordPress updates remove Gutenberg Additional Classes?
- Custom CSS Nav Menu Style Not Being Applied
- Use Theme CSS in custom code
- How can I style the Comment Section of a blog post
- Conflict between Yoast SEO and my custom theme
- Hide entry-header for a specific category
- How do I make elements in mobile only reverse order?
- how to add custom html and css to wordpress
- How to add a template – so that i can choose a different menu for some pages
- Why does a custom php code inside a custom template not get executed?
- Wrap WordPress Login Form in custom Div
- Customize WP website specific column with CSS
- Two color in one Heading
- Still desperate about multiple TinyMCEs in widgets – is there any good solution to this yet?
- Displaying Child Page’s Information
- Move text from the side of image to below image [closed]
- Style Radio Buttons inside Edit Page (Custom Fields)
- Use another theme template in my theme
- How to echo custom styles in css format?
- Background setting isn’t applied to entire sidebar height
- Taxonomy template by post type
- Best way to create a page outside of the pages list
- Special characters showing in fallback font
- How to support extra color options for shortcodes?
- Single page template
- Will too many overridden css rules lead to performance issues
- Complete Custom Style Part of Site
- add custom css on all page exept of one
- Custom template not working for existing pages [closed]
- Custom CSS File wont work on second Page
- how can i change the html and the css of my word press theme that I bought?
- responsive screen not working [closed]
- Edit image alignment in WordPress twentysixteen child theme on attachment page [closed]
- How customizable is a self-hosted WordPress blog compared to a Blogger blog?
- adding new html css to wordpress section from codepen [closed]
- use another theme for just one page
- Instead of Custom CSS Theme CSS is loading
- Cannot add custom css in site
- Custom CSS working on home page but not on NEW created PAGE
- Post interior margin in twenty eleven theme
- Disable all Fonts that are Standard in WordPress and replacing them with a custom Font?
- Modifying posts based on category in TwentyTwentyTwo theme
- How to display product variations on same row
- Create a page for each database table entries
- Where did I put this one line of css?