WordPress.org

Ready to get started?Download WordPress

Forums

JSON API
Child/threaded comments (1 post)

  1. centrecircle
    Member
    Posted 1 year ago #

    I posted this earlier without tagging it to the plugin support page, apologies.

    I'm struggling to implement threaded comments in my app using the WordPress JSON API. Comment replies are shown as standard comments in the list, but I want replies to show directly after their parent, as they show on my site.

    So instead of:
    Comment one
    Comment two
    Reply to comment one

    I want:
    Comment one
    Reply to comment one
    Comment two

    I'm sure this is do-able as the parent ID is passed to the child comment, but I'm struggling to work out just how I'd go about it?

    http://wordpress.org/extend/plugins/json-api/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic