Tagged Questions
1
vote
0answers
23 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 ...
0
votes
0answers
28 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
1answer
39 views
Create a new custom field for all posts based on current custom field
I have a custom field for a large number of posts that contains the url for a youtube video. I used to grab the ID from the video and use that to build the thumb but in a new version I'm actually ...
3
votes
1answer
126 views
Storing meta fields multiple times OR once with multi dimensional array?
I got some options that I expand using a repeater type field. The values I save for each field is already an array so in essence I'm saving a multi dimentional array per option. (See this weekly ...
1
vote
1answer
307 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
...
1
vote
0answers
134 views
Save modified Custom Field content into another Custom Field on article save [closed]
In my articles I allow editors to enter a date in a human readable dd.mm.yyyy format into a custom field. But I also need this date as unix timestamp in the DB. So I wrote a function which takes the ...
1
vote
1answer
625 views
Custom field values deleted when trashing custom post type
I've created a custom post type with 2 custom fields attached to it... When I create a post of this type and fill in the custom fields, the data is, in fact, saved to the db... However, if I trash one ...