Tagged: 

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1252232

    Hallo zusammen,

    ich habe einen Kunden der ebenfalls das Enfold Theme nutzt aber nun einen Fehler in der Breadcrumbs Ansicht hat.

    Es wird wie folgt angezeigt:
    Du bist hier:Startseite / / Daytrading / Daytrading Broker

    Soll aber so aussehen:
    Du bist hier:Startseite / Daytrading / Daytrading Broker

    Habe einen Link zur Seite mit gesendet.

    Hier noch ein Quellencode:
    <div class=”breadcrumb breadcrumbs avia-breadcrumbs”><div class=”breadcrumb-trail”><span class=”trail-before”><span class=”breadcrumb-title”>Du bist hier:</span></span> <span itemscope=”itemscope” itemtype=”https://schema.org/BreadcrumbList”><span itemscope=”itemscope” itemtype=”https://schema.org/ListItem&#8221; itemprop=”itemListElement”><span itemprop=”name”>Startseite</span><span itemprop=”position” class=”hidden”>1</span></span></span> <span class=”sep”>/</span> <span itemscope=”itemscope” itemtype=”https://schema.org/BreadcrumbList”><span itemscope=”itemscope” itemtype=”https://schema.org/ListItem&#8221; itemprop=”itemListElement”><span itemprop=”name”></span><span itemprop=”position” class=”hidden”>2</span></span></span> <span class=”sep”>/</span> <span itemscope=”itemscope” itemtype=”https://schema.org/BreadcrumbList”><span itemscope=”itemscope” itemtype=”https://schema.org/ListItem&#8221; itemprop=”itemListElement”><span itemprop=”name”>Daytrading</span><span itemprop=”position” class=”hidden”>3</span></span></span> <span class=”sep”>/</span> <span class=”trail-end”>Daytrading Broker</span></div></div>

    Danke für die Hilfe.

    #1252941

    Hey BvHolt,

    Thank you for the inquiry.

    Looks like the parent page is missing from the breadcrumb. Did you modify the breadcrumb trail, or add any modifications for the breadcrumb in the functions.php file?

    Best regards,
    Ismael

    #1252971

    Hello Ismael,

    The articles have no parent the functions.php nothing has been changed.
    Although they both stand under the point Daytrading.

    Best regards
    Bastian

    ################

    Hallo Ismael,

    die Artikel haben keine Übergeordnete Kategorie. Auch in der functions.php wurde nichts geändert.
    Obwohl sie beide unter dem Punkt Daytrading stehen.

    Beste Grüße
    Bastian

    #1253834

    Hi,

    Thank you for the info.

    Would you mind sharing the login info so that we could check the dashboard? Please post the details in the private field and make sure that the Appearance > Editor panel is accessible so that we could edit the files when necessary.

    // https://wordpress.org/support/article/hardening-wordpress/#disable-file-editing

    Set DISALLOW_FILE_EDIT to false.

    Best regards,
    Ismael

    #1253841

    Hello,

    we set DISALLOW_FILE_EDIT to false.

    Details in Privat.

    Greez and Thanks

    #1254285

    Hi,

    Thank you for the info.

    We are still not sure where the first trail in the breadcrumb comes from but we managed to remove it using this filter in the functions.php file.

    add_filter( 'avia_breadcrumbs_trail', 'avf_remove_element_from_trail', 50, 2 );
    function avf_remove_element_from_trail( $trail, $args ) {
    	if ( is_single() ) {
    		unset ($trail[1]);
    	}
    	return $trail;
    }

    This filter should only work or take effect in the posts.

    Best regards,
    Ismael

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘breadcrumbs avia-breadcrumbs error’ is closed to new replies.