• Resolved citybeat

    (@citybeat)


    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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • 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

    Thread Starter citybeat

    (@citybeat)

    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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘how to change ol class="commentlist" –> ul id="commentlist’ is closed to new replies.