[wp-hackers] ajax and posts

Roman Sharf pencilking2002 at gmail.com
Mon May 21 12:06:29 UTC 2012


I have been trying to figure this one out for a while, but to no avail.

How can I I retrieve posts via ajax? Specifically, I would like to click a
button on a page, which would send an ajax request to another page which
has a custom loop and get the results back and spit them out. Also, do I
have to load the wordpress environment manually on the page I am requesting
from(So that the loop will work)?

Thank you in advance!

-- 
"Only put off until tomorrow what you are willing to die having left
undone." -Pablo Picasso
www.romansharf.com
www.romansharf.com/sketchnow


More information about the wp-hackers mailing list