WordPress.org

Ready to get started?Download WordPress

Forums

CMS Tree Page View
Developer - Code, ajax, & post retrival? - fixing ajax error retrie (2 posts)

  1. son0fhobs
    Member
    Posted 1 year ago #

    I'm completely befuddled. Why is entire built with ajax and why is the database search directly rather than use wp api? Shouldn't it be built with php up front, build in the children, just make them hidden, and only use ajax for modifying info?

    When searching for children, it only searches post type pages, which means it doesn't cover custom post types.

    if you query the posts with wordpress api, it would take care of that, and a whole bunch of other issues bound to arise.

    get_posts($args) or query_posts($args) would do the trick.

    Any chance you could post it on github so I can submit edits? Or should I put them here? Or do you have another place I could send them? Either way, I'm only going to fix that one issue, but it really needs to be fixed throughout the entire plugin.

    http://wordpress.org/extend/plugins/cms-tree-page-view/

  2. Pär Thernström
    Member
    Plugin Author

    Posted 1 year ago #

    Thanks for the feedback. No GitHub for now, but please feel free to post the code here on email me at par.thernstrom@gmail.com.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic