Support » Plugin: All in One SEO Pack » Get SEO title and description as Variable

  • Resolved jabbamonkey

    (@jabbamonkey)


    I am using All-in-One-SEO for WordPress. For several posts, I created custom meta titles and descriptions (in the All-in-One section of the WordPress admin for each page). These are automatically posted in my html meta tags. However, in my template, I want to call these items (title and description) as variables, so I can use them on the page somewhere else. I looked online, but didn’t see any posts regarding this… I’m looking for some way to do this… for example:

    $metatitle = get_seo_meta(‘title’);
    $metadescr = get_seo_meta(‘description’);

    Note: I made up the function above (it doesn’t exist)

    Let me know if you have any idea how to get this done…

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Get SEO title and description as Variable’ is closed to new replies.