• I’ve found some plugins that add descriptions to the blog entries. That’s good, but I also want to know how to add keywords and title tags to each entry.

    Most importantly, I want to add custom title, keyword and description tags to the regular pages (that are in the horizontal navigation). I was able to customize it in the index.php but it’s the same on every page. How do you find the rest of the pages to give them their own unique meta tags? (with or without a plugin)?

    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • If all you want to do is display a custom field for each entry, use this in your Single Post template:
    <?php
    foreach(get_post_custom_values('title') as $title) ?>

    Then just echo $title wherever you need it (or whatever your custom field name is.

    If you want that to be in the header, you’ll want to use some conditional tags so that certain things only show up on single entry pages (is_single()). Does that help?

    Thread Starter peterdouglas

    (@peterdouglas)

    Sounds like great information… but a bit over my head. I’m not very knowledgeable with php yet. However, what you wrote seems like it’s the answer I need.

    If you have a moment, would you (or anyone else) be able to fill in a few more details.

    Thanks! ??

    What are the details to fill in? What confuses you? Then we know what to explain.

    i installed headspace2,very nifty plugin indead.I can add custom meta tags to each of my post,which is good.The problem is,how can i add custom title to every post using this plugin or else?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to add custom meta tags to pages?’ is closed to new replies.