Forums

PTM AJAX Comments
[resolved] how to change ol class="commentlist" --> ul id="commentlist (3 posts)

  1. citybeat
    Member
    Posted 11 months ago #

    Hi, When I use custom theme on wp, I have a small problem:
    In default PTM AJAX Comments plugin use "<ol class="commentlist">" on commentlist, but how to change it like: <ul id="commentlist">?
    Thanks.

  2. Peter Michael
    Member
    Posted 11 months ago #

    The easier way would be to change your themes <ul id="commentlist"> to <ol class="commentlist">.

    You can, however, use ptm-ajax-comments.dev.js and make the appropriate changes at line 200. Rename ptm-ajax-comments.js to ptm-ajax-comments.min.js and similarly rename ptm-ajax-comments.dev.js to ptm-ajax-comments.js and you should be good to go.

    Be aware that your changes will be lost whenever you update the plugin with the WordPress updater.

    HTH

  3. citybeat
    Member
    Posted 11 months ago #

    Thanks for your help, and I hope ptm ajax comments can support more choices for users to define their custom type comment list in next version.
    I would appreciate it if you would add this function.

Reply

You must log in to post.

About this Plugin

About this Topic