diff --git a/src/assets/scss/_post.scss b/src/assets/scss/_post.scss index 112c770..3602406 100644 --- a/src/assets/scss/_post.scss +++ b/src/assets/scss/_post.scss @@ -918,13 +918,13 @@ } } } -#header-meta_pagination { +#breadcrumb-single-item-pagination { font-size: 0.875rem; .pagination { - padding: 0 6px; + padding: 0; &:last-child { - padding: 0; + padding: 0 6px; } a span { display: none; diff --git a/src/functions/breadcrumb.php b/src/functions/breadcrumb.php index b7ebbb9..8ed829d 100644 --- a/src/functions/breadcrumb.php +++ b/src/functions/breadcrumb.php @@ -137,28 +137,32 @@ function tainacan_interface_the_breadcrumb() { if ( is_category() || is_day() || is_month() || is_year() || is_search() || is_tag() || is_author() ) echo ')'; } - if (is_single() && get_theme_mod('tainacan_single_item_show_navigation_options', false)) { + if ( defined ( 'TAINACAN_VERSION' ) ) { + $theme_helper = \Tainacan\Theme_Helper::get_instance(); - $adjacent_links = tainacan_get_adjacent_item_links(); - $previous = $adjacent_links['previous']; - $next = $adjacent_links['next']; + if ($theme_helper->is_post_an_item(get_post()) && is_single() && get_theme_mod('tainacan_single_item_show_navigation_options', false)) { - if ($previous !== '' || $next !== '') { - ?> -