adds extra spacing to item page`s breadcrumb

This commit is contained in:
Rodrigo de Oliveira 2021-04-19 21:26:59 -03:00
parent b5dbdd58ac
commit 1e4107b4f0
2 changed files with 5 additions and 7 deletions

View File

@ -1,15 +1,14 @@
<?php
/** The breadcrump function
/** The breadcrumb function
* Display parent and current page
**/
function tainacan_interface_the_breadcrumb() {
$showOnHome = 0; // 1 - show breadcrumbs on the homepage, 0 - don't show
$delimiter = '>'; // delimiter between crumbs
$home = __('Home', 'tainacan-interface'); // text for the 'Home' link
$showCurrent = 1; // 1 - show current post/page title in breadcrumbs, 0 - don't show
$before = '<span class="current text-black">'; // tag before the current crumb
$before = '<span class="current text-black"> '; // tag before the current crumb
$after = '</span>'; // tag after the current crumb
global $post;
@ -165,6 +164,5 @@ function tainacan_interface_the_breadcrumb() {
}
echo '</nav>';
}
} // end tainacan_interface_the_breadcrumb()

View File

@ -178,12 +178,12 @@ $next = $adjacent_links['next'];
<?php
if ( !get_theme_mod('tainacan_single_item_hide_item_meta', false) ) {
echo '<span class="time">';
tainacan_meta_date_author();
echo '</span>';
tainacan_meta_date_author();
echo '</span> &nbsp';
}
if ( function_exists('tainacan_the_item_edit_link') ) {
echo '<span class="tainacan-edit-item-collection">';
tainacan_the_item_edit_link(null, ' - ');
tainacan_the_item_edit_link(null, ' - ', ' ');
echo '</span>';
}
?>