To expand your conditional to check for display of one of your terms, you can do this:
if ( is_page() ) {
the_title();
} elseif ( is_tag() ) {
single_tag_title();
} elseif ( is_tax( 'mtags' ); ) {
single_term_title('More Tags: ');
}
However, if you use your theme’s custom taxonomy template for this taxonomy, taxonomy-mtags.php
, then you can just do something like:
<h1 class="page-title">
<?php single_term_title('More Tags: '); ?>
</h1>
Related Posts:
- How to remove the tag cloud from custom taxonomy admin page?
- Custom columns on edit-tags.php main page
- custom post type taxonomy “tag” archive : no post found
- Exclude Specific Term from Search
- Can I turn off write-in tags/taxonomies?
- Is it possible to use one slug for Multiple Taxonomies?
- How to remove “Taxonomy name:” from wp_title
- Widget to display custom taxonomy tag cloud
- Post tags saving as both tag name & tag ID on post update when tags are displayed as checkboxes
- Non-hierarchical custom taxonomy using checkboxes on edit-screen -> saving issue
- Page queried instead of a custom taxonomy
- How to display and use all existing tags at my write-post-at-frontend-panel?
- Landing in 404 Page on Navigating to Custom Taxonomy Archive
- How do I display a tag cloud with both post tags AND a custom taxonomy?
- Can I turn off write-in tags/taxonomies?
- WordPress renames slug of tags used in multiple taxonomies?
- Allow only 1 instance of each term in each custom taxonomy
- How do I make a custom taxomony appear like tags?
- Getting yoast title for custom taxonomy
- Make tag cloud links consistent
- meta_key & meta_value not working with get_pages and custom taxonomy
- Current category link filter
- Hook to change Custom Tag Taxonomy Links?
- How to adjust code to refresh a dropdown box with tags that are active on filtered category listing
- Metabox to list/store a certain type of post tag
- Sorting Tags by Slug Value
- How to get my post title to work with an apostrophe (‘s)?
- Extend & Search Native WordPress Image Galleries With Tags and Taxonomies?
- How to filter a post in the Tag Cloud widget, using tags of a media library image attached to the post?
- Tell the difference between a term and page when they have the same ID
- Replace taxonomy permalinks
- Front-End Custom Taxonomy Tag Select
- Create custom taxonomy and Display in metabox dropdown
- Output unique taxonomy terms of posts inside a loop
- Problem with removing post tags programmatically
- Is it safe to register a taxonomy without using any hooks?
- How to get custom category’s link?
- saving meta/custom field to tag
- Changing input type from text to multi select dropdown – skill taxonomy
- how to get term id from current post type instead of name
- Remove taxonomy widget from “PAGE” post
- WordPress sub taxonomy template
- Sort and paginate custom post taxonomies alphabetically
- Displaying user selected custom tags/taxonomies on the front-end
- Taxonomy page shows category in title
- Featured Images for Tags?
- saving custom taxonomy as post title
- Page for custom taxonomy
- Can You Build Page Templates Without Extra Files
- Displaying the post count of all custom taxonomy terms in a list format
- Taxonomies on Pages with Custom Formatting
- register_taxonomy for both ‘Post’ & ‘Page’
- Automatically tag posts based on user-defined words [closed]
- making an index from custom taxonomies and tags of posts (not hierarchical taxonomy)
- Set two terms for a post when they differ only by an accent
- Change the full permalink (URL) of a single post by connecting it to a specific page
- True or F False Setting of ‘with_front’ Parameter of Rewrite Is returning Exact Same result
- Get tags name under custom taxonomy in wordpress
- Get taxonomy link with post type slug prefix
- Filter Tags for current users
- See double taxonomy inputs in WP editor
- How to filter a page title with custom taxonomies
- Unregistered taxonomy apears still as emtpy filter list
- Limit Tag Links in Post Content
- setting a custom post type taxonomy term by code
- transfer two existing taxonomy terms into one custom metabox
- Add and Custom category for posts “PAGE”
- Change the Page Title of the Archive Page for Portfolio Tags
- How to create page that lists tags by initial letter?
- Dynamic drop down of child terms and then drop down posts
- How to get list of custom taxonomies based on custom post type
- Using wp_tag_cloud with only current post tag with special class
- Get Posts by tag from a custom taxonomy
- Child Pages and Custom Taxonomies
- How to make an sql query to exclude everything but custom taxonomy terms in table wp_terms?
- Where to put a migration script to switch post information?
- Display the first tag assigned to a post
- Display custom post taxonomies
- How can I change the title of the Home link in the navigation bar?
- stdClass::$labels /wp-includes/general-template.php undefined
- How to randomise a custom taxonomy tag cloud
- How do i change the tags and taxonomies
- What is the current page’s Taxonomy?
- Any way to make custom taxonomy field searchable?
- How to get tags with custom taxonomy field?
- How to associate string with individual use of taxonomy term
- Primary Taxonomy for Post
- Group custom taxonomies based on tags contained in their posts
- Return only the custom sub-term for custom post type, do not echo term-parent
- Any tag pagination page (except the 1st page) loads index.php template instead of tag.php
- Custom Taxonomies Cababilities
- Force Balance Tags not working
- Prevent users from adding taxonomy terms
- How can I reduce amount of ifs and else ifs in this specific block of code?
- How to code custom special page
- Exporting Custom Taxonomy Description without Plugin
- Best Method to Switch Between Terms (Custom Taxonomy)
- Getting the parent terms adds additional empty markup [closed]
- Using post type archive page for taxonomy archive
- Taxonomy archive link from term id