Select primary category option in post is not working

#938191
  • Resolved Aniket Borhade
    Rank Math free

    Hello, if I change the category in select primary category it is not reflecting. It was working earlier but after update it is not happening. Please help urgently.

    My site url is jify.co

    I have temporarily enabled yoast so that link structure doesn’t change as Rankmath’s primary category for post is not working.

Viewing 1 replies (of 1 total)
  • Hello,

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

    The issue will be fixed in the next update. For now, please replace the code on line 251 of the wp-content/plugins/seo-by-rank-math/includes/class-common.php with the following code to fix the issue:

    if ( empty( $terms ) || ! in_array( absint( $primary ), $terms, true ) ) {
    

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

    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 1 replies (of 1 total)

The ticket ‘Select primary category option in post is not working’ is closed to new replies.