[Resolved] Display Taxonomy Name At Top Of Archive
The Toolset Community Forum is closed, for technical support questions, please head on to our Toolset Professional Support (for paid clients), with any pre-sale or admin question please contact us here.
This support ticket is created 9 years ago. There's a good chance that you are reading advice that it now obsolete.
This is the community support forum for Types plugin, which is part of Toolset. Toolset is a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients and people who registered for Types community support can post in it.
=> Could you please send me few screenshots where exactly you want to display your taxonomy name at top and at which portion of the page?
=> Which taxonomy name you want to display?
=> A link where I can see your issue will be helpful.
Also, Please send me the setup explaining your CPT, taxonomies, veiws etc..etc..
I've attached a screenshot. There is only one test item in my taxonomy archive, but I basically would like the taxonomy name ("Private Chef") on top of the archive. I want to use the taxonomy archive template for both Private Chef and Yacht Chef, though I know I can create a separate version for each and hard-code the taxonomy name at the very top. I was just hoping to single-source them to the same archive template so if I made changes, I'd only have to do it once.
Unfortunately, the beta site is in a protected view so I can't give you a URL. Let me know if you need more information.
I just did the same thing for archive descriptions, as both
[wpv-post-taxonomy type="level" format="name"] &
[wpv-post-taxonomy type="level" format="description"]
was buggy when posts belonged to several taxonomies at once.
/* Do similar thing for archive descriptions */
function custom_get_archive_description( $atts ){
return get_the_archive_description();
}
add_shortcode( 'wpv-archive-description', 'custom_get_archive_description' );
The forum ‘Types Community Support’ is closed to new topics and replies.
This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.