• Resolved marty39

    (@marty39)


    This problem started a few weeks ago. The home page has a “Leave a comment” link for each post, but clicking the link goes to the top of the page for the full post, and there is no comment form on the page. The oldest post (“Hello, world!”) has two comments, and the “Leave a comment” link goes to the bottom of the full-post page, but there is no comment form there either, only “Reply” links for the comments, and clicking a “Reply” link goes to the top of full-post page, with no form.

    The site is at https://www.angryoldman.us/ with a custom theme based on underscores.me. The settings allow comments on new pages, and the edit pages for the individual posts show comments allowed. I looked at single.php and page.php for the theme, they both have an if statement for comments_template() and comments_template.php is unchanged from an April backup.

    I was running WordPress version 4.1.4 when the problem started. I upgraded to 4.2.3 and nothing changed. I have three active plugins (Akismet, Contact Us By Lord Linus, Official StatCounter Plugin) and three inactive plugins (P3 (Plugin Performance Profiler), Page Views Count, WordPress Importer). I tried activating and deactivating all, no change.

    How can I make the comments form available?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Disable all your plugins and revert to one of the default WordPress themes (like Twenty Fifteen). Does the problem still exist under these conditions?

    Thread Starter marty39

    (@marty39)

    tbennettcc: I activated the Twenty Fifteen theme without disabling any plugins, and the comments form showed up where I would expect it to be.

    What does that suggest about how to fix my custom theme?

    Thread Starter marty39

    (@marty39)

    Well, it told me the problem was in a theme file. A little snooping led me to comments.php. Short version: I overlaid the online file with a version from the April backup, and the comment form came back. Apparently I had done something nonstandard to disable comments, without even leaving my initials as a footprint. Dumb.

    The standard comment form does not have a captcha. I think I need a captcha plugin.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘No comment form’ is closed to new replies.