Problem with comments on Items
-
Hi,
I’d like to open comments on items.
The problem is that comments are closed by default into catablog source code, CataBlogItem.class.php, line 477:else { $params['post_status'] = 'publish'; $params['comment_status'] = 'closed'; $params['post_type'] = $this->_custom_post_name;
I found a solution with phpmyadmin to “open” comment into the database (by changing the comment_status into the wp_post table) but i don’t want to manually do this for each item.
Of course i could hack the php code of this class but this will disappear if i ugrade catablog in the future.I also tried to use a single-catablog-items.php and added this :
$withcomments = true; comments_template();
But it does not work.
Any idea ?
Thanks a lot.
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘Problem with comments on Items’ is closed to new replies.