Comment section

Homepage Community Forums Optimal Theme Support Comment section

Tagged: ,

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #7735
    Toby
    Customer

      Would you lend insight why this blog post does not show comment section.

      This is happening to a couple of random blog post pages and I am not sure why. The page has Discussion and Allow comments highlighted.

      Thank you,

      Toby

      #7736
      Wes
      Moderator

        Do you have the Comments and Trackbacks enabled in your Genesis Theme Settings page?

        Also, if you click “Screen options” and check “Discussion” (so the field shows up on the page editor) is it enabled/checked? I know you mentioned the “Discussion” was enabled but I wasn’t sure if you were referring to the Discussion page under the main WP Settings page or the Custom Field on the Page Editor.

        #7744
        Toby
        Customer

          Wes, thank you.

          I have “Enable Comments” on posts only. Disabled comments on pages. Disabled Trackbacks on both posts and pages.

          “Show on screen” “Discussion” is selected and “Allow comments” is also selected.

          The majority of posts the comments come over fine, just a few outliers like this.

          #7749
          Wes
          Moderator

            Just figured it out……well sort of.

            You may have an html error somewhere in your code. If you’ve added a “div” for example and don’t open/close it properly, then it throws other parts of your site off. Example – <div class="example">Here is some same text inside a div container</div> That is the proper way to open and close a div. The same thing goes for all html tags. If you leave one or the other open or closed improperly it usually does things like this to the site.

            You can take a look here to see what all errors you have if you’re interested in fixing them all – http://validator.w3.org/check?uri=http%3A%2F%2Fwww.tobyelwin.com%2Fcommunity-persona-for-change-management%2F%23respond&charset=%28detect+automatically%29&doctype=Inline&group=0 …..if not, you could add “clear: both;” to your code around line 2515 in your css –

            /* Comments
            ------------------------------------------------------------ */
            
            #comments,
            #respond {
            	clear: both;
            	margin: 0 0 15px;
            	overflow: hidden;
            }

            That will make the comments appear. The comments are there, but they are being blocked from something, and I’m guessing it’s just an html error somewhere.

            Here is the result when I add that code to your site – http://i.imgur.com/xifrRbV.jpg Don’t mind the way the social link on the side looks, it won’t appear that way on your actual site, but as you can see the comments will show up again once you add that line of code.

            #7752
            Toby
            Customer

              Firstly, thank you very much.

              Now, before I go under the hood and start mucking about (most likely mucking it up), 2 quick questions:

                This is only happening on select posts, why not all?
                If I just upgrade to the latest version of the theme will it resolve this?

              I appreciate your effort.

              Toby

              #7759
              Wes
              Moderator

                1. I’m not 100% sure exactly what is causing the conflict, but it’s most likely another piece of code (html) or a plugin or something. Maybe you’re using a plugin that shows on certain pages? Or maybe you’re adding code in and it’s not showing up right on those specific pages?

                2. If you haven’t made any changes to your theme, then I would definitely give the updated version a try to see if you prefer it instead. It’s 1140px wide instead of 960px now (thats what a lot of people wanted)…but you can adjust it to always be 960px if you want. You can check this out for some basic info on the update – https://appfinite.com/topic/optimal-1-3-for-genesis-2-0-html5-is-now-available/

                If you decide to keep the version you have, then adding that code should still fix that issue. Just make sure and add in the “clear: both” code exactly as I have it above and you should be fine.

                #7775
                Toby
                Customer

                  Cripes, just looked at the validator information, 46 errors – how does code get this ugly when I do not code?

                  Poor plugin design? I have always tried to keep plugins to a minimum, but unless you code you need them.

                  I will look into the solutions offered. Appreciate the patience and effort to save me from me.

                  #7794
                  Wes
                  Moderator

                    Not all of those errors are necessarily “urgent”, some of them are just suggestions (I think).

                    Even if you’re not adding code yourself, if you use the WP page editor, or any plugins, they both add code for you. So it could be one of those.

                  Viewing 8 posts - 1 through 8 (of 8 total)
                  • You must be logged in to reply to this topic.