WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Assigning meta keywords to specific posts - how? (6 posts)

  1. dirkhaim
    Member
    Posted 8 years ago #

    How can I assign meta keywords to specific posts, so these keywords won't be on the main index page, the meta tag will only be active on the post page?

    Thanks.

  2. moshu
    Member
    Posted 8 years ago #

    You mean using the custom fields in the Write panel?
    If you want them to appear only on single posts, you should have the call for them in the single.php template.

  3. dirkhaim
    Member
    Posted 8 years ago #

    I am quite new to WP, do you have a link to a guide that will explain this better (the logic and all)?

  4. moshu
    Member
    Posted 8 years ago #

    WHen one single post is viewed WP is using the template file called single.php of your theme (if exists).
    see Template Hierarchy:
    http://codex.wordpress.org/Template_Hierarchy
    Also, some references to understand how themes and templates work:
    http://codex.wordpress.org/Theme_Development#References

  5. dirkhaim
    Member
    Posted 8 years ago #

    thanks. going to do a bit of studying now.

  6. teckie
    Member
    Posted 7 years ago #

    There's a plugin called Tags in the Head which can do what you're asking:

    http://www.maxpower.ca/wordpress-plugin-tags-in-the-head/2006/04/17/

    I have written something for this, so hopefully you'll find it useful:

    http://seo.blorc.com/seo/tagging-meta-keywords/

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags