• Resolved laballo

    (@laballo)


    Hallo Lester,
    i use schema.org LocalBusiness, and when i test it on Google structured-data i get many errors. Have i to change the wp-postratings.php manuelly? For example change this
    $site_logo = apply_filters( ‘wp_postratings_site_logo’, $site_logo );
    $post_meta .= ‘<div style=”display: none;” itemprop=”publisher” itemscope itemtype=”https://schema.org/Organization”>&#8217;;
    $post_meta .= ‘<meta itemprop=”name” content=”‘ . get_bloginfo( ‘name’ ) . ‘” />’;
    $post_meta .= ‘<div itemprop=”logo” itemscope itemtype=”https://schema.org/ImageObject”>&#8217;;
    $post_meta .= ‘<meta itemprop=”url” content=”‘ . $site_logo . ‘” />’;
    $post_meta .= ‘</div>’;
    $post_meta .= ‘</div>’;

    to LocalBusiness?

    Thank you for the great Plugin!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Lester Chan

    (@gamerz)

    Sorry, I don’t think I can advise you as I don’t use and have no experience of using LocalBusiness schema. You might want to hire a dev to do it.

    Thread Starter laballo

    (@laballo)

    Hi Lester,
    thanks for answer. i found a solution to do this, i modify the wp-postratings and it works when i test it on google- but look for a dev so he can make it per functions.php – than its not override after update.

    Thank you Lester for your fast support!!!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Use Schema.org for LocalBusiness’ is closed to new replies.