[Resolved] Remove date,author and category from post in home.
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 http://www.kulturspiralen.com ..
Does anyone have a solution on this?
Any help would be really appreciated..
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 topic ‘[Resolved] Remove date,author and category from post in home.’ is closed to new replies.