Support » Fixing WordPress » Remove date,author and category from post in home.

  • Resolved unixunderground


    I would like to remove the “On xxdate, 2011, in xxcategory, by xxauthor” thing that appears on the top of each post..
    I’ve been searching around for a while ,but I can’t really find a suitable solution on how to remove those informations on the specific theme I’m using (as I’m still a noob at all these wordpress things)..

    The theme I’m using is iBlogPro 4 ,on WP 3.2, and the site is ..

    I don’t know if this is useful in any way, but here’s the index.php file , and here are the template_feature.php and the template_posts.php that have being included in the index.

    Does anyone have a solution on this?

    Any help would be really appreciated..

Viewing 4 replies - 1 through 4 (of 4 total)
  • Find the following in your page.php file (that’s if you have not created a page template and are using this instead of the standard page.php file.

    Then find and comment out (using //)
    See code below. (this will remove all meta data, i.e. date category author etc)

    <?php //include (TEMPLATEPATH . '/inc/meta.php' ); ?>

    If you want to be specific about what you want to remove, maybe just the author then edit you meta.php file found in root directory of your current WP-Theme installation.

    This is my page.php file:

    <?php get_header(); ?>
    <?php require(THEME_LIB.'/template_page.php');?>
    <?php get_footer(); ?>

    What should I change?

    I would like to remove this whole thing from my posts..

    Anyway, I looked for the meta.php file in the root of my theme (/wp-content/themes/MyTheme) , but there is not such file in there..

    What should I do?

    Thanks again for your kind help

    ok, find the following file _post.php in

    next find the div with a class of metabar (should be line 33 or there abouts.

    find where that div ends and place the following comments around it like this:
    <!– <div …… content …. div> –>

    this div contains all the info regarding the meta output. date etc.
    best to comment out instead of delete as you might just need it sometime in the future.

    The _posts.php did the trick!

    Thank you very much for your support, it really helped me out!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Remove date,author and category from post in home.’ is closed to new replies.