• photojunkie

    (@photojunkie)


    I am looking for a way to remove the meta information on some pages…

    I use WP to manage every page on my site.. this includes some static pages… like my links page (blogrolls can eat me) and my contact info page… I don’t nead meta information on those pages… It just seems kinda dumb to have this really nicely formated page of links, with “Filed under: Uncategorized on April 7, 2005 @ 5:59 am” shown right on top.

    I want my posts to have this information, but not my static pages. Suggestions?

Viewing 3 replies - 1 through 3 (of 3 total)
  • iand

    (@iand)

    Make a copy of index.php and name it page.php, then delete/ comment out the meta tags.

    Thread Starter photojunkie

    (@photojunkie)

    Hah… thought about it for thirty seconds after posting… Easy peasly…

    But just in case someone else comes looking to do the same.

    It’s as easy as enclosing the extra data (meta and story title in my case) in a div…

    lets say… <div class=”details”>Meta Data!</div> for example.
    Then on every page I don’t want the meta data to appear, just inserting first off
    ===============
    <style>
    .details {display: none}
    </style>
    ===============

    That takes care of it. It’d be nice if it were an option for pages out of the box though… but all in all a pretty simple work around.

    Thread Starter photojunkie

    (@photojunkie)

    “”Make a copy of index.php and name it page.php, then delete/ comment out the meta tags.””

    Oh.. hey, that’s even better… thanks Ian D.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Removing meta information on static pages’ is closed to new replies.