Missing image from Physician schema and missing data

#9181
  • Resolved Eric Caldwell
    Rank Math business
    Content AI Creator

    Just installed RM to look at replacing YOAST for all of our SEO client sites. I’m actually testing it with a client who’s a physician. After running a schema check, the only real error is a missing image. I went through the config numerous times and attached proper images sizes where the plugin has settings for them.

    Is this maybe a bug with this schema type or am I missing a setting somewhere? I also use the selector box for the pricing and added phone numbers but that metadata shows missing as well.

    https://www.dropbox.com/s/671z9bcc9zc7o5d/Screen%20Shot%202019-06-30%20at%202.28.46%20PM.png?dl=0

    • This topic was modified 5 years, 5 months ago by Eric Caldwell. Reason: Adding WP login info
Viewing 9 replies - 1 through 9 (of 9 total)
  • Hello,

    This is a bit odd.

    We might need to take a closer look at the settings. Please edit the first post on this ticket and include your WP logins in the designated Sensitive Data section.
    Sensitive Data Section

    It is completely secure and only our support staff has access to that section. If you want, you can use the below plugin to generate a temporary login URL to your website and share that with us instead:

    https://wordpress.org/plugins/temporary-login-without-password/

    You can use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):

    https://wordpress.org/plugins/wp-security-audit-log/

    We really look forward to helping you.

    Eric Caldwell
    Rank Math business
    Content AI Creator

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    Eric Caldwell
    Rank Math business
    Content AI Creator

    Done and thank you!

    Hi Eric,

    Thanks for the follow up.

    I have been able to check the issue on your site and I have submitted this to our developers for closer investigation.

    We will be getting back to you in a short while. Thank you.

    Eric Caldwell
    Rank Math business
    Content AI Creator

    Thanks, might want to have them check these two as well.

    priceRange MISSING_RECOMMENDED_FIELD
    telephone MISSING_RECOMMENDED_FIELD

    Hi Eric,

    Thanks for the follow up.

    I will pass this along too.

    We appreciate your patience. Thank you.

    Todd
    Rank Math free

    Hello,

    We have indentified the issue and will be fixing it with an update very soon.

    You can fix it for now by adding the following code to your theme’s functions.php file:

    /**
     * Collect data to output in JSON-LD.
     *
     * @param array  $unsigned An array of data to output in json-ld.
     * @param JsonLD $unsigned JsonLD instance.
     */
    add_filter( 'rank_math/json_ld', function( $data, $jsonld ) {
        if ( isset( $data['Organization'] ) ) {
            if ( ! empty( $data['Organization']['logo'] ) ) {
                $data['Organization']['image']      = $data['Organization']['logo'];
                $data['Organization']['priceRange'] = '$$';
                $data['Organization']['telephone']  = '1234567890';
                unset( $data['Organization']['logo'] );
    
            }
        }
        return $data;
    }, 99, 2);

    Change the phone number to your own.

    Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.

    Eric Caldwell
    Rank Math business
    Content AI Creator

    Hello,

    We are super happy that this resolved your issue. If you have any other questions in the future, know that we are here to help you.

    If you don’t mind me asking, could you please leave us a review (if you haven’t already) on https://wordpress.org/support/plugin/seo-by-rank-math/reviews/?rate=5#new-post about your overall experience with Rank Math? We appreciate your time and patience.

    If you do have another question in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.

    Thank you.

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

The ticket ‘Missing image from Physician schema and missing data’ is closed to new replies.