I don't want to use comments on my blog, so I've disable them in the preferences. However, I still want visitors to be able to open up the full blog entry. Underneath the entry, it now shows:
Comments
Comments are not available for this job.
Does anyone know how I can stop this from appearing?
Thanks
Marcus
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I think you'll need to edit the theme. This shouldn't be too hard, it sounds like you can safely remove the entire comments section if you aren't using it.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks. Could you possibly be more specific about what should be removed? I'm using the Modern theme. I've looked ta the fiels but can't obviously see what should be removed.
Thanks again
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thank for that, but unless I am going mad those lines don't exist anywhere in 0.7.0. I've searched all the files. I tried removing similar lines but that just stopped the actual blog entry showing.
Thanks
Marcus
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks again. I commented out that line, but it seems to do the opposite of what I want - when I click on "view entry" for the blog item now, instead of the blog entry being shown it now just shows:
Comments
Comments are not available for this entry.
What I'd like it to show is the full blog entry, and not show the bit about comments not being available.
Thanks again.
Marcus
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I don't want to use comments on my blog, so I've disable them in the preferences. However, I still want visitors to be able to open up the full blog entry. Underneath the entry, it now shows:
Comments
Comments are not available for this job.
Does anyone know how I can stop this from appearing?
Thanks
Marcus
I think you'll need to edit the theme. This shouldn't be too hard, it sounds like you can safely remove the entire comments section if you aren't using it.
Thanks. Could you possibly be more specific about what should be removed? I'm using the Modern theme. I've looked ta the fiels but can't obviously see what should be removed.
Thanks again
Ah, OK, its actually in comments.php. If you remove these lines that should do it:
// show comments
echo "<h2>" . $GLOBALS . "</h2>";
echo( read_comments( $_GET, $_GET, $_GET, $logged_in ) );
echo( '<p />' );
In 0.7.0 that is around line 80.
Hi,
Thank for that, but unless I am going mad those lines don't exist anywhere in 0.7.0. I've searched all the files. I tried removing similar lines but that just stopped the actual blog entry showing.
Thanks
Marcus
Sorry again, I was looking at the current codebase. You are looking for this around line 72:
echo( read_comments( $_GET, $_GET, $_GET, $logged_in ) );
Hi,
Thanks again. I commented out that line, but it seems to do the opposite of what I want - when I click on "view entry" for the blog item now, instead of the blog entry being shown it now just shows:
Comments
Comments are not available for this entry.
What I'd like it to show is the full blog entry, and not show the bit about comments not being available.
Thanks again.
Marcus
Ok, I've figured this out. I just need to comment the following line towards the bottom of comments.php:
echo( theme_staticentry( $entry_array ) );
Marcus