breadcrumbs & title – custom taxonomy

Posted in: Newspaper
Post count: 7

hi.
copy category.php to taxonomy-[$taxonomy].php
add in template

$taxonomy = get_query_var(‘taxonomy’);
$term_slug = get_query_var( ‘term’ );
$current_term = get_term_by( ‘slug’, $term_slug, $taxonomy );

$cur_cat_id = $current_term->term_id;
$cur_cat_obj = get_term( $cur_cat_id, $taxonomy );

template dont show breadcrubs and title for taxonomy

Post count: 7909

Hi,

The breadcrumbs and title for category page is not in category.php file because theme has a custom template for these pages, please check here – http://screencast.com/t/vvVqXMAxBip
Please provide more details if this is not what you mean.

Hope this helps!

Post count: 7

I understand, but
td_category_template
called from taxonomy-[$taxonomy].php
and dont show title & breadcrubs for custom taxonomy

Question.
what parameters transfer to td_category_template
from taxonomy-[$taxonomy].php
to display the title & breadcrubs

Post count: 6600

Hi,

Unfortunately I can’t offer an answer on this as the theme hasn’t been tested with custom post types or custom taxonomy and it was designed for the default WordPress taxonomy and post types: https://codex.wordpress.org/Post_Types

I suggest you hire a developer to help you implement another posts type into the theme as you need custom work for it and we cannot offer any at this time. sorry!

Thanks for the message!

Viewing 4 posts - 1 through 4 (of 4 total)
The forum ‘Newspaper’ is closed to new topics and replies.