adds extra spacing to item page`s breadcrumb
This commit is contained in:
parent
b5dbdd58ac
commit
1e4107b4f0
|
@ -1,15 +1,14 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
/** The breadcrump function
|
/** The breadcrumb function
|
||||||
* Display parent and current page
|
* Display parent and current page
|
||||||
**/
|
**/
|
||||||
function tainacan_interface_the_breadcrumb() {
|
function tainacan_interface_the_breadcrumb() {
|
||||||
|
|
||||||
$showOnHome = 0; // 1 - show breadcrumbs on the homepage, 0 - don't show
|
$showOnHome = 0; // 1 - show breadcrumbs on the homepage, 0 - don't show
|
||||||
$delimiter = '>'; // delimiter between crumbs
|
$delimiter = '>'; // delimiter between crumbs
|
||||||
$home = __('Home', 'tainacan-interface'); // text for the 'Home' link
|
$home = __('Home', 'tainacan-interface'); // text for the 'Home' link
|
||||||
$showCurrent = 1; // 1 - show current post/page title in breadcrumbs, 0 - don't show
|
$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
|
$after = '</span>'; // tag after the current crumb
|
||||||
|
|
||||||
global $post;
|
global $post;
|
||||||
|
@ -165,6 +164,5 @@ function tainacan_interface_the_breadcrumb() {
|
||||||
}
|
}
|
||||||
|
|
||||||
echo '</nav>';
|
echo '</nav>';
|
||||||
|
|
||||||
}
|
}
|
||||||
} // end tainacan_interface_the_breadcrumb()
|
} // end tainacan_interface_the_breadcrumb()
|
||||||
|
|
|
@ -179,11 +179,11 @@ $next = $adjacent_links['next'];
|
||||||
if ( !get_theme_mod('tainacan_single_item_hide_item_meta', false) ) {
|
if ( !get_theme_mod('tainacan_single_item_hide_item_meta', false) ) {
|
||||||
echo '<span class="time">';
|
echo '<span class="time">';
|
||||||
tainacan_meta_date_author();
|
tainacan_meta_date_author();
|
||||||
echo '</span>';
|
echo '</span>  ';
|
||||||
}
|
}
|
||||||
if ( function_exists('tainacan_the_item_edit_link') ) {
|
if ( function_exists('tainacan_the_item_edit_link') ) {
|
||||||
echo '<span class="tainacan-edit-item-collection">';
|
echo '<span class="tainacan-edit-item-collection">';
|
||||||
tainacan_the_item_edit_link(null, ' - ');
|
tainacan_the_item_edit_link(null, ' - ', ' ');
|
||||||
echo '</span>';
|
echo '</span>';
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Reference in New Issue