Possibly not the most elegant. This is my new code snippet based on the Genesis archive.php
add_action( 'genesis_before_content_sidebar_wrap', 'custom_do_archive_headings_headline', 12, 3 );
function custom_do_archive_headings_headline( $heading = '', $intro_text="", $context="" ) {
if (is_tax()) {
$archive_title = single_term_title( '', false );
printf( '<div class="title-banner"><div class="inner-wrap"><h1 class="entry-title">%s</h1></div></div>', strip_tags( $archive_title ) );
}
}
Thanks @filipecsweb @Milo
Related Posts:
- get_the_term_list without links in 3.1
- Custom columns on edit-tags.php main page
- get_term_children for immediate children only (not grandchildren)
- Creating a non-removable taxonomy term
- Is it possible to use one slug for Multiple Taxonomies?
- Get total number of comments from posts in a specific custom taxonomy
- Display one post from each term in a custom taxonomy [closed]
- Is it possible to add taxonomies to user profiles?
- Get terms from multiple taxonomies
- get_terms showing link to category even if all posts are drafts
- How to restrict on selecting child taxonomy
- How can I set a default listing order on the admin page for a custom taxonomy? (without plugins)
- Is it possible to sort the post based on a custom field?
- How do I get terms as a list for a specific post?
- get taxonomy terms for parent and child
- On Taxonomy Template page, want to add Post_Type
- Separator for multiple terms
- The next_posts_link() show me a aditional page in blank
- Help building array hierarchically with taxonomies (to get posts)
- How get custom field from custom taxonomy?
- What are terms and taxonomy, how they related to post and how these three are stored in database?
- Get multiple term objects by ids
- Echo custom taxonomy term name
- Next and Previous links on a single taxonomy page only link to same term
- Why does WP rename similar “term name”-slugs in separate taxonomies?
- Move terms from one taxonomy to another keeping the hierarchy
- How can I get WP to build a feed based on multiple taxonomy terms
- Getting the selected terms for custom taxonomies in the editor
- Change permalink of post if it belongs to custom taxonomy
- Set custom post type terms by id without knowing taxonomy
- How to determine the depth of a term in a custom taxonomy?
- How do I Use Multiple Loops with WP_Query?
- $wpdb query a post type within a specific taxonomy term while ordering posts by custom meta value?
- Term count by user
- Catchable fatal error on custom category post
- How to add contents of a custom field to a taxonomy term list?
- Google Map Shortcode for Custom Taxonomy/Post Types
- Querying two taxonomies
- How to target parent product category and its children using WooCommerce?
- Custom taxonomy query is empty. 0 = 1 in SQL
- How do you reorder the custom taxonomies on the right side of a custom post edit page?
- Custom Taxonomies not retaining hierarchy while importing from one site to another
- What is the most efficient way of implementing a notification system? [closed]
- Remove custom taxonomy column from my custom post type columns
- Output single post custom taxonomy child terms
- Check if custom taxonomy has posts with get_categories()
- How to add images to taxonomy terms? [duplicate]
- Echo custom taxonomy slug
- Remove a href from this code
- Adding a second custom taxonomy to a custom post type (both shown in its table)?
- How to check if a post has at least 2 terms from a custom taxonomy attached?
- Get post terms from multiple custom taxonomies
- Terms Per Page in custom taxonomy Admin
- How to get attached image to taxonomy..?
- How to get list of only custom taxonomies?
- How can I add a custom permalink to a term?
- Custom taxonomy display name issue
- Variable Not Working Inside is_author() Array
- Disable a Custom Taxonomies default save mechanism
- Replicate Drupal form options as taxonomies?
- Sort taxonomy page alphabetically by meta rather than default post date
- Random category URLs not working
- Listing only custom post types with two required categories?
- custom taxonomies label in hebrew
- Amend taxonomy to search in wordpress admin
- Product custom taxonomy is not found when space in name
- Display term picture of each post in a loop
- filter for thumbnail not working for custom taxonomy term
- Clean Taxonomy terms in new post type wordpress
- Custom taxonomy only gets saved in quick edit
- How to exclude the common terms?
- Get tags name under custom taxonomy in wordpress
- How to get all the terms from a custom hierarchical taxonomy via REST api?
- Show message if term slug changed
- Get post meta value outside of the loop
- Unable to create a new taxonomy
- Remove Custom metabox from particular page template is used
- generate random slug when adding taxonomy
- Custom Taxonomy – Dropdown
- How to show selected check box vendors on front end home page?
- Error 404 in Custom taxonomy with pagination
- Custom post type term names with ampersand in the term name
- WordPress Taxonomy Permalinks – Custom?
- Need help understanding a rewrite with multi-level taxonomy
- custom taxonomy don’t return a value
- Display custom post term or taxonomy
- Attaching meta box to specific category/taxonomy in custom post type
- Change Permalink to Value of Custom Field
- Where to put a migration script to switch post information?
- Display custom post taxonomies
- Gravity prerender taxonomy [closed]
- Custom Taxonomy type in nav menu
- Advanced search: roles and multiple taxonomies
- One taxonomy template for all categories?
- Get post terms with hierarchical relationships
- Removing fields from category/taxonomy edit form
- Error in Custom Taxonomy UI
- Remove ‘portfolio’ from URL
- Two taxonomies with the same slug
- Hook function when taxonomy terms change