• I have approved comments to posts on my “about” page and they appear perfectly. The same is not true for comments to posts on my home page. Approved comments do not appear. I have deactivated and reactivated all plugins to no avail. I am using F2 theme in two separate locations. One works and one does not.
    http://flatustheelder.com/wordpress does not display comments.
    http://greyhoundoptions.org/blog/ woks fine.

    Any help would be greatly appreciated.

    Cliff

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter griehund

    (@griehund)

    After searching around the dashboard list of comments I found the one I was looking for published to a page URL: http://flatustheelder.com/wordpress/?attachment_id=722&cpage=1#comment-1872
    The layout of this page does not match my CSS stylesheet. All the images have a white border around them which screws up the layout. Permalink page # is 721. Did WP create a new page and force the images on to it?

    your first question:
    comments don’t appear on the front page by default – why and how to change it.

    your second question:
    this is caused by a interference of the body class (which outputs the class .attachment for the page you are talking about, and a style in your theme for .attachment img:

    .attachment img {
    	border:1px solid #ddd;
    	background-color:#f3f3f3;
    	padding:4px;
    }

    plus:

    .wp-caption, .gallery, .attachment img {
    	-moz-border-radius: 5px;
    	-webkit-border-radius: 5px;
    }

    the page itself is probably generated by index.php, according to template hierarchy http://codex.wordpress.org/Template_Hierarchy

    Thread Starter griehund

    (@griehund)

    Thanks for responding so quickly. I guess I bungled my first question and for that I apologize. My first problem is that comments do not appear where they are supposed to appear, on the permalink. In other words, my post appears on my front page with a comment link at the bottom. A visitor clicks the comment link and goes to the full post where he then writes a comment and submits same. I approve the comment on the dashboard and the result is an approved comment on the dashboard but nothing appears on the page with the post.
    I don’t want or care for comments to appear on my front page but I do want them to appear on the same page as the post.
    If I can fix the first question the second will become mute. Again thanks for your help and please forgive my clumsiness.

    Thread Starter griehund

    (@griehund)

    More on comment malfunction.

    When I click on an image on the blog that works properly I go to: http://greyhoundoptions.org/blog/wp-content/uploads/ where I see a date and an uploaded image.

    When I click on an image on the blog that does not work properly I go to: http://flatustheelder.com/wordpress/?attachment_id=722 which is a distorted template where the comments appear. If I click on the comment link all is well.

    Obviously the former is better than the latter. I’m about to locate the attachment template and delete it but before I do, has anyone else had experience with this?

    Thread Starter griehund

    (@griehund)

    Problem solved:

    When I uploaded photos to my posts I did not notice that they were linked to the attachment_id template. Visitors that clicked on the photos were taken there instead of the permalink. I went back and changed the urls on all photos to link to the wp_content/uploads folder thereby eliminating the error.
    Now visitors can comment only by clicking the comment link.
    I found the solution by searching: image anchor wp_content/uploads on the forum.

    Hope this helps other users.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Comments do not appear on home page’ is closed to new replies.