• I get this error when I try to comment: ‘Sorry, no posts matched your criteria.’ It worked fine when I had the prefab wordpress template up, but now that I’m using my own template and I have categories, they aren’t working.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter Alli

    (@alli)

    I’m sorry to post again, but this comment issue is really frustrating me. I can’t get the comments to popup, either, but I really just want them to WORK popup, or no. the site is https://entranced.org

    Have you modified wp-comments.php? If so you might want to go back to the original and then step by step make your changes to it.

    Alli,
    Since you have your own template, are you sure that you have the following line in your code?
    <pre>
    <?php comments_popup_script(); ?>
    </pre>
    Also, I noticed that you can slim down your CSS a bit. For example, you have this:
    <pre>
    body
    {background-color: #2F2F2F}
    body
    {font-family: Verdana, Arial, Helvetica, Sans-Serif;}
    body
    {font-size: 8pt}
    body
    {color: #1E2618}
    body
    {line-height: 10pt}
    </pre>
    You can shorten it up like this:
    <pre>
    body {
    background: #2F2F2F;
    color: #1E2618;
    font: 8pt Verdana, Arial, Helvetica, sans-serif;
    line-height: 10pt
    }
    </pre>
    You can shorten up some of the other selectors in a similar fashion. Also, when specifying font size and such, I’d recommend using something other than pt (points) which are really for print. They are allowed, but you may have better cross-browser support using px, or em, or even % for text and line sizes. Just a suggestion! ??
    Another suggestion–you have set up some of the IDs with equal padding all around, so you can save a lot of typing by using: padding:5px; as this will give you the same result as typing out the top, right, bottom and left padding stuff. If you have margins in there like that, you can do the same. About the only time you need to declare border: 0; is if you don’t want a blue border around images that are linked. Border for an ID is by default zero, so you don’t need to declare it as zero.

    Moose…
    Always spreading the CSS love! ??

    MDV,
    I got lots of Moosie-type love to spare, too, just no Moose-loving lady to share it with! ??

    Anonymous

    I too want comments to pop-up, and also have this code in my page…
    <?php //comments_popup_script(); // off by default ?>
    the comment there in the php code about it being off by default – how do we switch it on??
    Thanks!

    Nick Momrik

    (@mtdewvirus)

    Remove the “//” before the word comments.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Commenting Error’ is closed to new replies.