Tagged Questions
0
votes
1answer
95 views
Trying to implement AJAX into my admin pages. Am I improperly enqueue and localizing my scripts?
I'm trying to implement AJAX into my post edit form in order to hook a custom wp function into a link click. So far I've been able to register my custom js file into my admin header. However when ...
2
votes
1answer
333 views
Metabox cloning via Admin Ajax call issue
I've created a fairly simple class for handing the creation of metaboxes within wordpress admin.
I've set up the class so that each instance of the class represents an new metabox definition. Each ...
0
votes
1answer
58 views
Custom loop attached to link
I have a custom post type named companies. When you add a new company you need to check if it's a leader or not, so I created custom metabox with two radios, one for "yes" and another for "no".
In ...
2
votes
2answers
544 views
Why can't I hook into save_posts after admin_init?
I'm trying to hook into the "save_post" action from an AJAX callback in my plugin, but it doesn't seem to work. In fact, hooking into "save_posts" only seems to work from a few key action execution ...
1
vote
1answer
173 views
Dashboard - get status and position of metaboxes and pass them to ajax method
I'm wondering if it's possible to get status and position of metaboxes added to a dashboard-like page.
The main page of my plugin has several metaboxes laying in a two-columns page and a "table of ...
5
votes
2answers
1k views
post formats - how to switch meta boxes when changing format?
Problem
After realizing that post formats are pretty popular, but only a extremly rough drawn concept, i see that users will run into possible traps.
Post format ...
uses post meta fields & ...
2
votes
2answers
1k views
Custom Metabox with Ajax in Edit Post - Stuck
I'm trying to create a custom meta box with multiple text fields. The idea is that there is initially one text box, then you can click the button 'Add New' and a another text box is added (using Ajax; ...