Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I need to add a check-in feature (very similar to foursquare check-in) in worpress based site.

There will be "Check in" button at the top of the web site, and clicking on it the visitor will be presented with a list of places.

  1. Can somebody guide me to decide which one is more suitable for wordpress architecture?

    i. Clicking the "Check-in" button, make an AJAX call and present the list of places as a modal dialog. ii. Clicking the "Check-in" button, present a Worpress page with list of places and a submit button.

  2. Where should I host the server side API? Use Wordpress XML RPC or as a separate API application(May be on a different server and cross site AJAX call can be made via php-curl proxy)?

share|improve this question

1 Answer 1

up vote 1 down vote accepted

I would use an AJAX call + modal dialog.

And for the API, just create a plugin, and follow the steps on this page to create your own custom ajax action.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.