Support » Fixing WordPress » Assigning meta keywords to specific posts – how?
11 years, 8 months 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?
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.
I am quite new to WP, do you have a link to a guide that will explain this better (the logic and all)?
WHen one single post is viewed WP is using the template file called single.php of your theme (if exists).
see Template Hierarchy:
Also, some references to understand how themes and templates work:
thanks. going to do a bit of studying now.
10 years, 10 months ago
There’s a plugin called Tags in the Head which can do what you’re asking:
I have written something for this, so hopefully you’ll find it useful: