Hi. I’d like to know that is possible to use a php code to insert the meta description in the my template files. For example, I have used this with yoast, just inserting the code <?php echo WPSEO_Meta::get_value(“metadesc”); ?> im my single page instead a excerpt.
Now that I changed to Rankmath, I had to take off this code but it is necessary to me have back the description.
Thank you so much.
You must be logged in to reply to this ticket.