WordPress.org

Forums

[resolved] Elements of SEO-lost ability to post comments on pages (6 posts)

  1. danceswithcats
    Member
    Posted 6 years ago #

    I just upgraded my site, Paws and Effect, to WordPress 2.6, and everything was working fine until I changed my theme to Elements of SEO from Andreas-00. With the change in theme, I've lost the comment forms on all the pages of my site. Readers can still make comments on my POSTS, but I need that comment form available on my pages as well, particularly the Ask A Question page.

    When I lost the page comment form, I lost the listings of all previous comments made to the Ask A Question page and all the other pages as well. I assume they're still there, because the comments are still in my database, and I hope that when I can restore the comment posting ability on pages, my previous comments will also appear.

    I know pretty much sweet f-a about PHP--although I'm relatively fluent with HTML and CSS--so if you have some input for me, could you please do it in the "for dummies" format? Thanks!

  2. Chrisber
    Member
    Posted 6 years ago #

    Have you tried switching back to the old theme? Does the page template in your new theme include the comment form?

  3. danceswithcats
    Member
    Posted 6 years ago #

    Thank you, Chris. The new template did not include a page comment form, but the theme author--with an amazingly quick response time, I might add--gave me a line of code to insert in the page.php file that enabled the comment form again.

    Basically, according to the author, the fix for this issue is to insert the following line of code at line 13 on the page.php template:

    <?php comments_template(); // Get wp-comments.php template ?>

    I did that this morning and it works perfectly.

  4. drewsto
    Member
    Posted 6 years ago #

    @danceswithcats

    Thanks for the props on my quick response. I'm always happy to help out :)

  5. MoMowlam2
    Member
    Posted 6 years ago #

    Fast response from the theme author for me on this - problem solved :)

  6. caseydelia
    Member
    Posted 6 years ago #

    I'm having the same problem on my website (). On a page with posts where comments are displayed, and the user isn't logged in (required to post comments), the left and right sidebars are moved below the comments box in the left column (. The problem doesn't happen when the user is logged in. Any help would be greatly appreciated, as I'd like it to display correctly when my professor grades the assignment! - Thanks

Topic Closed

This topic has been closed to new replies.

About this Topic