• The author is not displayed for AMP. It is blank in structured data.

    To make it work perfectly on AMP pages it was necessary to change the author to receive YASR_BLOGPOSTING_ORGANIZATION_NAME in the file yasr-functions.php

    $author = get_the_author();

    The code below works

    $author = YASR_BLOGPOSTING_ORGANIZATION_NAME,

    The problem occurs only on AMP pages.

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Contributor dudo

    (@dudo)

    author is a “person” type in the schema, that instead is a field for an “organization” type.

    Are 2 differents entities.

    Further, Yasr shortcodes doesn’t support amp pages

    Thread Starter Douglas Ferraz

    (@douglasferraz89)

    I know they are different entities.

    Your plugin does not allow voting but can display the ratings. This is of enormous value.

    It just can not extract the data for the published author for the structured data.

    Plugin Contributor dudo

    (@dudo)

    It’s pretty strange btw; I’ll take a look to it, and see of is possibile to insert the author (not the organization) somehow

    Thread Starter Douglas Ferraz

    (@douglasferraz89)

    I can also put the author’s name right in the code, but since this great plugin is updated frequently, it would have a huge job on every update.

    And did not say before, but congratulations for the great plugin.

    I’ll also investigate here, if I find something that might be useful, I write in this post.

    Plugin Contributor dudo

    (@dudo)

    thank you ??

    Plugin Contributor dudo

    (@dudo)

    I dind’t forget this: I’m working to improve whole rich snippets

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Problem in Structured Data for AMP’ is closed to new replies.