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.
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.
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’ve added the following code on your theme to get the description from the “kategorie-beschreibung” on the product category pages:
/**
* Allow changing the meta description sentence from within the theme.
*
* @param string $description The description sentence.
*/
add_filter( 'rank_math/frontend/description', function( $description ) {
if(is_product_category() && types_render_termmeta('kategorie-beschreibung') ){
$description = types_render_termmeta('kategorie-beschreibung');
return $description;
}
return $description;
});
Looking forward to helping you. Thank you.
Hi,
thanks for your reply.
If i get it right now for every categorie archive page it uses the “kategorie-beschreibung” field. But i only wanna use this for a selected number of categories. For some categories i’ve added an individual meta description.
How am i able to do so?
HI Kai,
Thanks for the follow up.
You can extend the code to include an array of category slugs that you would like this to apply to like so:
/**
* Allow changing the meta description sentence from within the theme.
*
* @param string $description The description sentence.
*/
add_filter( 'rank_math/frontend/description', function( $description ) {
$categories = array('shirts','socks');
if(is_product_category($categories) && types_render_termmeta('kategorie-beschreibung') ){
$description = types_render_termmeta('kategorie-beschreibung');
return $description;
}
return $description;
});
We are looking forward to helping you. Thank you.
That worked well. Thanks.
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/#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.