-
Hello! How to remove the restriction on the length of the description, which is inherited dynamically from the meta-field type text? Now it forms approximately 160 characters in length.
- This topic was modified 4 years, 6 months ago by Π‘Π°ΠΉΡ Π Π°ΠΊΠ΅ΡΠ°.
-
Hello,
Thank you for contacting Rank Math today.
It is possible to set a custom meta description for each of your posts by using the following code snippet on your theme’s functions.php file:
/** * Allow changing the meta description sentence from within the theme. * * @param string $description The description sentence. */ add_filter( 'rank_math/frontend/description', function( $description ) { return $description; });
Looking forward to helping you. Thank you.
βββββββ
Inserted at the end on functions.php file. Does not work(
How to insert correctly?Hello,
Just to confirm, what you want to do is to remove the count of characters in the Rank Math meta description field? So you can enter more than 160 characters.
Looking forward to help you.
1. I have a text type meta box.
2. In the setting of metadata rank mathematics, I have the output of this metapole in the description of one post.
3. After creating the page, the description length is cut off in the code to 160 characters.
4. I need to remove this restriction.
5. I have elementor pro and a hello theme.Hello,
If you are using a custom meta description, Rank Math will not trim them by default.
Please check this screencast where it shows that Rank Math is printing ALL the characters I entered in the meta description field:
https://i.rankmath.com/I9pKibIf it is not working for you like that, please share steps for replicating this issue or your logins in the sensitive data section so we can help you better.
Hello,
I have updated the sensitive data as requested. Can you please check further?
Thank you.
Hello,
Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.
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,
You didn’t add your website URL to the Sensitive Data section so we can’t log in there. Could you check it?
Looking forward to help 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.
It looks like the description are automatically generated. If you would like the text to be shown in full then you will need to enter a manual description on the Rank Math metabox as shown below:
Looking forward to helping you. Thank you.
ββββββ
Yes, you helped to figure it out. Thanks again!
- This reply was modified 4 years, 6 months ago by Π‘Π°ΠΉΡ Π Π°ΠΊΠ΅ΡΠ°.
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.
The ticket ‘How to remove the restriction on the length of the description?’ is closed to new replies.