Hello,
Thanks for contacting us, and sorry for any inconvenience that might have been caused due to that.
#1 ~ Description from the post content:
You can use the %excerpt% variable in the description field to set descriptions from your post content.
#2 ~ Set fixed character limit to meta description:
To set the fixed limit of 160 characters for the meta description, please add the following code in your active theme’s functions.php file: https://pastebin.com/0eVPAU6b
Note: In order to change character limit to different numbers, you can change the value 160 in the line ($description, 0, 160) from the code I’ve shared above.
Here’s other ways to add hooks/filters to your WordPress site:
https://rankmath.com/kb/wordpress-hooks-actions-filters/
Please note that the meta description length of 160 characters will not be visible in the editor. However, it will be applied and you can verify that in your page’s source code.
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.