Tagged Questions
0
votes
1answer
64 views
Change Post Meta via AJAX from the posts list table
I've been looking around for this for a while but haven't found anything as of yet.
I have a custom post type - "books" and this post type has a custom meta field of "availability".
I would like to ...
0
votes
0answers
12 views
How to add a new custom field by AJAX?
Just like AJAX_in_Plugins and previous question update-custom-field-meta-value:
jQuery.post(ajaxurl, data, function(response) {
// update the custom field value without reload ??
});
I make ...
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 ...
4
votes
1answer
100 views
Prevent reload confirmation after AJAX save
I am saving information in the admin panel via ajax. The problem I'm running in to is the "Are you sure you want to navigate away from this page" popup appear, even though everything has been saved. ...
1
vote
1answer
308 views
Use ajax to update_post_meta
2 days ago I asked this then I tried to work on my code to be able to understand how ajax and php work and now I have a new issue that, probably would be easily solved.
These are my codes:
<?php
...
0
votes
1answer
322 views
Front-end update_post_meta with ajax
as written in title I'm trying to update a post_meta using Ajax.
Actually I'm a complete newbie to Ajax and how it works so, if it is possible, I would appreciate if someone could 'take me by hand' ...
1
vote
1answer
110 views
making sense of admin-ajax
So I'm working with ThemeTrust's "reveal" theme, and there is an ajaxed in chunk-of-content that I'm really trying to change (grab custom meta fields (images) + insert into a slideshow). As far as I ...
0
votes
1answer
78 views
grab or load text on demand
What i want to do
I want some content (could be stored any where in a post or custom field) to load only when the user clicks for it to load. This content could be any thing (text,images,html etc) ...
0
votes
1answer
744 views
ajax jquery update custom field meta value front end
There is probably a much easier way to do this. After much trial and error trying to get a postid from a url, I've opted to add the id to the permalink. However I have no idea how the custom value ...
1
vote
1answer
542 views
load custom fields on click
I have too much data stored in custom fields which I don't want to fetch on page-load, instead I'd give the user the opportunity to load the custom field values on click, possibly with ajax.
Is ...
0
votes
1answer
314 views
Custom field bug in Wordpress 3.2
I have a question.
I just installed Wordpress 3.2. And ever since then, when I want to add a custom field, precisely when I clicked on "Add custom field", my page is refreshed. And no custom field is ...
0
votes
1answer
369 views
Custom post type's extra fields - how to handle?
I've refrained from asking this question for a couple weeks, as I wasn't completely certain what I wanted cleared up... think I got it.
I'm in the process of putting together a plugin to run a ...
0
votes
1answer
973 views
Automate post update for all posts?
I have managed to fill custom fields with certain predefined values of all my post, but the changes don't take effect until I manually update the posts.
Example:
// Predefined variable and value
...
1
vote
3answers
329 views
Wordpress: custom field display twice
I have a little bug on my WordPress...
When I added a custom field, I have no ajax, I need to saved the draft or publish to see the update.
And after I saved my post, the custom field display twice.
...