Custom CPT reviews

#54210
  • Resolved Arnas
    Rank Math free

    Hello. Is Rank Math capable to pull existing reviews from my custom CPT and show it on SERP?

    Thank you.

    • This topic was modified 3 years, 11 months ago by Arnas.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Alberto
    Rank Math business

    Hello,

    Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.

    Rank Math displays the reviews you add using the Rank Math plugin or WooCommerce but it is not able to take other plugins’ information by default.

    But you just need to add your CPT Reviews to the Rank Math’s structured data. You can try to code it with our filter to extend the Json+Ld Data:

    /**
     * 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 ) {
    	return [];
    }, 10, 2);

    Looking forward to helping you. Thank you.

    ​​​​​​​

    Arnas
    Rank Math free

    Hi Alberto,

    Thank you for your reply. Problem is I am not a coder. I will appreciate if you could give me more detailed instructions. Thank you!

    Hello,

    Thank you for contacting Rank Math today.

    We would love to help. 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.

    Arnas
    Rank Math free

    Hello,

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

    Thank you.

    Hello,

    Thank you for contacting Rank Math today.

    I am unable to resolve your CPT working functions and how you are adding Reviews. I’d suggest you forward the code provided to the CPT dev team and ask them to formulate a working snippet for you.

    Looking forward to helping you. Thank you.

    ​​​​​​

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

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

The ticket ‘Custom CPT reviews’ is closed to new replies.