• Resolved MrJKConnor

    (@mrjkconnor)


    I was wondering if there is some way to make tables work the same way as the paragraphs and lists do, so users can comment on them individually.

    If there is not could you point me to the place in the code that makes other elements comment-able.

    I am proficient in PHP so I could make changes myself.

    https://wordpress.org/plugins/commentpress-core/

Viewing 1 replies (of 1 total)
  • Plugin Author Christian Wach

    (@needle)

    @mrjkconnor, you’ll find the parser class in the plugin. It’s called class_commentpress_parser.php. However, I would strongly advise against modifying the core plugin. A simpler way to achieve what you want is to use the <!--commentblock--> quicktag. Place one of those as a separator between every “block” of content that you want to be commentable. These blocks can contain any number of top-level elements but cannot be used to (for example) split lists. Also bear in mind that once there is a <!--commentblock--> quicktag present, automatic parsing does not happen, so you will have to divide the content with quicktags the way you want it.

Viewing 1 replies (of 1 total)

The topic ‘Making tables comment-able’ is closed to new replies.