Codeless
  • Support Home
  • Themes
  • Support
  • WordPress Tutorials
    • How to Start a Blog
    • Best Website Builders
    • Best Small Business Hosting
    • Email Marketing Services
    • Cheap WordPress Hosting
  • Video Tutorials

Community Forums

Comment paragraphs are removed

commentshtmlparagraphs
    • 8 years ago rmiller
      Participant

      Expired

      I noticed that paragraphs within blog post comments are removed.

      How can I allow WordPress’ default allowed HTML within comments?

      Thanks.

    • 8 years ago Mirela
      Participant

      Hello,

      Can i please see a link of it? WordPress does recognize the html tags and apply them. Do you want to keep the tags as text? Let us know.

      Regards!

    • 8 years ago rmiller
      Participant

      Expired

      This reply has been marked as private.
    • 8 years ago Mirela
      Participant

      Hello,

      Sorry for the late reply.
      This is the default structure of the comments section. Twenty Seventeen is one of the default wordpress themes and it does not have half of the features premium themes have. All this additional code interacts with each other and leads to changes in the basic theme behavior.
      If you want you can edit it out in file includes\view\blog\comments.php .

      Best regards!

    • 8 years ago rmiller
      Participant

      Expired

      I don’t see anything in that file that is stripping out paragraphs.

      Can you provide some additional direction on how to keep that markup?

      Also, would you consider adding this in for a future release? I think it would be really beneficial to keep the basic markup in the comments. It’s not user friendly stripping that out.

      Thank you for your time.

    • 7 years, 11 months ago rmiller
      Participant

      Expired

      I just wanted to check in on this topic to see if you can provide any additional assistance.

      Thanks.

    • 7 years, 11 months ago Mirela
      Participant

      Hello,

      Sorry for the late reply.
      To reverse back the default WordPress function for the comments styling, in file includes\view\blog\comments.php find this line:
      wp_list_comments( array( 'type'=> 'comment', 'callback' => 'codeless_custom_comment' ) );
      Replace with this:
      wp_list_comments( array( 'type'=> 'comment', 'callback' => '' ) );
      Save changes.

      Best regards!

    • 7 years, 11 months ago rmiller
      Participant

      Expired

      Excellent!

      I appreciate the help. That took care of it.

Viewing 7 reply threads

You must be logged in to reply to this topic.

Login

Log In
Register

Renew Support

  • Renew Specular Support
  • Renew Tower Support
  • Renew Folie Support
  • Renew Handel Support
  • Renew June Support
  • Renew Picante Support
  • Renew Thype Support
  • Renew Regn Support

Search Forums

Forums

  • Bygge – Construction Theme
  • Converta – Software Theme
  • Folie – The WordPress Website Builder
  • Handel – Responsive Multi-Purpose Business Theme
  • June WooCommerce WordPress Theme
  • Livecast – Podcast Theme
  • Picante – Restaurant & Food WordPress Theme
  • Regn | Agency & Business WordPress Theme
  • Remake – Minimal Portfolio & Agency Theme
  • Specular – Multi-Purpose WordPress Theme
  • Suggest us Features
  • Tower – Business-Driven Multipurpose WP Theme
  • Vibrance – Photography Theme

Site Links

  • Support Policy
  • Specular Support Forum
  • Video Tutorials
  • Knowledge Base
  • Guides and Reviews

Useful Articles

  • Build a Website
  • Web Design & Development
  • Hosting
  • WordPress

Login

Log In
Register Lost Password