How to make it take 250 Characters automatically instead of 160

#145863
  • Resolved Vijay Lamba
    Rank Math free

    Hi Team,

    Your plugin is way better than others. But, i have 1-2 issues which need to be addressed immediately as they are making the love lesser for this plugin.

    The plugin has a restriction of 160 characters for AUTOMATIC meta descriptions. Though, manually you can put any amounts to it, but i want to make the description filed take them automatically but not limited to 160 characters. Instead, lets say, i would like to take it 250 characters automatically instead of 160 characters. Please suggest some help in this.

    Thanks and regards

    Vjlamba

    PS:

    I will open another ticket for an issue regarding breadcrumbs.

Viewing 1 replies (of 1 total)
  • Hello,

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

    You can create your own custom variable and use it on your site like the code below. The code below will limit your content in the post to 250 characters.

    You need to add this code to your functions.php located in your theme directory: https://pastebin.com/N87ayzan

    Use this %limit_description% variable/shortcode on your snippet. Please see the screenshot for the sample output of the code.

    Note that the preview of the description will not work well on the editor but it should work fine on the front end. You may check your page source or test your post here https://www.heymeta.com/.

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

    Thank you.

    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 ‘How to make it take 250 Characters automatically instead of 160’ is closed to new replies.