• Resolved dancingpony

    (@dancingpony)


    Hi,

    Just wondering if there is a simple way to use the seo meta description from each post elsewhere on the page?

    For example just calling <?php all-in-one-description(); ?> anywhere in the template would print out the meta description.

    Is that possible?

    Thanks,
    Taylor

    https://wordpress.org/plugins/all-in-one-seo-pack/

Viewing 1 replies (of 1 total)
  • Thread Starter dancingpony

    (@dancingpony)

    UPDATE

    Stumbled across this that does what I’m after:
    <?php $description = stripcslashes(get_post_meta($post->ID, '_aioseop_description', true)); echo $description; ?>

Viewing 1 replies (of 1 total)

The topic ‘Using Meta Description on template’ is closed to new replies.