This topic has 14 replies, 5 voices, and was last updated 8 years, 5 months ago ago by Jack Richardson
Is it possible to delete the last section of the bread crumbs. The product name is already on the page, and I would like to take out the last part, which is redundant…
Thank you…
Hello,
You need edit the file wp-content/themes/royal/framework/theme-functions.php in line 3161 and change the code $showCurrent = 1;
to $showCurrent = 0;
Regards,
Eva Kemp.
is it possible to get this done in the child theme? if so, how??
Hello,
Please copy this file into it saving folder structure like:
wp-content/themes/royal_child/framework/theme-functions.php and make your changes there.
Regards,
Robert Hall.
Hello gurhan,
you need to copy file ‘theme-functions.php’ to royal-child/framework folder, edit it in text editor and include it in child theme according to this manual: https://codex.wordpress.org/Child_Themes#Referencing_.2F_Including_Files_in_Your_Child_Theme
Regards,
Stan Russell.
here’s what i did
$showOnHome = 0; // 1 - show breadcrumbs on the homepage, 0 - don't show
$delimiter = '<span class="delimeter">/</span>'; // delimiter between crumbs
$home = __('Home', ETHEME_DOMAIN); // text for the 'Home' link
$blogPage = __('Blog', ETHEME_DOMAIN);
$showCurrent = 0; // 1 - show current post/page title in breadcrumbs, 0 - don't show
$before = '<span class="current">'; // tag before the current crumb
$after = '</span>'; // tag after the current crumb
but didn’t do the trick –> http://www.beaux-artsclassicproducts.com/shop/arts-and-crafts-grille-rr-209-4×6/
here is the file structure –> http://prntscr.com/8wnb7m
which shows that the ‘theme-functions.php’ is in the right directory… (and I did the mods as I indicated previously…)
now, what do you mean by “… and include it in child theme according to this manual:???”
do you mean “include it in the child theme directory???”
if so, it is done…
Hello,
Please provide us with FTP credentials.
Best regards,
Jack Richardson.
any resolution on this matter???
Hello,
You were asked to provide FTP credentials in the previous post.
Please provide them.
Regards,
Eva Kemp.
oops… I thought I did…
here you go…
Hello,
Previously provided code is mentioned to blog posts. As for products I’ve copied the wp-content/themes/royal/woocommerce/global/breadcrumb.php file to your child directory with the needed changes. Please check the site now.
Best regards,
Jack Richardson.
all good.. thank you…!
Hello,
You’re welcome.
Best regards,
Jack Richardson.
The issue related to '‘Bread Crumb Modification’' has been successfully resolved, and the topic is now closed for further responses