• Resolved Sharon

    (@sharon-haanes-bryant)


    I don’t know where or how to add shortcode to make full comments (not exerpts) show on my widget in the sidebar. Thanks for the help.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Andy Keith

    (@andykeith)

    Hi,

    Add this shortcode to a Text widget:

    [better_recent_comments excerpts=false]

    See the plugin description for the full list of options

    Thread Starter Sharon

    (@sharon-haanes-bryant)

    Thank you, Andy. It works! Now for a second question. This short code adds the date to the comments which I’d like to remove. Is there more short code that I can add to the above to remove the date from the comments?

    Andy Keith

    (@andykeith)

    Yes. See the format option in the description:

    format:
    The format option allows you to choose the exact format you want for your recent comments. This option uses placeholders which are substituted with the actual data when the comments are displayed.

    The available placeholders are: {avatar}, {author}, {post}, {comment} and {date}.

    {avatar} is the comment author’s Gravatar image.
    {author} is the comment author’s name.
    {post} is the title of the post, and contains a link to the author’s comment below the post.
    ‘{comment}` is the actual comment text.
    ‘{date}is the comment date (see thedate_format` option in the main description to set the date format)

    Defaults to: {author} on {post}: “{comment}” {date}

    So you’ll need something like:

    [better_recent_comments excerpts=false format='{author} on {post}: "{comment}"']

    Andy

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Want to show full comment in sidebar widget, not excerpt.’ is closed to new replies.