WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] Adding Meta Tags Generated By All In One SEO

[Resolved] Adding Meta Tags Generated By All In One SEO

  • Hi there,

    I’m a newbie in PHP and I’d like to ask how I can do this. What I’d like to do is to add the meta keywords generated by All in one SEO to be added to the meta description of each post. Here’s what I have for the meta description right now:

    <meta name=”description” content=”<?php if ( is_single() ) {
    single_post_title(”, true);
    } else {
    bloginfo(‘name’); echo ” – “; bloginfo(‘description’);
    }
    ?>” />

    Or at least add the meta keywords to the description of each post. I’m actually trying to follow the format of a famous website and I’d really appreciate it if you can help me.

    Thanks

  • The topic ‘[Resolved] Adding Meta Tags Generated By All In One SEO’ is closed to new replies.