Support » Theme: Astra » Typo in source code, class-astra-breadcrumb-trail.php

  • Resolved kghugo2000

    (@kghugo2000)


    Hi,

    In line 369, it writes 'sitemprop="breadcrumb"'. I guess it should be 'itemprop="breadcrumb"'?

    If so, how can I override this?

    Thank you for reading and your help.

    • This topic was modified 2 years, 6 months ago by kghugo2000.
Viewing 7 replies - 1 through 7 (of 7 total)
  • Hello @kghugo2000

    Yes, you are right and thanks for reporting, our team has patched the same right away!

    It should be fixed in our next update if possible, as the release is almost ready or we will be releasing it after the upcoming one.

    I hope that helps.

    Regards,
    Suman

    Thread Starter kghugo2000

    (@kghugo2000)

    Great! I find two other bugs in that file.

    Attributes for itemprop numberOfItems and itemListOrder should be 'itemprop', yet it is written as 'name' in the file, which is not working.

    Also I have a question. Why there are not schema mark-up for the last trailing item? Is seems weird to count all items with numberOfItems, but do not provide any information about the last item. Maybe I have missed something there?

    Thank you for reading and your help.

    Hello @kghugo2000

    Thanks for pointing that out! 🙂

    # Attributes for itemprop numberOfItems and itemListOrder should be ‘itemprop’, yet it is written as ‘name’ in the file, which is not working.
    => Our developers have noted the same and it shall be updated soon in our upcoming updates.

    # but do not provide any information about the last item
    => We shall fix this in our future updates.

    Regards,
    Suman

    Thread Starter kghugo2000

    (@kghugo2000)

    Great thank you!

    Was this resolved with the most recent update? I’m still getting the search console error that “either name or item.name must be specified” plus my breadcrumbs aren’t displaying properly on some pages. The “itemprop” is just that, only “itemprop” and not ‘itemprop=”breadcrumb”‘. Or is this an entirely different issue all together? I can share an example link if need be.

    Thanks 🙂

    Not yet, @amcookie!

    For the initial reported issue, we do have it lined up and should be fixed in the upcoming updates by next month.

    Regards,
    Suman

    @brainstormteam Thanks for the update, Suman!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Typo in source code, class-astra-breadcrumb-trail.php’ is closed to new replies.