-
AuthorPosts
-
March 6, 2017 at 8:48 am #756231
Hi,
On my site the breadcrumb is showing the Home(etusivu in finnish) -link even though page is not saved under home-page. For example here:
How could I remove that Home-link when the page does not belong under the homepage?
March 9, 2017 at 1:05 pm #758324Hey JKankkunen,
Please add following code to Functions.php file in Appearance > Editor
add_filter('avia_breadcrumbs_args', 'avia_remove_home_breadcrumb', 10, 1); function avia_remove_home_breadcrumb($args){ $args['show_home'] = ""; return $args; }
Best regards,
YigitMarch 11, 2017 at 7:48 am #759303Hi
I tried that but the result was that now the breadcrumb included the parent page in front of the breadcrumb.
Before:
You are here: Home / Solutions / EWQ Digital Signage / EWQ DISPLAYSAfter:
You are here: EWQ Digital Signage / Solutions / EWQ Digital Signage / EWQ DISPLAYSMarch 14, 2017 at 2:25 pm #760728Hi,
Please post us your login credentials (in the “private data” field), so we can take a look at your backend.
Login credentials include:
- The URL to the login screen.
- A valid username (with full administration capabilities).
- As well as a password for that username.
- permission to deactivate plugins if necessary.
Best regards,
YigitMarch 15, 2017 at 9:14 am #761226Attached :)
March 17, 2017 at 12:56 pm #762449Hi,
Sorry for the late reply!
Editor is missing under Appearance tab. Could you please post FTP logins here privately as well? We are going to need to edit functions.php file :)If you would like to hide it using CSS, please add following code to Quick CSS in Enfold theme options under General Styling tab
a.trail-begin, a.trail-begin + .sep { display: none!important; }
Best regards,
YigitMarch 17, 2017 at 1:01 pm #762453Hi,
Here is the FTP-info :)
March 17, 2017 at 1:25 pm #762467March 17, 2017 at 1:30 pm #762475Hmm, the credentials are correct but maybe our webhost has blocked other countries etc from ftp.
Well, I now modified the WordPress-settings so that the file-editor is available. Could you do the changes there?March 22, 2017 at 8:05 am #764633Hi,
Please add this in the functions.php file:
add_filter('avia_breadcrumbs_trail', 'avia_breadcrumbs_args_mod', 10, 2); function avia_breadcrumbs_args_mod($trail, $args){ unset($trail[0]); return $trail; }
Best regards,
IsmaelMarch 22, 2017 at 8:20 am #764642Thank you, that did the trick :)
March 23, 2017 at 1:25 pm #765410 -
AuthorPosts
- The topic ‘How to remove the Home-link from breadcrumbs’ is closed to new replies.