• Resolved blogforum

    (@blogforum)


    In class-better-recent-comments-util.php file v.1.0.5 there is an punctuation error:

    #41 if ( $comment ) {
    $format .= ‘: “{comment}”’;
    }

    • This topic was modified 7 years ago by blogforum.
    • This topic was modified 7 years ago by blogforum.
    • This topic was modified 7 years ago by blogforum.
Viewing 6 replies - 1 through 6 (of 6 total)
  • Andy Keith

    (@andykeith)

    What’s the error? Looks correct to me.

    Cheers,
    Andy

    Thread Starter blogforum

    (@blogforum)

    The correct code is so:

    if ( $comment ) {
    $format .= ‘{comment}’;
    }

    Andy Keith

    (@andykeith)

    No, it has the semi-colon in front as it follows the post title or author. So the resulting format would be, for example:

    {author}: “{comment}”

    Which would a final comment something like:

    John: “Great post, thanks”

    Thread Starter blogforum

    (@blogforum)

    This is original code:

    if ( $comment ) {
       $format .= ': “{comment}”';
    }

    Look my in widget column https://albenessereblog.altervista.org

    • This reply was modified 7 years ago by blogforum.
    • This reply was modified 7 years ago by blogforum.
    Andy Keith

    (@andykeith)

    Hi,

    It looks like you have some extra CSS for the comment excerpt which is breaking the display: https://prnt.sc/ilszat

    If you remove that it looks a bit better. You also have some extra <div> tags around the comment author. Again, remove these and it will work as advertised.

    Andy

    Thread Starter blogforum

    (@blogforum)

    Yes, is true. The change I made seems to me more correct for my site.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Punctuation error’ is closed to new replies.