Tagged: breadcrumb
-
AuthorPosts
-
October 12, 2020 at 11:12 am #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 BrokerSoll aber so aussehen:
Du bist hier:Startseite / Daytrading / Daytrading BrokerHabe 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” 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” 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” 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.
October 15, 2020 at 8:07 am #1252941Hey 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,
IsmaelOctober 15, 2020 at 10:30 am #1252971Hello 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
BastianOctober 19, 2020 at 7:27 am #1253834Hi,
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,
IsmaelOctober 19, 2020 at 7:50 am #1253841Hello,
we set DISALLOW_FILE_EDIT to false.
Details in Privat.
Greez and Thanks
October 20, 2020 at 9:46 am #1254285Hi,
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 -
AuthorPosts
- The topic ‘breadcrumbs avia-breadcrumbs error’ is closed to new replies.