Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #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?

    #758324

    Hey 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,
    Yigit

    #759303

    Hi

    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 DISPLAYS

    After:
    You are here: EWQ Digital Signage / Solutions / EWQ Digital Signage / EWQ DISPLAYS

    #760728

    Hi,

    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,
    Yigit

    #761226

    Attached :)

    #762449

    Hi,

    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,
    Yigit

    #762453

    Hi,

    Here is the FTP-info :)

    #762467

    Hey!

    I am getting “connection refused” error :/

    Cheers!
    Yigit

    #762475

    Hmm, 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?

    #764633

    Hi,

    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,
    Ismael

    #764642

    Thank you, that did the trick :)

    #765410

    Hi,

    Glad Ismael could help! :)

    Let us know if you have any other questions or issues!

    Best regards,
    Yigit

Viewing 12 posts - 1 through 12 (of 12 total)
  • The topic ‘How to remove the Home-link from breadcrumbs’ is closed to new replies.