[OFFER ALERT!] This Halloween, Get Any Premium Theme for Just $19 [GET IT NOW]
Jump to content

[Rank Math SEO Plugin] Category Edit Page Layout Issue


info452
 Share

Recommended Posts

After move fro yoast to rank math, all category edit pages (standard wp  and woocommerce) have issues. in woocommerce for example theimage uplaod field was covered from the rank mathbox and isn't display any longer. in both category edit types i have 2 desciption boxes

Link to comment
Share on other sites

  • Support

Hello,

Thank you for letting us know this issue. It looks like Woocommerce changed the priority of their hooks in the recent update which is causing this problem. I've forwarded this issue to our development team and they will get this fixed in the next release of the plugin. For now, to fix it on your site, I changed the below code in seo-by-rank-math/includes/admin/class-metabox.php on line 323.

replaced

$this->action( "{$taxonomy}_edit_form_fields", 'category_description_editor' );

with

if( ! GlobalHelper::get_settings( 'titles.tax_' . $taxonomy . '_add_meta_box' ) ) {
	return;
}

$this->action( "{$taxonomy}_edit_form_fields", 'category_description_editor', 9 );

Your Product categories now show the Product thumbnail and only 1 description box.

Hope that helps. If there is anything else, please let us know.

Thank you.


🏁Rank #1 on Google With our WordPress SEO Plugin.

Score a 💯on PageSpeed and Dominate Search Rankings.

✏ Editing theme files? Please create a child theme to make your changes update-proof.

Link to comment
Share on other sites

  • Support

Hello,

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

Please share your WordPress login details in the "Sensitive Data" section by editing your first post on this ticket and follow the instructions shown in the screenshot below:
sensitive.jpg

Please make a reply once you update the details, so we get notified.

Looking forward to helping you. Thank you.

 


🏁Rank #1 on Google With our WordPress SEO Plugin

Score a 💯on PageSpeed and Dominate Search Rankings.

✏ Editing theme files? Please create a child theme to make your changes update-proof.

Link to comment
Share on other sites

  • Support

Hello,

Thank you for letting us know this issue. It looks like Woocommerce changed the priority of their hooks in the recent update which is causing this problem. I've forwarded this issue to our development team and they will get this fixed in the next release of the plugin. For now, to fix it on your site, I changed the below code in seo-by-rank-math/includes/admin/class-metabox.php on line 323.

replaced

$this->action( "{$taxonomy}_edit_form_fields", 'category_description_editor' );

with

if( ! GlobalHelper::get_settings( 'titles.tax_' . $taxonomy . '_add_meta_box' ) ) {
	return;
}

$this->action( "{$taxonomy}_edit_form_fields", 'category_description_editor', 9 );

Your Product categories now show the Product thumbnail and only 1 description box.

Hope that helps. If there is anything else, please let us know.

Thank you.


🏁Rank #1 on Google With our WordPress SEO Plugin.

Score a 💯on PageSpeed and Dominate Search Rankings.

✏ Editing theme files? Please create a child theme to make your changes update-proof.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...