Rank Math not showing up for custom post type

#14591
  • Resolved Info Dealers League
    Rank Math free

    Hello,

    We have a plugin that registers a custom post type and meta boxes. This all works fine.

    But for this custom post type, the rank math options don’t show. I have checked “screen options” and it is not even an option there.

    Is there a reason why Rank Math wouldn’t register for a custom post type?

    Joseph

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello,

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

    I am not sure what is causing this issue since the Boats post type is public and publicly queryable but for some reason Rank Math does not detect it.
    I am consulting our team about this and I will get back to you in a short while.

    Looking forward to helping you. Thank you.

    ​​​​​​​

    Hello,

    I see the issue on your site. After further debugging it, I found the register_post_type function in the Dealers League Boats plugin is exectured after the Rank Math which is causing the problem. The priority is set to 999 in plugins/syb/includes/class-syb.php on line 203. Can you contact the plugin author and ask them why they are not using default init priority i.e 10?

    For now, to fix the issue on your site, I’ve changed the priority of Rank Math init function to 999 in plugins/seo-by-rank-math/includes\admin\class-option-center.php

    Hope that helps. Thank you.

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

You must be logged in to reply to this ticket.