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

  1. son0fhobs
    Posted 2 years 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.


  2. Pär Thernström
    Plugin Author

    Posted 2 years 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

  • CMS Tree Page View
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic