Jump to content
Sign in to follow this  
Audun MB

What's wrong? Posts won't show and more

Recommended Posts

Audun MB
On of my category pages shows up blank, while others are showing up just as they should. Somethings wrong with all posts in this category. They have for some reason been formatted to use the new Post Format "Aside". I had to switch theme to put them back to standard, but there's still something wrong with them as they won't show. Then some posts will show the comment fields, while others wont. Something must have gone wrong during an update, but is there a way to fix this?

Share this post


Link to post
Share on other sites
Audun MB

Weird! It seems that having a category with the permalink 'a' doesn't work for some reason. Changing the permalink to something else, while keeping the name seems to work. Now I only got trouble with why the comments aren't showing on some posts.

Share this post


Link to post
Share on other sites
cmunns

Looks like if there are no comments it doesn't show. You use disqus but i still think the comments section needs to be active AND you need to turn on comments via WP

Share this post


Link to post
Share on other sites
Audun MB
This post has a comment section, this one has not. Neither of them has any comments. Comments are turned on in WP and I placed the comments section in the Single Post Page template. Deactivating Disqus to use the WP comments system makes no difference. I guess something must have gone wrong when I updated, unfortunelately I don't have a backup. Is it possible that "hide comments" checkbox somehow has been ticked off in the datebase for some posts (overriding the visible settings)? Or that the new Post Formats-thing causes this in some way? Is there any way to check this in the database?

Share this post


Link to post
Share on other sites
Kate

Hi Audun, For the second link, the section for the comments is actually being generated in the HTML. But, it's showing that comments are closed. Are you able to provide a screenshot of that page's post edit screen? (Including the part where the "Enable Comments" checkbox is, please?)

Share this post


Link to post
Share on other sites
Audun MB

Screenshots: Screenshot-edit-post-with-no-comments.pngScreenshot-edit-post-with-no-comments-2.pngScreenshot-edit-post-with-no-comments-3.png Don't know it it's any help? It might be that some default settings has closed comments older than XX on these post. Is there a way to reopen them?

Share this post


Link to post
Share on other sites
catrina

Can you take a screenshot of the "Discussion" section in the post editor?


Please read the docs before posting. Please do not private message me unless I ask you to.

Designer | Catrina Dulay

Founder | Catrina and Mouse

Share this post


Link to post
Share on other sites
Audun MB

Catrina: I've checked the settings in the discussion tab already. Nothing there to indicate that this should be an issue, and changing them doesn't fix the issue. I'm fairly certain that this is only about comments being closed for the posts in question. I found a SQL command to reopen them, but I am not certain that this is the best way?

	UPDATE posts p SET comment_status = 'closed', ping_status = 'closed' WHERE comment_status = 'open';

If I am going to use this command, how do I limit it to only the tables with the prefix for this installation (I'm running several installations of Wordpress from the same database)?

Share this post


Link to post
Share on other sites
Kate

Hi Audun, If you're able to include the comments section in a screenshot, that would be great. I'm actually not even seeing it appear on the page. You can make it appear via "Screen Options" at the top of the page.

Share this post


Link to post
Share on other sites
Audun MB

Thanks Kate. I wasn't aware of the possibility of showing the comments section with the Screen options, I was even aware that it existed since it didn't show by default. Toggling "Allow comments" in the comments section fixes the issue.

Share this post


Link to post
Share on other sites
Kate

Hi Audun, No problem... happy to help ;)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×