WordPress.org

Support

Support » How-To and Troubleshooting » Comments on page problems

Comments on page problems

  • Just in page, not in normal blog entries (posts).

    Sometimes the page shows all the comments & sometimes shows the message: “Comments are closed”. (<?php wp_list_comments(‘type=comment&callback=mytheme_comment’); ?>)

    Anyway the number of comments is right (comments_number), but the title of the page is null (<?php the_title(); ?>).

    :-/

Viewing 8 replies - 1 through 8 (of 8 total)
  • Also I cannot edit pages, for example, the <?php edit_post_link(“Edit”); ?>

    links to http://domain.name/wp-admin/post.php?action=edit&post=

    remark that the page_id does not exist.

    I also have a comment problem that is unique to my pages (and does not occur within my normal posts).

    Only on my pages (not my blog posts) I have duplicate entries of a non-existent comment.

    Check it out here:
    http://www.journeywithjanelle.com/about/

    This person “Cisco” nor his comment does not show up in my comment box but these comments shows up on all four of my pages, while the functionality of comments on each of my posts works perfectly.

    How do I find/remove these comments? Note again that they DO NOT show up in my comment box.

    i have the same problem, but only in a certain theme, such as Arras theme, but I have my page comments back with other theme such as 3col_rdmban_rr theme, I’m new to wordpress and know nothing about coding, may be someone will find out why if digging deep into those 2 theme.

    Yes, the theme I have is Arras as well…

    I’ve found the problem. It was in my theme.

    I’ve changed the function:

    if current_user_can(‘edit_post’, $post_ID )

    (Before version 2.9 it worked fine, now it breaks the link & comments of the pages)

    to:

    if current_user_can(‘edit_posts’)

    Now it works right.

    hi runspect, which file are the code need to change? thanks in advance.

    In filters.php line 138 change:

    if (current_user_can(‘edit_post’)) {

    to

    if (current_user_can(‘edit_posts’)) {

    Best Regards.

    thanks, now it works ^.^

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Comments on page problems’ is closed to new replies.
Skip to toolbar