Home / Hacks

Category: Hacks

  • Autocomplete solution with jQuery and WordPress REST API

    With the help of WordPress REST API search request we can get the results and pass them to jQuery’s label and id. For custom post types parameter subtype is used. Parameters for the GET request are: Complete jQuery autocomplete example: Additional info for the search request options here:

  • Upload file in Dropbox via PHP and cURL

    The first thing of course is to have a valid Dropbox account and basic understanding of how a cURL request is built in PHP. Very helpful is the the Dropbox API Explorer where you can try various API calls and see the requests and the results. After you are sure that everything is working fine […]