• Hi,

    WordPress 4.9.1 running with Twenty Seventeen theme but comment box not coming for last two of my post however it’s coming for rest of my older posts. I have enabled ‘Allow Comment’ in page also ‘Discussion’ box also checked on screen. I have compared all my previous posts and same options enabled in all of my post but not sure why comment not showing for two posts. Please update how to resolve this problem.

    Thanks!

Viewing 13 replies - 1 through 13 (of 13 total)
  • Are you sure it’s a POST and not a PAGE you have created?
    A link to the site might help…

    Thread Starter avichal

    (@avichal)

    I’m not seeing any comments boxes on the older post either.

    Have you checked the “discussion” settings for your install?
    Settings > Discussion
    https://www.dropbox.com/s/ky9a8m7ijh3ykxd/Screenshot%202018-01-08%2009.35.18.png?dl=0

    I’ve seen a few cases where the setting to turn off after xx days is checked.

    Thread Starter avichal

    (@avichal)

    Thanks for reply Kim!

    I have checked and following option is not checked:

    “Automatically close comments on articles older than 14 days”

    It means comment must publish as no such restrictions regarding number of days.

    Please check this post link where user can put reply as box coming:

    https://avichalmishra.com/wordpress/2015/08/hello-world/#comment-176

    Not sure why no comment box for few posts.

    Are you using Jetpack? Check your settings there.

    I see your newer post ar showing up on an “archive” page template…
    so If I go to the March 19th post it says MONTH: March 2017 on top, whereas the link you sent me goes right to the post page and is using the “post-template-default” template.

    I’m not sure why this would happen, perhaps something about the template you are using or your permalinks? I will ask around and see if I come up with something.
    I don’t know if it’s something to do with the language conversion not recognizing… What language are you writing in? Perhaps someone who works with it can help.

    • This reply was modified 7 years, 2 months ago by Kim White.
    Thread Starter avichal

    (@avichal)

    yes I have installed jet pack few days back but this problem coming before that…yes archive link going to correct page but no comment box at all…I write in Hindi language.

    Thanks. What happens if you open the post from the post edit page (“view post”)…

    the link you sent went to a non-hindi link and worked… no other post-show as post for me when I go to the Archives then click the link for the POST.

    Thread Starter avichal

    (@avichal)

    when I see view post from edit page then correct post open..so what you say it’s language problem or something else however same Hindi language post showing comment box in link what I sent earlier.

    Another person suggested…

    “check the database directly for the postname field. Make sure his db schema has properly been converted to utf8mb4 characters, and that the postname fiels contains the slug. It’s possible that the slug in the URL isn’t matching in the query, but since the year and month are present, then the query returns the whole month, and this causes it to load up the archive template. Having incorrect database column types could cause that postname to not match on the query.”

    I was able to contact a Hindi user who will take a look also later.

    Thread Starter avichal

    (@avichal)

    Thanks a lot Kim for valuable input and quick help!

    I have checked permalink and it’s all template problem. When I used default template in permalink then comment box appeared…have a look ??

    https://avichalmishra.com/wordpress/2017/03/hello-world-2/#comment-182

    But strange behavior is that when permalink using template with post name then no comment box…should I have to use always default template?

    the reason it is using the “wrong” template it is simply not seeing the page, so it’s just reverting to the archive page because it knows that part of the URL.

    I’m a bit of a loss here as it’s something with the database and I can’t rule out a language conflict considering the English post is the only one I see working.

    There is a form in Hindi and perhaps someone there might have an idea if there are any things special that can be done using these characters.

    Support Forums

    Can you make sure your Database Collate is utf8_general_ci? I tried to reproduce it with some Hindi posts and seems to work just fine on my end.

    Thread Starter avichal

    (@avichal)

    Thanks Hardeep…I changed ‘DB_COLLATE’ to utf8_general_ci as suggested but no comment box appearing even then…DB_CHARSET is already set with utf8.

    Current settings as per below:

    /** Database Charset to use in creating database tables. */

    define(‘DB_CHARSET’, ‘utf8’);

    /** The Database Collate type. Don’t change this if in doubt. */

    define( ‘DB_COLLATE’, ‘utf8_general_ci’ );

    anyway whenever I am using ‘hello-world’ default template in permalink then comment box coming…
    https://avichalmishra.com/wordpress/2017/03/hello-world-2/

    when I am using post name instead of ‘hello-world’ then no comment appearing..
    https://avichalmishra.com/wordpress/2017/03/?????-????-???/

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Comment box not coming below post’ is closed to new replies.