Reputation
Top tag
Next privilege 50 Rep.
Comment everywhere
Badges
5
Newest
 Tumbleweed
Impact
~463 people reached

  • 0 posts edited
  • 0 helpful flags
  • 4 votes cast
Dec
31
awarded  Tumbleweed
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
11
comment Page reload occurs before request finishes
's could you please elaborate on your "using ajaxForm instead" answer? Did you simply use it instead of .post? To me the documentation is not clear on the ajaxForm plugin site and how to use the action: option (which I think is an invention of wordpress. Thanks, Ron
Dec
30
awarded  Student
Dec
30
asked How do I use the WP image functions in a page template?