XenForo Google asks for "comment"?

R

Robert9

Guest
Today i got a message from Google about a not critical error with missing "comment".
The KI says i need something like this in my thread_view:

Code:

Code:
,"comment": [
        <xf:foreach loop="$posts" key="$postId" value="$post" if="$post.messageState == 'visible' && !$post.isFirstPost()">
            {
                "@type": "Comment",
                "author": {
                    "@type": "Person",
                    "name": "{$post.User.username|escape('json')}"
                }...

Read more

Continue reading...