The tag has no wiki summary.

learn more… | top users | synonyms

2
votes
1answer
79 views

update_post_meta not saving when value is zero

I have a problem with the update_post_meta function. I have a user submitted value, which I pass via $_POST and then saving to post meta. All is working fine, but when the value is '0' the post meta ...
0
votes
1answer
29 views

WordPress front-end media (image) upload ERROR!

I pasted my codes HERE in Pastebin. Thing is that, I have posts, where the post thumbnail is the first image and the custom fields are used to store the other 3 images of the post. The form fields ...
0
votes
1answer
57 views

Function is Missing an Action Hook

I have tied an action into a status change, which works on the backend. However,using a frontend button for updating post status does not trigger the ...
0
votes
1answer
87 views

How to update post meta with xml data

I am trying to get this to work, but it doesn't. What is wrong? $tutorgeocodesrc = "http://where.yahooapis.com/geocode?location=" . urlencode($tutoraddressfull) . "&appid=..."; $tutorgeocode = ...
1
vote
0answers
34 views

Copying Custom Meta Values from existing post to a duplicate post

I'm trying to revise an existing WP plugin BU Versions to accept different custom meta field values from items I've set-up using the Advanced Custom Fields (ACF) plugin. BU Versions will copy over ...
1
vote
0answers
40 views

How to prevent further updates of custom meta when using actions to set one meta based on another

I'm using rilwis' Meta Box plugin (see https://github.com/rilwis/meta-box) to add custom meta boxes to a custom post type. I then want to populate one piece of meta data based on the value of ...
0
votes
0answers
33 views

Select Options Meta Data is Not Updating in Edit Meta Box

I have a Meta box with two user inputs 1: Text-field and 2:a Select drop Down options. I used following Save Method in mt Meta box and second part of the code belong to saving the Selected option from ...
0
votes
0answers
43 views

Wordpress custom field being lost on wp_update_post, with a twist

I'm using wp_update_post to programmatically add a title and tags to posts from the front end. I'm running into a hair-tearing issue with custom fields in the process: one of the two custom fields ...
0
votes
0answers
30 views

wp_schedule_event not working

I am trying to make a scheduled event which trigger two 'update_post_meta' registered in function_1 and function_2. Here is the code I have so far. function function_1($post_ID=0){ ~~~~ ...
0
votes
0answers
48 views

Scheduled Post Meta Update in Wordpress

I have a system that sums up values from various sources and pass those to post_meta in order to query posts in accordance with the order of meta_value_num. I was successful at passing those value to ...
0
votes
0answers
36 views

editing check box value

I have custom meta fields that users fill out through a form. I then have a second form that loads the data they posted and updates it if they want to make changes using update_post_meta. It works ...