Tagged Questions
0
votes
1answer
19 views
Update Custom Field on Imported Post Creation
So I've created a function that updates several custom fields in a post when the post is created. The idea is to sanitize this information so that I can easily use it for other purposes. The ...
0
votes
1answer
99 views
Save selected item from dropdown menu in a meta box as a metadata value for a custom post type
I have been beating my brains on this one for days now and my Google-fu is failing me.
I have created a custom meta box with a dropdown menu that lists all of the terms from a custom taxonomy. What I ...
0
votes
1answer
166 views
save_post action inside a custom metabox class not working
I am writing a class to create metaboxes and save the form data. The problem is, I keep getting a warning when I click "publish":
Warning: call_user_func_array() expects parameter 1 to be a valid ...
1
vote
1answer
284 views
How can i create a function to get youtube video time
Tom J Nowell posted this code to help me retrieve the YouTube video time.
Functions
// function to parse the code from the URL
function parse_youtube_video_id_from_url( $video_url ) {
...
0
votes
1answer
63 views
How to extend the page editor?
I'm really a newbie to WordPress.
I can edit the page via admin Page menu. There is a form submitted on that page. How can I write my own functions to handle this form submission?
In other words, how ...
2
votes
1answer
453 views
Why is my custom meta box input not saving
I've added the following function to functions.php to add a custom meta box enabling the end user to input a gallery shortcode. I then intend to use this to place a gallery in a specific place on the ...
