36 reputation
5
bio website
location
age
visits member for 2 years, 4 months
seen Feb 5 at 16:13

Dec
31
awarded  Tumbleweed
Dec
24
asked How to exclude a taxonomy term using url alone
Jul
23
awarded  Editor
Jul
23
revised How to use update_post_meta inside wp_trash_post
added 1 characters in body
Jul
23
comment How to use update_post_meta inside wp_trash_post
That makes sense. So what would you do in this case to save any changes to the meta data before the post is trashed? I'm using "trash" as a valid status, and want to preserve those last-second changes. The data I'm actually saving is a text message about why the post was trashed, but the example I gave was simpler.
Jul
23
asked How to use update_post_meta inside wp_trash_post
Apr
28
answered Custom URL parameters in template files
Mar
2
awarded  Scholar
Mar
2
comment How do I use the WP image functions in a page template?
I did ... I hope correctly.
Mar
2
accepted How do I use the WP image functions in a page template?
Mar
2
answered How do I use the WP image functions in a page template?
Mar
2
awarded  Supporter
Mar
2
comment How do I use the WP image functions in a page template?
Thanks for the suggestion Rarst. I'm pretty good at dissecting other working examples so the answer below from @whatsthebigidea is very helpful. With that said, since I posted this 2 months ago, I have made great strides and actually have a working wordpress page template that does almost everything I need. The two key things I was missing was the realization that those javascript libs must be literally enqueued on the user-facing page that I intend to use them, and just experience on the mechanics of sending data between javascript and php by means of ajax and json.
Jan
12
answered Not sure why wp_ajax isn't working?
Jan
11
answered Page reload occurs before request finishes
Dec
30
awarded  Student
Dec
30
asked How do I use the WP image functions in a page template?