Wordpress navbar/time/date/author help

mindmaster

Elite Member
Joined
Sep 16, 2010
Messages
5,671
Reaction score
3,112
I can't find any help on google or wordpress forum with this theme.

I just upgraded wp to 3.1 and I changed to this theme:
Code:
hxxp:// wordpress.org/extend/themes/black-n-white

I can't get rid of the: "published at..."(upper page), "Posted in: xxxx by Theme Admin Comments off ".

I would appreciate some help.
Thanks
 
...meanwhile I got rid of the "published at.."

I still got on every posts "Posted in: by XxX" and "Comments Off".

Still in need.. :confused:
 
In your themes functions .php add the following to the end this will remove the comments off.

function comment_style() {
global $post;

// please enter the Pages ID's below,
// you can see the ID when you goto edit page in the URL address bar,
// ... domain.com/wp-admin/post.php?post=2&action=edit
// [ the Page ID here is 2 ] //

$no_comment_pages = array(2, 3, 5);

if(in_array($post->ID, $no_comment_pages))
{
?>
<style type="text/css">div.feedback, .feedback {visibility:hidden;}</style>
<?php
}
}
add_action('wp_print_styles', 'comment_style');
 
In your themes functions .php add the following to the end this will remove the comments off.

function comment_style() {
global $post;

// please enter the Pages ID's below,
// you can see the ID when you goto edit page in the URL address bar,
// ... domain.com/wp-admin/post.php?post=2&action=edit
// [ the Page ID here is 2 ] //

$no_comment_pages = array(2, 3, 5);

if(in_array($post->ID, $no_comment_pages))
{
?>
<style type="text/css">div.feedback, .feedback {visibility:hidden;}</style>
<?php
}
}
add_action('wp_print_styles', 'comment_style');

Thanks for your time, but can you be more precises, I can't get it to work.
My post page id is 8.
 
Back
Top