Use wp_title
filter to control output
function mamaduka_remove_tax_name( $title, $sep, $seplocation ) {
if ( is_tax() ) {
$term_title = single_term_title( '', false );
// Determines position of separator
if ( 'right' == $seplocation ) {
$title = $term_title . " $sep ";
} else {
$title = " $sep " . $term_title;
}
}
return $title;
}
add_filter( 'wp_title', 'mamaduka_remove_tax_name', 10, 3 );
Related Posts:
- How can I display parent and child taxonomies in separate drop downs?
- Help With issue on pre_get_posts filter in taxonomy
- Taxonomies not appearing in columns on dashboard
- how to get title to custom tags page
- Filtering more than one term in a taxonomy in WP
- How to display term description in empty terms archive?
- Save Filter for Taxonomies
- How to filter WordPress search, excluding post in some custom taxonomies?
- Search by type posts and taxonomy
- Current category link filter
- How Can I Change a Taxonomy URL Based On The Originating URL?
- How to get my post title to work with an apostrophe (‘s)?
- Simple Filter between multiple taxonomys
- Get parent and children taxonomy in different dropbox
- Remove custom taxonomy column from my custom post type columns
- Query posts using custom taxonomy and selected terms
- Build filter for post-type + multi taxonomies + multi terms
- Advanced search redirecting to another page then filter further
- Taxonomy page shows category in title
- Display taxonomy with a maximum number of letters
- saving custom taxonomy as post title
- Drop-down filter doesn’t retrieve custom taxonomies
- Creating a drop-down and filter button for two custom taxonomies assigned to a custom post type
- Filter with two id of the same value CPT UI(taxanomies)
- Amend taxonomy to search in wordpress admin
- Include get_term_link inside search
- Keeping session instance of random display results over pagination breaks
- use apply_filters return taxonomies custom post type
- How to filter a page title with custom taxonomies
- How to paginate with an query var appended to permalink?
- Sort Taxonomy List by Custom Values
- stdClass::$labels /wp-includes/general-template.php undefined
- Custom columns on edit-tags.php main page
- Remove description from on Home
- Custom hierarchal taxonomy loses interface hierarchy when selecting parent & children
- How to add a style to taxonomy edit page
- Determine if Term has Grandparent/Great-Grandparent
- How to fix a double slash in custom permalinks with hierarchical taxonomy’s?
- Getting archive pages in WP’s AJAX internal link finder?
- Dynamically tax_query
- tax_query not working on main query
- Approach for saving a product attribute values with a custom UI in a woocommerce+dokan set up [closed]
- Combine multiple custom user taxonomy in single url
- Ordering Posts with Custom Taxonomy Terms Array
- Taxonomy based permalinks
- “Maximum function nesting level of ‘100’ reached” after adding a new filter
- Taxonomy , subtaxonomy,child taxonomy of a product woocommerce
- wp_query to display custom taxonomy terms
- get_terms in a taxonomy template
- Custom Taxonomy template is not recognised
- WP REST API – Limit the taxonomy search to the first letter
- How to filter terms from a custom taxonomy by a usermeta value on all screens and templates
- AJAX response, edit tags
- List child terms if parent but show nothing on children
- If post has ANY term attached to it, get the first one only
- Locale switching with a “language” taxonomy
- query_posts and custom taxonomy posts order
- Displaying custom taxonomy in the admin list of a custom post type
- Modify “View” in admin panel for custom taxonomy
- How can I run this code once so that my generated post title doesn’t keep changing on publish/update?
- How do I exclude posts from custom taxonomy from a custom post type archive?
- Hide product categories and taxonomy terms in menu if empty
- Using custom taxonomy to tag posts for inclusion in slider
- Custom taxonomy forms for user profile
- Search Tool only refreshes Page without showing results
- Add Taxonomy Subcategory To Permalink
- How can I highlight a top level dashboard menu item created for a custom taxonomy?
- Customizing Primary Menu to include custom taxonomy description
- Rewrites with hierarchical taxonomies in permalink
- Custom Taxonomy with tax_query
- why are the term_id and term_taxonomy_id doesn’t match on custom taxonomies, but are duplicates on categories
- saving meta/custom field to tag
- How to get posts that contain multiple terms from multiple taxonomies?
- Cannot delete or edit a single term in a custom taxonomy, taxonomy name is wrong?
- View the complete list of a taxonomy in the navigation menu
- Getting taxonomies associated with a specified post type
- Changing input type from text to multi select dropdown – skill taxonomy
- What’s the best way to add taxonomy’s image in 2017?
- Count of posts by different parameters?
- Add custom taxonomy as a css class
- Wp_query…a type of term a different div
- Need equivalent of single_term_slug
- Multiple Drop-Down custom taxonomies search
- Issue adding custom taxonomies to custom post type (PHP)
- Taxonomy URL rewrite whilst keeping filtered posts?
- How to loop custom posts that have an exact match in taxonomy terms?
- True or F False Setting of ‘with_front’ Parameter of Rewrite Is returning Exact Same result
- Filter “get_terms” query
- Custom Taxonomy – Dropdown
- Error 404 in Custom taxonomy with pagination
- WordPress Taxonomy Permalinks – Custom?
- Need help understanding a rewrite with multi-level taxonomy
- Change Permalink to Value of Custom Field
- Gravity prerender taxonomy [closed]
- Advanced search: roles and multiple taxonomies
- One taxonomy template for all categories?
- Removing fields from category/taxonomy edit form
- Remove ‘portfolio’ from URL
- add_rewrite_rule pagination 404 error on page 4 and above
- Taxonomies starting with a hyphen (minus) to assign B.C. dates to a post